/*! For license information please see main.d0969876351609081949.chunk.js.LICENSE.txt */ (window.webpackJsonp=window.webpackJsonp||[]).push([[0],{0:function(e,t){},"000e687100360508b435":function(e,t,l){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(e){return"@@redux-saga/"+e},r=n("CANCEL_PROMISE"),a=n("CHANNEL_END"),o=n("IO"),i=n("MATCH"),s=n("MULTICAST"),c=n("SAGA_ACTION"),u=n("SELF_CANCELLATION"),d=n("TASK"),f=n("TASK_CANCEL"),p=n("TERMINATE"),h=n("LOCATION");t.CANCEL=r,t.CHANNEL_END_TYPE=a,t.IO=o,t.MATCH=i,t.MULTICAST=s,t.SAGA_ACTION=c,t.SAGA_LOCATION=h,t.SELF_CANCELLATION=u,t.TASK=d,t.TASK_CANCEL=f,t.TERMINATE=p},"002804eaebe08a8169b6":function(e,t,l){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PhotoshopPicker=void 0;var n=i(l("8af190b70a6bc55c6f1b")),r=i(l("608c27659c3f9bc71af5")),a=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&(t[l]=e[l]);return t.default=e,t}(l("dd2851c8aa973ffe308b")),o=l("cdbdceb308980cb97c93");function i(e){return e&&e.__esModule?e:{default:e}}var s=t.PhotoshopPicker=function(e){var t=e.onChange,l=e.rgb,i=e.hsv,s=e.hex,c=(0,r.default)({default:{fields:{paddingTop:"5px",paddingBottom:"9px",width:"80px",position:"relative"},divider:{height:"5px"},RGBwrap:{position:"relative"},RGBinput:{marginLeft:"40%",width:"40%",height:"18px",border:"1px solid #888888",boxShadow:"inset 0 1px 1px rgba(0,0,0,.1), 0 1px 0 0 #ECECEC",marginBottom:"5px",fontSize:"13px",paddingLeft:"3px",marginRight:"10px"},RGBlabel:{left:"0px",top:"0px",width:"34px",textTransform:"uppercase",fontSize:"13px",height:"18px",lineHeight:"22px",position:"absolute"},HEXwrap:{position:"relative"},HEXinput:{marginLeft:"20%",width:"80%",height:"18px",border:"1px solid #888888",boxShadow:"inset 0 1px 1px rgba(0,0,0,.1), 0 1px 0 0 #ECECEC",marginBottom:"6px",fontSize:"13px",paddingLeft:"3px"},HEXlabel:{position:"absolute",top:"0px",left:"0px",width:"14px",textTransform:"uppercase",fontSize:"13px",height:"18px",lineHeight:"22px"},fieldSymbols:{position:"absolute",top:"5px",right:"-7px",fontSize:"13px"},symbol:{height:"20px",lineHeight:"22px",paddingBottom:"7px"}}}),u=function(e,n){e["#"]?a.isValidHex(e["#"])&&t({hex:e["#"],source:"hex"},n):e.r||e.g||e.b?t({r:e.r||l.r,g:e.g||l.g,b:e.b||l.b,source:"rgb"},n):(e.h||e.s||e.v)&&t({h:e.h||i.h,s:e.s||i.s,v:e.v||i.v,source:"hsv"},n)};return n.default.createElement("div",{style:c.fields},n.default.createElement(o.EditableInput,{style:{wrap:c.RGBwrap,input:c.RGBinput,label:c.RGBlabel},label:"h",value:Math.round(i.h),onChange:u}),n.default.createElement(o.EditableInput,{style:{wrap:c.RGBwrap,input:c.RGBinput,label:c.RGBlabel},label:"s",value:Math.round(100*i.s),onChange:u}),n.default.createElement(o.EditableInput,{style:{wrap:c.RGBwrap,input:c.RGBinput,label:c.RGBlabel},label:"v",value:Math.round(100*i.v),onChange:u}),n.default.createElement("div",{style:c.divider}),n.default.createElement(o.EditableInput,{style:{wrap:c.RGBwrap,input:c.RGBinput,label:c.RGBlabel},label:"r",value:l.r,onChange:u}),n.default.createElement(o.EditableInput,{style:{wrap:c.RGBwrap,input:c.RGBinput,label:c.RGBlabel},label:"g",value:l.g,onChange:u}),n.default.createElement(o.EditableInput,{style:{wrap:c.RGBwrap,input:c.RGBinput,label:c.RGBlabel},label:"b",value:l.b,onChange:u}),n.default.createElement("div",{style:c.divider}),n.default.createElement(o.EditableInput,{style:{wrap:c.HEXwrap,input:c.HEXinput,label:c.HEXlabel},label:"#",value:s.replace("#",""),onChange:u}),n.default.createElement("div",{style:c.fieldSymbols},n.default.createElement("div",{style:c.symbol},"\xb0"),n.default.createElement("div",{style:c.symbol},"%"),n.default.createElement("div",{style:c.symbol},"%")))};t.default=s},"00f57ecbb6b5a4cfca6b":function(e,t,l){function n(e){var l;function n(){if(n.enabled){var e=n,r=+new Date,a=r-(l||r);e.diff=a,e.prev=l,e.curr=r,l=r;for(var o=new Array(arguments.length),i=0;i0&&void 0!==arguments[0]&&arguments[0],t=null;try{return void(0!==o.length&&(t=o.pop()).focus({preventScroll:e}))}catch(e){console.warn(["You tried to return focus to",t,"but it is not in the DOM anymore"].join(" "))}},t.popWithoutFocus=function(){o.length>0&&o.pop()},t.setupScopedFocus=function(e){i=e,window.addEventListener?(window.addEventListener("blur",c,!1),document.addEventListener("focus",u,!0)):(window.attachEvent("onBlur",c),document.attachEvent("onFocus",u))},t.teardownScopedFocus=function(){i=null,window.addEventListener?(window.removeEventListener("blur",c),document.removeEventListener("focus",u)):(window.detachEvent("onBlur",c),document.detachEvent("onFocus",u))};var n,r=l("946c421bbd773ef0a0b8"),a=(n=r)&&n.__esModule?n:{default:n};var o=[],i=null,s=!1;function c(){s=!0}function u(){if(s){if(s=!1,!i)return;setTimeout((function(){i.contains(document.activeElement)||((0,a.default)(i)[0]||i).focus()}),0)}}},"01eb5759686942339f98":function(e,t,l){"use strict";l.r(t);var n=l("98bae3dbabd51089d613"),r=l("8af190b70a6bc55c6f1b");function a(e,t){return"function"===typeof e?e(t):e&&(e.current=t),e}var o="undefined"!==typeof window?r.useLayoutEffect:r.useEffect,i=new WeakMap;function s(e,t){var l,n,s,c=(l=t||null,n=function(t){return e.forEach((function(e){return a(e,t)}))},(s=Object(r.useState)((function(){return{value:l,callback:n,facade:{get current(){return s.value},set current(e){var t=s.value;t!==e&&(s.value=e,s.callback(e,t))}}}}))[0]).callback=n,s.facade);return o((function(){var t=i.get(c);if(t){var l=new Set(t),n=new Set(e),r=c.current;l.forEach((function(e){n.has(e)||a(e,null)})),n.forEach((function(e){l.has(e)||a(e,r)}))}i.set(c,e)}),[e]),c}var c=l("f4049c5ad4b4240097d1"),u=Object(c.createSidecarMedium)(),d=function(){},f=r.forwardRef((function(e,t){var l=r.useRef(null),a=r.useState({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:d}),o=a[0],i=a[1],c=e.forwardProps,f=e.children,p=e.className,h=e.removeScrollBar,m=e.enabled,g=e.shards,y=e.sideCar,v=e.noRelative,b=e.noIsolation,w=e.inert,x=e.allowPinchZoom,k=e.as,S=void 0===k?"div":k,C=e.gapMode,O=Object(n.__rest)(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),M=y,_=s([l,t]),E=Object(n.__assign)(Object(n.__assign)({},O),o);return r.createElement(r.Fragment,null,m&&r.createElement(M,{sideCar:u,removeScrollBar:h,shards:g,noRelative:v,noIsolation:b,inert:w,setCallbacks:i,allowPinchZoom:!!x,lockRef:l,gapMode:C}),c?r.cloneElement(r.Children.only(f),Object(n.__assign)(Object(n.__assign)({},E),{ref:_})):r.createElement(S,Object(n.__assign)({},E,{className:p,ref:_}),f))}));f.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},f.classNames={fullWidth:"width-before-scroll-bar",zeroRight:"right-scroll-bar-position"};var p=l("2255d654b1a6bb9f1a33");var h=function(){var e=0,t=null;return{add:function(l){var n,r;0==e&&(t=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=Object(p.getNonce)();return t&&e.setAttribute("nonce",t),e}())&&(r=l,(n=t).styleSheet?n.styleSheet.cssText=r:n.appendChild(document.createTextNode(r)),function(e){(document.head||document.getElementsByTagName("head")[0]).appendChild(e)}(t)),e++},remove:function(){!--e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},m=function(){var e,t=(e=h(),function(t,l){r.useEffect((function(){return e.add(t),function(){e.remove()}}),[t&&l])});return function(e){var l=e.styles,n=e.dynamic;return t(l,n),null}},g={left:0,top:0,right:0,gap:0},y=function(e){return parseInt(e||"",10)||0},v=function(e){if(void 0===e&&(e="margin"),"undefined"===typeof window)return g;var t=function(e){var t=window.getComputedStyle(document.body),l=t["padding"===e?"paddingLeft":"marginLeft"],n=t["padding"===e?"paddingTop":"marginTop"],r=t["padding"===e?"paddingRight":"marginRight"];return[y(l),y(n),y(r)]}(e),l=document.documentElement.clientWidth,n=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,n-l+t[2]-t[0])}},b=m(),w="data-scroll-locked",x=function(e,t,l,n){var r=e.left,a=e.top,o=e.right,i=e.gap;return void 0===l&&(l="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(n,";\n padding-right: ").concat(i,"px ").concat(n,";\n }\n body[").concat(w,"] {\n overflow: hidden ").concat(n,";\n overscroll-behavior: contain;\n ").concat([t&&"position: relative ".concat(n,";"),"margin"===l&&"\n padding-left: ".concat(r,"px;\n padding-top: ").concat(a,"px;\n padding-right: ").concat(o,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(i,"px ").concat(n,";\n "),"padding"===l&&"padding-right: ".concat(i,"px ").concat(n,";")].filter(Boolean).join(""),"\n }\n \n .").concat("right-scroll-bar-position"," {\n right: ").concat(i,"px ").concat(n,";\n }\n \n .").concat("width-before-scroll-bar"," {\n margin-right: ").concat(i,"px ").concat(n,";\n }\n \n .").concat("right-scroll-bar-position"," .").concat("right-scroll-bar-position"," {\n right: 0 ").concat(n,";\n }\n \n .").concat("width-before-scroll-bar"," .").concat("width-before-scroll-bar"," {\n margin-right: 0 ").concat(n,";\n }\n \n body[").concat(w,"] {\n ").concat("--removed-body-scroll-bar-size",": ").concat(i,"px;\n }\n")},k=function(){var e=parseInt(document.body.getAttribute(w)||"0",10);return isFinite(e)?e:0},S=function(e){var t=e.noRelative,l=e.noImportant,n=e.gapMode,a=void 0===n?"margin":n;r.useEffect((function(){return document.body.setAttribute(w,(k()+1).toString()),function(){var e=k()-1;e<=0?document.body.removeAttribute(w):document.body.setAttribute(w,e.toString())}}),[]);var o=r.useMemo((function(){return v(a)}),[a]);return r.createElement(b,{styles:x(o,!t,a,l?"":"!important")})},C=!1;if("undefined"!==typeof window)try{var O=Object.defineProperty({},"passive",{get:function(){return C=!0,!0}});window.addEventListener("test",O,O),window.removeEventListener("test",O,O)}catch(e){C=!1}var M=!!C&&{passive:!1},_=function(e,t){if(!(e instanceof Element))return!1;var l=window.getComputedStyle(e);return"hidden"!==l[t]&&!(l.overflowY===l.overflowX&&!function(e){return"TEXTAREA"===e.tagName}(e)&&"visible"===l[t])},E=function(e,t){var l=t.ownerDocument,n=t;do{if("undefined"!==typeof ShadowRoot&&n instanceof ShadowRoot&&(n=n.host),P(e,n)){var r=A(e,n);if(r[1]>r[2])return!0}n=n.parentNode}while(n&&n!==l.body);return!1},P=function(e,t){return"v"===e?function(e){return _(e,"overflowY")}(t):function(e){return _(e,"overflowX")}(t)},A=function(e,t){return"v"===e?[(l=t).scrollTop,l.scrollHeight,l.clientHeight]:function(e){return[e.scrollLeft,e.scrollWidth,e.clientWidth]}(t);var l},T=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},j=function(e){return[e.deltaX,e.deltaY]},D=function(e){return e&&"current"in e?e.current:e},I=function(e){return"\n .block-interactivity-".concat(e," {pointer-events: none;}\n .allow-interactivity-").concat(e," {pointer-events: all;}\n")},N=0,L=[];function R(e){for(var t=null;null!==e;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}var B=Object(c.exportSidecar)(u,(function(e){var t=r.useRef([]),l=r.useRef([0,0]),a=r.useRef(),o=r.useState(N++)[0],i=r.useState(m)[0],s=r.useRef(e);r.useEffect((function(){s.current=e}),[e]),r.useEffect((function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var t=Object(n.__spreadArray)([e.lockRef.current],(e.shards||[]).map(D),!0).filter(Boolean);return t.forEach((function(e){return e.classList.add("allow-interactivity-".concat(o))})),function(){document.body.classList.remove("block-interactivity-".concat(o)),t.forEach((function(e){return e.classList.remove("allow-interactivity-".concat(o))}))}}}),[e.inert,e.lockRef.current,e.shards]);var c=r.useCallback((function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!s.current.allowPinchZoom;var n,r=T(e),o=l.current,i="deltaX"in e?e.deltaX:o[0]-r[0],c="deltaY"in e?e.deltaY:o[1]-r[1],u=e.target,d=Math.abs(i)>Math.abs(c)?"h":"v";if("touches"in e&&"h"===d&&"range"===u.type)return!1;var f=window.getSelection(),p=f&&f.anchorNode;if(!!p&&(p===u||p.contains(u)))return!1;var h=E(d,u);if(!h)return!0;if(h?n=d:(n="v"===d?"h":"v",h=E(d,u)),!h)return!1;if(!a.current&&"changedTouches"in e&&(i||c)&&(a.current=n),!n)return!0;var m=a.current||n;return function(e,t,l,n,r){var a=function(e,t){return"h"===e&&"rtl"===t?-1:1}(e,window.getComputedStyle(t).direction),o=a*n,i=l.target,s=t.contains(i),c=!1,u=o>0,d=0,f=0;do{if(!i)break;var p=A(e,i),h=p[0],m=p[1]-p[2]-a*h;(h||m)&&P(e,i)&&(d+=m,f+=h);var g=i.parentNode;i=g&&g.nodeType===Node.DOCUMENT_FRAGMENT_NODE?g.host:g}while(!s&&i!==document.body||s&&(t.contains(i)||t===i));return(u&&(r&&Math.abs(d)<1||!r&&o>d)||!u&&(r&&Math.abs(f)<1||!r&&-o>f))&&(c=!0),c}(m,t,e,"h"===m?i:c,!0)}),[]),u=r.useCallback((function(e){var l=e;if(L.length&&L[L.length-1]===i){var n="deltaY"in l?j(l):T(l),r=t.current.filter((function(e){return e.name===l.type&&(e.target===l.target||l.target===e.shadowParent)&&(t=e.delta,r=n,t[0]===r[0]&&t[1]===r[1]);var t,r}))[0];if(r&&r.should)l.cancelable&&l.preventDefault();else if(!r){var a=(s.current.shards||[]).map(D).filter(Boolean).filter((function(e){return e.contains(l.target)}));(a.length>0?c(l,a[0]):!s.current.noIsolation)&&l.cancelable&&l.preventDefault()}}}),[]),d=r.useCallback((function(e,l,n,r){var a={name:e,delta:l,target:n,should:r,shadowParent:R(n)};t.current.push(a),setTimeout((function(){t.current=t.current.filter((function(e){return e!==a}))}),1)}),[]),f=r.useCallback((function(e){l.current=T(e),a.current=void 0}),[]),p=r.useCallback((function(t){d(t.type,j(t),t.target,c(t,e.lockRef.current))}),[]),h=r.useCallback((function(t){d(t.type,T(t),t.target,c(t,e.lockRef.current))}),[]);r.useEffect((function(){return L.push(i),e.setCallbacks({onScrollCapture:p,onWheelCapture:p,onTouchMoveCapture:h}),document.addEventListener("wheel",u,M),document.addEventListener("touchmove",u,M),document.addEventListener("touchstart",f,M),function(){L=L.filter((function(e){return e!==i})),document.removeEventListener("wheel",u,M),document.removeEventListener("touchmove",u,M),document.removeEventListener("touchstart",f,M)}}),[]);var g=e.removeScrollBar,y=e.inert;return r.createElement(r.Fragment,null,y?r.createElement(i,{styles:I(o)}):null,g?r.createElement(S,{noRelative:e.noRelative,gapMode:e.gapMode}):null)})),F=r.forwardRef((function(e,t){return r.createElement(f,Object(n.__assign)({},e,{ref:t,sideCar:B}))}));F.classNames=f.classNames;var z=F;l.d(t,"RemoveScroll",(function(){return z}))},"021c21eea8a24c5dfc4e":function(e,t,l){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,r,a=i(l("ef9b7114accb11c5822b")),o=i(l("e130b6eb98e4dd103350"));function i(e){return e&&e.__esModule?e:{default:e}}var s=0,c=0;var u=function(e,t,l){var i=t&&l||0,u=t||[],d=(e=e||{}).node||n,f=void 0!==e.clockseq?e.clockseq:r;if(null==d||null==f){var p=e.random||(e.rng||a.default)();null==d&&(d=n=[1|p[0],p[1],p[2],p[3],p[4],p[5]]),null==f&&(f=r=16383&(p[6]<<8|p[7]))}var h=void 0!==e.msecs?e.msecs:(new Date).getTime(),m=void 0!==e.nsecs?e.nsecs:c+1,g=h-s+(m-c)/1e4;if(g<0&&void 0===e.clockseq&&(f=f+1&16383),(g<0||h>s)&&void 0===e.nsecs&&(m=0),m>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");s=h,c=m,r=f;var y=(1e4*(268435455&(h+=122192928e5))+m)%4294967296;u[i++]=y>>>24&255,u[i++]=y>>>16&255,u[i++]=y>>>8&255,u[i++]=255&y;var v=h/4294967296*1e4&268435455;u[i++]=v>>>8&255,u[i++]=255&v,u[i++]=v>>>24&15|16,u[i++]=v>>>16&255,u[i++]=f>>>8|128,u[i++]=255&f;for(var b=0;b<6;++b)u[i+b]=d[b];return t||(0,o.default)(u)};t.default=u,e.exports=t.default},"026fa72aba871a7fa9f3":function(e,t,l){"use strict";var n=l("8e6d34d5e2b1c9c449c0");t.__esModule=!0,t.default=void 0;var r=n(l("2c62cf50f9b98ad5e2af")),a=n(l("84ed169f5b76a6b15fc0")),o=n(l("b912ecc4473ae8a2ff0b")),i=n(l("8af190b70a6bc55c6f1b")),s=l("de45080f617146192f27"),c=["bsPrefix","fluid","as","className"],u=i.default.forwardRef((function(e,t){var l=e.bsPrefix,n=e.fluid,u=e.as,d=void 0===u?"div":u,f=e.className,p=(0,a.default)(e,c),h=(0,s.useBootstrapPrefix)(l,"container"),m="string"===typeof n?"-"+n:"-fluid";return i.default.createElement(d,(0,r.default)({ref:t},p,{className:(0,o.default)(f,n?""+h+m:h)}))}));u.displayName="Container",u.defaultProps={fluid:!1};var d=u;t.default=d,e.exports=t.default},"02a648851faf9f3e7366":function(e,t,l){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ColorWrap=void 0;var n=Object.assign||function(e){for(var t=1;t{const l="function"===typeof e?e():e;return l.addEventListener(t,o,n),()=>l.removeEventListener(t,o,n)},[e])};var n,r=l("8af190b70a6bc55c6f1b"),a=(n=l("976c83b14986293285d6"))&&n.__esModule?n:{default:n}},"044f282f6141fc605782":function(e,t){e.exports=function(e){if(!e.webpackPolyfill){var t=Object.create(e);t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),Object.defineProperty(t,"exports",{enumerable:!0}),t.webpackPolyfill=1}return t}},"045abdce8789ee27f08d":function(e,t,l){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PhotoshopPointerCircle=void 0;var n=a(l("8af190b70a6bc55c6f1b")),r=a(l("608c27659c3f9bc71af5"));function a(e){return e&&e.__esModule?e:{default:e}}var o=t.PhotoshopPointerCircle=function(){var e=(0,r.default)({default:{triangle:{width:0,height:0,borderStyle:"solid",borderWidth:"4px 0 4px 6px",borderColor:"transparent transparent transparent #fff",position:"absolute",top:"1px",left:"1px"},triangleBorder:{width:0,height:0,borderStyle:"solid",borderWidth:"5px 0 5px 8px",borderColor:"transparent transparent transparent #555"},left:{Extend:"triangleBorder",transform:"translate(-13px, -4px)"},leftInside:{Extend:"triangle",transform:"translate(-8px, -5px)"},right:{Extend:"triangleBorder",transform:"translate(20px, -14px) rotate(180deg)"},rightInside:{Extend:"triangle",transform:"translate(-8px, -5px)"}}});return n.default.createElement("div",{style:e.pointer},n.default.createElement("div",{style:e.left},n.default.createElement("div",{style:e.leftInside})),n.default.createElement("div",{style:e.right},n.default.createElement("div",{style:e.rightInside})))};t.default=o},"04971d54099dfd1748a4":function(e,t,l){"use strict";function n(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var l=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=l){var n,r,a,o,i=[],s=!0,c=!1;try{if(a=(l=l.call(e)).next,0===t){if(Object(l)!==l)return;s=!1}else for(;!(s=(n=a.call(l)).done)&&(i.push(n.value),i.length!==t);s=!0);}catch(e){c=!0,r=e}finally{try{if(!s&&null!=l.return&&(o=l.return(),Object(o)!==o))return}finally{if(c)throw r}}return i}}(e,t)||r(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function r(e,t){if(e){if("string"==typeof e)return a(e,t);var l={}.toString.call(e).slice(8,-1);return"Object"===l&&e.constructor&&(l=e.constructor.name),"Map"===l||"Set"===l?Array.from(e):"Arguments"===l||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(l)?a(e,t):void 0}}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var l=0,n=Array(t);l=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,i=!0,s=!1;return{s:function(){l=l.call(e)},n:function(){var e=l.next();return i=e.done,e},e:function(e){s=!0,o=e},f:function(){try{i||null==l.return||l.return()}finally{if(s)throw o}}}}(d(t));try{var s=function(){var r=a.value;p.call(e,r)||r===l||c(e,r,{get:function(){return t[r]},enumerable:!(n=u(t,r))||n.enumerable})};for(i.s();!(a=i.n()).done;)s()}catch(e){i.e(e)}finally{i.f()}}return e},m=function(e,t,l){return l=null!=e?s(f(e)):{},h(!t&&e&&e.__esModule?l:c(l,"default",{value:e,enumerable:!0}),e)},g={};!function(e,t){for(var l in t)c(e,l,{get:t[l],enumerable:!0})}(g,{Presence:function(){return x},Root:function(){return S}}),e.exports=(i=g,h(c({},"__esModule",{value:!0}),i));var y=m(l("8af190b70a6bc55c6f1b")),v=l("99cbd339fcb61a1e941e"),b=l("648137dd78243ecf2736"),w=m(l("8af190b70a6bc55c6f1b"));var x=function(e){var t=e.present,l=e.children,r=function(e){var t=n(y.useState(),2),l=t[0],r=t[1],a=y.useRef(null),o=y.useRef(e),i=y.useRef("none"),s=n(function(e,t){return w.useReducer((function(e,l){var n=t[e][l];return null!==n&&void 0!==n?n:e}),e)}(e?"mounted":"unmounted",{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}}),2),c=s[0],u=s[1];return y.useEffect((function(){var e=k(a.current);i.current="mounted"===c?e:"none"}),[c]),(0,b.useLayoutEffect)((function(){var t=a.current,l=o.current;if(l!==e){var n=i.current,r=k(t);if(e)u("MOUNT");else if("none"===r||"none"===(null===t||void 0===t?void 0:t.display))u("UNMOUNT");else{u(l&&n!==r?"ANIMATION_OUT":"UNMOUNT")}o.current=e}}),[e,u]),(0,b.useLayoutEffect)((function(){if(l){var e,t,n=null!==(e=l.ownerDocument.defaultView)&&void 0!==e?e:window,r=function(e){var r=k(a.current).includes(CSS.escape(e.animationName));if(e.target===l&&r&&(u("ANIMATION_END"),!o.current)){var i=l.style.animationFillMode;l.style.animationFillMode="forwards",t=n.setTimeout((function(){"forwards"===l.style.animationFillMode&&(l.style.animationFillMode=i)}))}},s=function(e){e.target===l&&(i.current=k(a.current))};return l.addEventListener("animationstart",s),l.addEventListener("animationcancel",r),l.addEventListener("animationend",r),function(){n.clearTimeout(t),l.removeEventListener("animationstart",s),l.removeEventListener("animationcancel",r),l.removeEventListener("animationend",r)}}u("ANIMATION_END")}),[l,u]),{isPresent:["mounted","unmountSuspended"].includes(c),ref:y.useCallback((function(e){a.current=e?getComputedStyle(e):null,r(e)}),[])}}(t),a="function"===typeof l?l({present:r.isPresent}):y.Children.only(l),o=(0,v.useComposedRefs)(r.ref,function(e){var t,l,n=null===(t=Object.getOwnPropertyDescriptor(e.props,"ref"))||void 0===t?void 0:t.get,r=n&&"isReactWarning"in n&&n.isReactWarning;if(r)return e.ref;if(n=null===(l=Object.getOwnPropertyDescriptor(e,"ref"))||void 0===l?void 0:l.get,r=n&&"isReactWarning"in n&&n.isReactWarning)return e.props.ref;return e.props.ref||e.ref}(a));return"function"===typeof l||r.isPresent?y.cloneElement(a,{ref:o}):null};function k(e){return(null===e||void 0===e?void 0:e.animationName)||"none"}x.displayName="Presence";var S=x},"04b3664d0d67e9047d1a":function(e,t,l){"use strict";function n(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var l=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=l){var n,r,a,o,i=[],s=!0,c=!1;try{if(a=(l=l.call(e)).next,0===t){if(Object(l)!==l)return;s=!1}else for(;!(s=(n=a.call(l)).done)&&(i.push(n.value),i.length!==t);s=!0);}catch(e){c=!0,r=e}finally{try{if(!s&&null!=l.return&&(o=l.return(),Object(o)!==o))return}finally{if(c)throw r}}return i}}(e,t)||r(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function r(e,t){if(e){if("string"==typeof e)return a(e,t);var l={}.toString.call(e).slice(8,-1);return"Object"===l&&e.constructor&&(l=e.constructor.name),"Map"===l||"Set"===l?Array.from(e):"Arguments"===l||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(l)?a(e,t):void 0}}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var l=0,n=Array(t);l=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,i=!0,s=!1;return{s:function(){l=l.call(e)},n:function(){var e=l.next();return i=e.done,e},e:function(e){s=!0,o=e},f:function(){try{i||null==l.return||l.return()}finally{if(s)throw o}}}}(d(t));try{var s=function(){var r=a.value;p.call(e,r)||r===l||c(e,r,{get:function(){return t[r]},enumerable:!(n=u(t,r))||n.enumerable})};for(i.s();!(a=i.n()).done;)s()}catch(e){i.e(e)}finally{i.f()}}return e},m={};!function(e,t){for(var l in t)c(e,l,{get:t[l],enumerable:!0})}(m,{useSize:function(){return v}}),e.exports=(i=m,h(c({},"__esModule",{value:!0}),i));var g=function(e,t,l){return l=null!=e?s(f(e)):{},h(!t&&e&&e.__esModule?l:c(l,"default",{value:e,enumerable:!0}),e)}(l("8af190b70a6bc55c6f1b")),y=l("648137dd78243ecf2736");function v(e){var t=n(g.useState(void 0),2),l=t[0],r=t[1];return(0,y.useLayoutEffect)((function(){if(e){r({width:e.offsetWidth,height:e.offsetHeight});var t=new ResizeObserver((function(t){if(Array.isArray(t)&&t.length){var l,n,a=t[0];if("borderBoxSize"in a){var o=a.borderBoxSize,i=Array.isArray(o)?o[0]:o;l=i.inlineSize,n=i.blockSize}else l=e.offsetWidth,n=e.offsetHeight;r({width:l,height:n})}}));return t.observe(e,{box:"border-box"}),function(){return t.unobserve(e)}}r(void 0)}),[e]),l}},"04b48582e102cd179009":function(e,t,l){"use strict";var n=l("8e6d34d5e2b1c9c449c0");t.__esModule=!0,t.default=function(e,t){return e;var l=(0,r.useCallback)((function(e){null!=e&&e.isReactComponent&&invariant(!1)}),[t]);return(0,a.default)(l,e)};n(l("6a4f9c383785f9168266"));var r=l("8af190b70a6bc55c6f1b"),a=n(l("d0c7e0066872e4e40b2c"));e.exports=t.default},"04d6e2d4983bf78bb6b9":function(e,t,l){"use strict";t.__esModule=!0,t.default=function(e,t){return n(e.querySelectorAll(t))};var n=Function.prototype.bind.call(Function.prototype.call,[].slice);e.exports=t.default},"04e4d2208e59011a2c20":function(e,t,l){e.exports=function(){"use strict";function e(e,t){var l=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),l.push.apply(l,n)}return l}function t(t){for(var l=1;l0&&e<1/0},d=Array.prototype.slice;function f(e){return Array.from?Array.from(e):d.call(e)}var p=/^image\/.+$/;function h(e){return p.test(e)}var m=String.fromCharCode,g=c.btoa;function y(e,t){for(var l=[],n=new Uint8Array(e);n.length>0;)l.push(m.apply(null,f(n.subarray(0,8192)))),n=n.subarray(8192);return"data:".concat(t,";base64,").concat(g(l.join("")))}function v(e){var t,l=new DataView(e);try{var n,r,a;if(255===l.getUint8(0)&&216===l.getUint8(1))for(var o=l.byteLength,i=2;i+1=8&&(a=s+u)}}}if(a){var d,f,p=l.getUint16(a,n);for(f=0;f1&&void 0!==arguments[1]?arguments[1]:1e11;return b.test(e)?Math.round(e*t)/t:e}function x(e){var t=e.aspectRatio,l=e.height,n=e.width,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"none",a=u(n),o=u(l);if(a&&o){var i=l*t;("contain"===r||"none"===r)&&i>n||"cover"===r&&i1&&r(o,function(e){var t=0,l=1,n=1;switch(e){case 2:l=-1;break;case 3:t=-180;break;case 4:n=-1;break;case 5:t=90,n=-1;break;case 6:t=90;break;case 7:t=90,l=-1;break;case 8:t=-90}return{rotate:t,scaleX:l,scaleY:n}}(c)),s&&(e.exif=function(e){for(var t=f(new Uint8Array(e)),l=t.length,n=[],r=0;r+31?y(n,a):C.createObjectURL(t):n,e.load(o)},c.onabort=function(){e.fail(new Error("Aborted to read the image with FileReader."))},c.onerror=function(){e.fail(new Error("Failed to read the image with FileReader."))},c.onloadend=function(){e.reader=null},i||s?c.readAsArrayBuffer(t):c.readAsDataURL(t)}else this.load({url:C.createObjectURL(t)})}else this.fail(new Error("The current browser does not support image compression."));else this.fail(new Error("The first argument must be an image File or Blob object."))}else this.fail(new Error("The first argument must be a File or Blob object."))}},{key:"load",value:function(e){var l=this,n=this.file,r=this.image;r.onload=function(){l.draw(t(t({},e),{},{naturalWidth:r.naturalWidth,naturalHeight:r.naturalHeight}))},r.onabort=function(){l.fail(new Error("Aborted to load the image."))},r.onerror=function(){l.fail(new Error("Failed to load the image."))},c.navigator&&/(?:iPad|iPhone|iPod).*?AppleWebKit/i.test(c.navigator.userAgent)&&(r.crossOrigin="anonymous"),r.alt=n.name,r.src=e.url}},{key:"draw",value:function(e){var t=this,l=e.naturalWidth,n=e.naturalHeight,r=e.rotate,a=void 0===r?0:r,o=e.scaleX,s=void 0===o?1:o,c=e.scaleY,d=void 0===c?1:c,p=this.file,m=this.image,g=this.options,v=document.createElement("canvas"),b=v.getContext("2d"),k=Math.abs(a)%180===90,C=("contain"===g.resize||"cover"===g.resize)&&u(g.width)&&u(g.height),O=Math.max(g.maxWidth,0)||1/0,M=Math.max(g.maxHeight,0)||1/0,_=Math.max(g.minWidth,0)||0,E=Math.max(g.minHeight,0)||0,P=l/n,A=g.width,T=g.height;if(k){var j=[M,O];O=j[0],M=j[1];var D=[E,_];_=D[0],E=D[1];var I=[T,A];A=I[0],T=I[1]}C&&(P=A/T);var N=x({aspectRatio:P,width:O,height:M},"contain");O=N.width,M=N.height;var L=x({aspectRatio:P,width:_,height:E},"cover");if(_=L.width,E=L.height,C){var R=x({aspectRatio:P,width:A,height:T},g.resize);A=R.width,T=R.height}else{var B=x({aspectRatio:P,width:A,height:T}),F=B.width;A=void 0===F?l:F;var z=B.height;T=void 0===z?n:z}var U=-(A=Math.floor(w(Math.min(Math.max(A,_),O))))/2,H=-(T=Math.floor(w(Math.min(Math.max(T,E),M))))/2,V=A,W=T,$=[];if(C){var G,q,Z,K,Y=x({aspectRatio:P,width:l,height:n},{contain:"cover",cover:"contain"}[g.resize]);Z=Y.width,K=Y.height,G=(l-Z)/2,q=(n-K)/2,$.push(G,q,Z,K)}if($.push(U,H,V,W),k){var X=[T,A];A=X[0],T=X[1]}v.width=A,v.height=T,h(g.mimeType)||(g.mimeType=p.type);var J="transparent";p.size>g.convertSize&&g.convertTypes.indexOf(g.mimeType)>=0&&(g.mimeType="image/jpeg");var Q="image/jpeg"===g.mimeType;if(Q&&(J="#fff"),b.fillStyle=J,b.fillRect(0,0,A,T),g.beforeDraw&&g.beforeDraw.call(this,b,v),!this.aborted&&(b.save(),b.translate(A/2,T/2),b.rotate(a*Math.PI/180),b.scale(s,d),b.drawImage.apply(b,[m].concat($)),b.restore(),g.drew&&g.drew.call(this,b,v),!this.aborted)){var ee=function(e){if(!t.aborted){var r=function(e){return t.done({naturalWidth:l,naturalHeight:n,result:e})};if(e&&Q&&g.retainExif&&t.exif&&t.exif.length>0){var a=function(e){return r(i(y(function(e,t){var l=f(new Uint8Array(e));if(255!==l[2]||224!==l[3])return e;var n=256*l[4]+l[5],r=[255,216].concat(t,l.slice(4+n));return new Uint8Array(r)}(e,t.exif),g.mimeType)))};if(e.arrayBuffer)e.arrayBuffer().then(a).catch((function(){t.fail(new Error("Failed to read the compressed image with Blob.arrayBuffer()."))}));else{var o=new S;t.reader=o,o.onload=function(e){var t=e.target;a(t.result)},o.onabort=function(){t.fail(new Error("Aborted to read the compressed image with FileReader."))},o.onerror=function(){t.fail(new Error("Failed to read the compressed image with FileReader."))},o.onloadend=function(){t.reader=null},o.readAsArrayBuffer(e)}}else r(e)}};v.toBlob?v.toBlob(ee,g.mimeType,g.quality):ee(i(v.toDataURL(g.mimeType,g.quality)))}}},{key:"done",value:function(e){var t,l,n=e.naturalWidth,r=e.naturalHeight,a=e.result,o=this.file,i=this.image,s=this.options;if(C&&0===i.src.indexOf("blob:")&&C.revokeObjectURL(i.src),a)if(s.strict&&!s.retainExif&&a.size>o.size&&s.mimeType===o.type&&!(s.width>n||s.height>r||s.minWidth>n||s.minHeight>r||s.maxWidth0?n:l)(e)}},"052b60f51ae6da363115":function(e,t,l){Object.defineProperty(t,"__esModule",{value:!0});var n=l("db86d8470315e76725af"),r=/^\s*at (?:(.*?) ?\()?((?:file|https?|blob|chrome-extension|address|native|eval|webpack||[-a-z]+:|.*bundle|\/).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,a=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:file|https?|blob|chrome|webpack|resource|moz-extension|capacitor).*?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,o=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,i=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,s=/\((\S*)(?::(\d+))(?::(\d+))\)/,c=/Minified React error #\d+;/i;function u(e,t){try{return n.__assign(n.__assign({},e),{stack:e.stack.slice(t)})}catch(t){return e}}function d(e){var t=e&&e.message;return t?t.error&&"string"===typeof t.error.message?t.error.message:t:"No error message"}t.computeStackTrace=function(e){var t=null,l=0;e&&("number"===typeof e.framesToPop?l=e.framesToPop:c.test(e.message)&&(l=1));try{if(t=function(e){if(!e||!e.stacktrace)return null;for(var t,l=e.stacktrace,n=/ line (\d+).*script (?:in )?(\S+)(?:: in function (\S+))?$/i,r=/ line (\d+), column (\d+)\s*(?:in (?:]+)>|([^)]+))\((.*)\))? in (.*):\s*$/i,a=l.split("\n"),o=[],i=0;i eval")>-1&&(t=i.exec(l[3]))?(l[1]=l[1]||"eval",l[3]=t[1],l[4]=t[2],l[5]=""):0!==f||l[5]||void 0===e.columnNumber||(c[0].column=e.columnNumber+1),n={url:l[3],func:l[1]||"?",args:l[2]?l[2].split(","):[],line:l[4]?+l[4]:null,column:l[5]?+l[5]:null}}!n.func&&n.line&&(n.func="?"),c.push(n)}if(!c.length)return null;return{message:d(e),name:e.name,stack:c}}(e))return u(t,l)}catch(e){}return{message:d(e),name:e&&e.name,stack:[],failed:!0}}},"0610821415057bf7a005":function(e,t,l){"use strict";var n=l("8e6d34d5e2b1c9c449c0");t.__esModule=!0,t.default=t.onceSupported=t.optionsSupported=void 0;var r=n(l("c2f6cf857090a00f2a1f")),a=!1;t.optionsSupported=a;var o=!1;t.onceSupported=o;try{var i={get passive(){return t.optionsSupported=a=!0},get once(){return t.onceSupported=o=t.optionsSupported=a=!0}};r.default&&(window.addEventListener("test",i,i),window.removeEventListener("test",i,!0))}catch(e){}var s=function(e,t,l,n){if(n&&"boolean"!==typeof n&&!o){var r=n.once,i=n.capture,s=l;!o&&r&&(s=l.__once||function e(n){this.removeEventListener(t,e,i),l.call(this,n)},l.__once=s),e.addEventListener(t,s,a?n:i)}e.addEventListener(t,l,n)};t.default=s},"06fdc6612000b1e70f3d":function(e,t,l){"use strict";var n=l("8e6d34d5e2b1c9c449c0");t.__esModule=!0,t.map=function(e,t){var l=0;return r.default.Children.map(e,(function(e){return r.default.isValidElement(e)?t(e,l++):e}))},t.forEach=function(e,t){var l=0;r.default.Children.forEach(e,(function(e){r.default.isValidElement(e)&&t(e,l++)}))};var r=n(l("8af190b70a6bc55c6f1b"))},"07899052b6ad9ac5b1fa":function(e,t,l){"use strict";var n=l("1c3db079b29f5367242a");function r(){}function a(){}a.resetWarningCache=r,e.exports=function(){function e(e,t,l,r,a,o){if(o!==n){var i=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw i.name="Invariant Violation",i}}function t(){return e}e.isRequired=e;var l={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:r};return l.PropTypes=l,l}},"079a8f9f9a11e5abd794":function(e,t,l){var n=l("9c055a37695b454dd210");"string"===typeof n&&(n=[[e.i,n,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};l("1e4534d1d62a11482e97")(n,r);n.locals&&(e.exports=n.locals)},"085535a1e09c30d8db5e":function(e,t,l){"use strict";var n=l("8e6d34d5e2b1c9c449c0");t.__esModule=!0,t.default=t.ReactReduxContext=void 0;var r=n(l("8af190b70a6bc55c6f1b")).default.createContext(null);t.ReactReduxContext=r;var a=r;t.default=a},"08f089f2ae3de5523500":function(e,t,l){"use strict";var n=l("8e6d34d5e2b1c9c449c0");t.__esModule=!0,t.default=void 0;var r=(0,n(l("10fa21b44717d82288e9")).default)("carousel-caption");t.default=r,e.exports=t.default},"09689132863af87e59e1":function(e,t,l){var n=l("a1585b80eeeca030383b");"string"===typeof n&&(n=[[e.i,n,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};l("1e4534d1d62a11482e97")(n,r);n.locals&&(e.exports=n.locals)},"09800db97cfafd52530f":function(e,t,l){"use strict";var n=l("8e6d34d5e2b1c9c449c0");t.__esModule=!0,t.default=void 0;var r=n(l("2c62cf50f9b98ad5e2af")),a=n(l("84ed169f5b76a6b15fc0")),o=n(l("b912ecc4473ae8a2ff0b")),i=n(l("8af190b70a6bc55c6f1b")),s=l("de45080f617146192f27"),c=["as","bsPrefix","children","className"],u=i.default.forwardRef((function(e,t){var l=e.as,n=void 0===l?"div":l,u=e.bsPrefix,d=e.children,f=e.className,p=(0,a.default)(e,c),h=(0,o.default)(f,(0,s.useBootstrapPrefix)(u,"carousel-item"));return i.default.createElement(n,(0,r.default)({ref:t},p,{className:h}),d)}));u.displayName="CarouselItem";var d=u;t.default=d,e.exports=t.default},"09b2597701fdebc2702d":function(e,t,l){"use strict";var n,r=l("0ef7089d7aa482a1e9ea"),a=l("cb1dc2f1b0e48e5476a6")(),o=l("1ea92141d63d9b32569f"),i=l("5ac538617d9f5f8a7b04");if(a){var s=r("RegExp.prototype.exec"),c={},u=function(){throw c},d={toString:u,valueOf:u};"symbol"===typeof Symbol.toPrimitive&&(d[Symbol.toPrimitive]=u),n=function(e){if(!e||"object"!==typeof e)return!1;var t=i(e,"lastIndex");if(!(t&&o(t,"value")))return!1;try{s(e,d)}catch(e){return e===c}}}else{var f=r("Object.prototype.toString");n=function(e){return!(!e||"object"!==typeof e&&"function"!==typeof e)&&"[object RegExp]"===f(e)}}e.exports=n},"09df9fbaa379fb5af7a2":function(e,t,l){e.exports=l("c1032c1a9ba290409b15")()},"09e3cb8c466f0d61a74c":function(e,t,l){"use strict";var n=l("8e6d34d5e2b1c9c449c0");t.__esModule=!0,t.default=void 0;var r=n(l("2c62cf50f9b98ad5e2af")),a=n(l("84ed169f5b76a6b15fc0")),o=n(l("8af190b70a6bc55c6f1b")),i=n(l("1071238d53a57e392963")),s=l("de45080f617146192f27"),c=n(l("ffb31eae7b0bff144515")),u=["children","bsPrefix"],d=o.default.forwardRef((function(e,t){var l=e.children,n=e.bsPrefix,d=(0,a.default)(e,u);return n=(0,s.useBootstrapPrefix)(n,"navbar-collapse"),o.default.createElement(c.default.Consumer,null,(function(e){return o.default.createElement(i.default,(0,r.default)({in:!(!e||!e.expanded)},d),o.default.createElement("div",{ref:t,className:n},l))}))}));d.displayName="NavbarCollapse";var f=d;t.default=f,e.exports=t.default},"0a059c115e29cfe72a82":function(e,t,l){"use strict";var n=l("8e6d34d5e2b1c9c449c0");t.__esModule=!0,t.default=void 0;var r=n(l("2c62cf50f9b98ad5e2af")),a=n(l("84ed169f5b76a6b15fc0")),o=n(l("b912ecc4473ae8a2ff0b")),i=m(l("8af190b70a6bc55c6f1b")),s=l("de45080f617146192f27"),c=n(l("85686cb433cd9022c6c0")),u=m(l("8091d4c30d49f465376d")),d=n(l("286777336e103589e6e9")),f=["activeKey","getControlledId","getControllerId"],p=["bsPrefix","className","active","onEnter","onEntering","onEntered","onExit","onExiting","onExited","mountOnEnter","unmountOnExit","transition","as","eventKey"];function h(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,l=new WeakMap;return(h=function(e){return e?l:t})(e)}function m(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==typeof e&&"function"!==typeof e)return{default:e};var l=h(t);if(l&&l.has(e))return l.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,l&&l.set(e,n),n}var g=i.default.forwardRef((function(e,t){var l=function(e){var t=(0,i.useContext)(c.default);if(!t)return e;var l=t.activeKey,n=t.getControlledId,o=t.getControllerId,s=(0,a.default)(t,f),p=!1!==e.transition&&!1!==s.transition,h=(0,u.makeEventKey)(e.eventKey);return(0,r.default)({},e,{active:null==e.active&&null!=h?(0,u.makeEventKey)(l)===h:e.active,id:n(e.eventKey),"aria-labelledby":o(e.eventKey),transition:p&&(e.transition||s.transition||d.default),mountOnEnter:null!=e.mountOnEnter?e.mountOnEnter:s.mountOnEnter,unmountOnExit:null!=e.unmountOnExit?e.unmountOnExit:s.unmountOnExit})}(e),n=l.bsPrefix,h=l.className,m=l.active,g=l.onEnter,y=l.onEntering,v=l.onEntered,b=l.onExit,w=l.onExiting,x=l.onExited,k=l.mountOnEnter,S=l.unmountOnExit,C=l.transition,O=l.as,M=void 0===O?"div":O,_=(l.eventKey,(0,a.default)(l,p)),E=(0,s.useBootstrapPrefix)(n,"tab-pane");if(!m&&!C&&S)return null;var P=i.default.createElement(M,(0,r.default)({},_,{ref:t,role:"tabpanel","aria-hidden":!m,className:(0,o.default)(h,E,{active:m})}));return C&&(P=i.default.createElement(C,{in:m,onEnter:g,onEntering:y,onEntered:v,onExit:b,onExiting:w,onExited:x,mountOnEnter:k,unmountOnExit:S},P)),i.default.createElement(c.default.Provider,{value:null},i.default.createElement(u.default.Provider,{value:null},P))}));g.displayName="TabPane";var y=g;t.default=y,e.exports=t.default},"0a9936ebdb71a791edd8":function(e,t,l){Object.defineProperty(t,"__esModule",{value:!0});var n=l("db86d8470315e76725af"),r=l("bc9d99ff713fa8e834f8"),a=l("6b00f1d7fb6bde96d1bc"),o=l("9c37e652710639934358"),i=a.getGlobalObject(),s=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n.__extends(t,e),t.prototype.sendEvent=function(e){return this._sendRequest(r.eventToSentryRequest(e,this._api),e)},t.prototype.sendSession=function(e){return this._sendRequest(r.sessionToSentryRequest(e,this._api),e)},t.prototype._sendRequest=function(e,t){var l=this;if(this._isRateLimited(e.type))return Promise.reject({event:t,type:e.type,reason:"Transport locked till "+this._disabledUntil(e.type)+" due to too many requests.",status:429});var n={body:e.body,method:"POST",referrerPolicy:a.supportsReferrerPolicy()?"origin":""};return void 0!==this.options.fetchParameters&&Object.assign(n,this.options.fetchParameters),void 0!==this.options.headers&&(n.headers=this.options.headers),this._buffer.add(new a.SyncPromise((function(t,r){i.fetch(e.url,n).then((function(n){var a={"x-sentry-rate-limits":n.headers.get("X-Sentry-Rate-Limits"),"retry-after":n.headers.get("Retry-After")};l._handleResponse({requestType:e.type,response:n,headers:a,resolve:t,reject:r})})).catch(r)})))},t}(o.BaseTransport);t.FetchTransport=s},"0aac488a388d7f2d0eea":function(e,t){e.exports=function(e){var t="undefined"!==typeof window&&window.location;if(!t)throw new Error("fixUrls requires window.location");if(!e||"string"!==typeof e)return e;var l=t.protocol+"//"+t.host,n=l+t.pathname.replace(/\/[^\/]*$/,"/");return e.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,(function(e,t){var r,a=t.trim().replace(/^"(.*)"$/,(function(e,t){return t})).replace(/^'(.*)'$/,(function(e,t){return t}));return/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/|\s*$)/i.test(a)?e:(r=0===a.indexOf("//")?a:0===a.indexOf("/")?l+a:n+a.replace(/^\.\//,""),"url("+JSON.stringify(r)+")")}))}},"0aca0f0e7b7b05bdb76c":function(e,t,l){var n;!function(r){"use strict";var a,o={precision:20,rounding:4,toExpNeg:-7,toExpPos:21,LN10:"2.302585092994045684017991454684364207601101488628772976033327900967572609677352480235997205089598298341967784042286"},i=!0,s="[DecimalError] ",c=s+"Invalid argument: ",u=s+"Exponent out of range: ",d=Math.floor,f=Math.pow,p=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,h=1e7,m=d(1286742750677284.5),g={};function y(e,t){var l,n,r,a,o,s,c,u,d=e.constructor,f=d.precision;if(!e.s||!t.s)return t.s||(t=new d(e)),i?_(t,f):t;if(c=e.d,u=t.d,o=e.e,r=t.e,c=c.slice(),a=o-r){for(a<0?(n=c,a=-a,s=u.length):(n=u,r=o,s=c.length),a>(s=(o=Math.ceil(f/7))>s?o+1:s+1)&&(a=s,n.length=1),n.reverse();a--;)n.push(0);n.reverse()}for((s=c.length)-(a=u.length)<0&&(a=s,n=u,u=c,c=n),l=0;a;)l=(c[--a]=c[a]+u[a]+l)/h|0,c[a]%=h;for(l&&(c.unshift(l),++r),s=c.length;0==c[--s];)c.pop();return t.d=c,t.e=r,i?_(t,f):t}function v(e,t,l){if(e!==~~e||el)throw Error(c+e)}function b(e){var t,l,n,r=e.length-1,a="",o=e[0];if(r>0){for(a+=o,t=1;te.e^a.s<0?1:-1;for(t=0,l=(n=a.d.length)<(r=e.d.length)?n:r;te.d[t]^a.s<0?1:-1;return n===r?0:n>r^a.s<0?1:-1},g.decimalPlaces=g.dp=function(){var e=this,t=e.d.length-1,l=7*(t-e.e);if(t=e.d[t])for(;t%10==0;t/=10)l--;return l<0?0:l},g.dividedBy=g.div=function(e){return w(this,new this.constructor(e))},g.dividedToIntegerBy=g.idiv=function(e){var t=this.constructor;return _(w(this,new t(e),0,1),t.precision)},g.equals=g.eq=function(e){return!this.cmp(e)},g.exponent=function(){return k(this)},g.greaterThan=g.gt=function(e){return this.cmp(e)>0},g.greaterThanOrEqualTo=g.gte=function(e){return this.cmp(e)>=0},g.isInteger=g.isint=function(){return this.e>this.d.length-2},g.isNegative=g.isneg=function(){return this.s<0},g.isPositive=g.ispos=function(){return this.s>0},g.isZero=function(){return 0===this.s},g.lessThan=g.lt=function(e){return this.cmp(e)<0},g.lessThanOrEqualTo=g.lte=function(e){return this.cmp(e)<1},g.logarithm=g.log=function(e){var t,l=this,n=l.constructor,r=n.precision,o=r+5;if(void 0===e)e=new n(10);else if((e=new n(e)).s<1||e.eq(a))throw Error(s+"NaN");if(l.s<1)throw Error(s+(l.s?"NaN":"-Infinity"));return l.eq(a)?new n(0):(i=!1,t=w(O(l,o),O(e,o),o),i=!0,_(t,r))},g.minus=g.sub=function(e){var t=this;return e=new t.constructor(e),t.s==e.s?E(t,e):y(t,(e.s=-e.s,e))},g.modulo=g.mod=function(e){var t,l=this,n=l.constructor,r=n.precision;if(!(e=new n(e)).s)throw Error(s+"NaN");return l.s?(i=!1,t=w(l,e,0,1).times(e),i=!0,l.minus(t)):_(new n(l),r)},g.naturalExponential=g.exp=function(){return x(this)},g.naturalLogarithm=g.ln=function(){return O(this)},g.negated=g.neg=function(){var e=new this.constructor(this);return e.s=-e.s||0,e},g.plus=g.add=function(e){var t=this;return e=new t.constructor(e),t.s==e.s?y(t,e):E(t,(e.s=-e.s,e))},g.precision=g.sd=function(e){var t,l,n,r=this;if(void 0!==e&&e!==!!e&&1!==e&&0!==e)throw Error(c+e);if(t=k(r)+1,l=7*(n=r.d.length-1)+1,n=r.d[n]){for(;n%10==0;n/=10)l--;for(n=r.d[0];n>=10;n/=10)l++}return e&&t>l?t:l},g.squareRoot=g.sqrt=function(){var e,t,l,n,r,a,o,c=this,u=c.constructor;if(c.s<1){if(!c.s)return new u(0);throw Error(s+"NaN")}for(e=k(c),i=!1,0==(r=Math.sqrt(+c))||r==1/0?(((t=b(c.d)).length+e)%2==0&&(t+="0"),r=Math.sqrt(t),e=d((e+1)/2)-(e<0||e%2),n=new u(t=r==1/0?"5e"+e:(t=r.toExponential()).slice(0,t.indexOf("e")+1)+e)):n=new u(r.toString()),r=o=(l=u.precision)+3;;)if(n=(a=n).plus(w(c,a,o+2)).times(.5),b(a.d).slice(0,o)===(t=b(n.d)).slice(0,o)){if(t=t.slice(o-3,o+1),r==o&&"4999"==t){if(_(a,l+1,0),a.times(a).eq(c)){n=a;break}}else if("9999"!=t)break;o+=4}return i=!0,_(n,l)},g.times=g.mul=function(e){var t,l,n,r,a,o,s,c,u,d=this,f=d.constructor,p=d.d,m=(e=new f(e)).d;if(!d.s||!e.s)return new f(0);for(e.s*=d.s,l=d.e+e.e,(c=p.length)<(u=m.length)&&(a=p,p=m,m=a,o=c,c=u,u=o),a=[],n=o=c+u;n--;)a.push(0);for(n=u;--n>=0;){for(t=0,r=c+n;r>n;)s=a[r]+m[n]*p[r-n-1]+t,a[r--]=s%h|0,t=s/h|0;a[r]=(a[r]+t)%h|0}for(;!a[--o];)a.pop();return t?++l:a.shift(),e.d=a,e.e=l,i?_(e,f.precision):e},g.toDecimalPlaces=g.todp=function(e,t){var l=this,n=l.constructor;return l=new n(l),void 0===e?l:(v(e,0,1e9),void 0===t?t=n.rounding:v(t,0,8),_(l,e+k(l)+1,t))},g.toExponential=function(e,t){var l,n=this,r=n.constructor;return void 0===e?l=P(n,!0):(v(e,0,1e9),void 0===t?t=r.rounding:v(t,0,8),l=P(n=_(new r(n),e+1,t),!0,e+1)),l},g.toFixed=function(e,t){var l,n,r=this,a=r.constructor;return void 0===e?P(r):(v(e,0,1e9),void 0===t?t=a.rounding:v(t,0,8),l=P((n=_(new a(r),e+k(r)+1,t)).abs(),!1,e+k(n)+1),r.isneg()&&!r.isZero()?"-"+l:l)},g.toInteger=g.toint=function(){var e=this,t=e.constructor;return _(new t(e),k(e)+1,t.rounding)},g.toNumber=function(){return+this},g.toPower=g.pow=function(e){var t,l,n,r,o,c,u=this,f=u.constructor,p=+(e=new f(e));if(!e.s)return new f(a);if(!(u=new f(u)).s){if(e.s<1)throw Error(s+"Infinity");return u}if(u.eq(a))return u;if(n=f.precision,e.eq(a))return _(u,n);if(c=(t=e.e)>=(l=e.d.length-1),o=u.s,c){if((l=p<0?-p:p)<=9007199254740991){for(r=new f(a),t=Math.ceil(n/7+4),i=!1;l%2&&A((r=r.times(u)).d,t),0!==(l=d(l/2));)A((u=u.times(u)).d,t);return i=!0,e.s<0?new f(a).div(r):_(r,n)}}else if(o<0)throw Error(s+"NaN");return o=o<0&&1&e.d[Math.max(t,l)]?-1:1,u.s=1,i=!1,r=e.times(O(u,n+12)),i=!0,(r=x(r)).s=o,r},g.toPrecision=function(e,t){var l,n,r=this,a=r.constructor;return void 0===e?n=P(r,(l=k(r))<=a.toExpNeg||l>=a.toExpPos):(v(e,1,1e9),void 0===t?t=a.rounding:v(t,0,8),n=P(r=_(new a(r),e,t),e<=(l=k(r))||l<=a.toExpNeg,e)),n},g.toSignificantDigits=g.tosd=function(e,t){var l=this.constructor;return void 0===e?(e=l.precision,t=l.rounding):(v(e,1,1e9),void 0===t?t=l.rounding:v(t,0,8)),_(new l(this),e,t)},g.toString=g.valueOf=g.val=g.toJSON=function(){var e=this,t=k(e),l=e.constructor;return P(e,t<=l.toExpNeg||t>=l.toExpPos)};var w=function(){function e(e,t){var l,n=0,r=e.length;for(e=e.slice();r--;)l=e[r]*t+n,e[r]=l%h|0,n=l/h|0;return n&&e.unshift(n),e}function t(e,t,l,n){var r,a;if(l!=n)a=l>n?1:-1;else for(r=a=0;rt[r]?1:-1;break}return a}function l(e,t,l){for(var n=0;l--;)e[l]-=n,n=e[l]1;)e.shift()}return function(n,r,a,o){var i,c,u,d,f,p,m,g,y,v,b,w,x,S,C,O,M,E,P=n.constructor,A=n.s==r.s?1:-1,T=n.d,j=r.d;if(!n.s)return new P(n);if(!r.s)throw Error(s+"Division by zero");for(c=n.e-r.e,M=j.length,C=T.length,g=(m=new P(A)).d=[],u=0;j[u]==(T[u]||0);)++u;if(j[u]>(T[u]||0)&&--c,(w=null==a?a=P.precision:o?a+(k(n)-k(r))+1:a)<0)return new P(0);if(w=w/7+2|0,u=0,1==M)for(d=0,j=j[0],w++;(u1&&(j=e(j,d),T=e(T,d),M=j.length,C=T.length),S=M,v=(y=T.slice(0,M)).length;v=h/2&&++O;do{d=0,(i=t(j,y,M,v))<0?(b=y[0],M!=v&&(b=b*h+(y[1]||0)),(d=b/O|0)>1?(d>=h&&(d=h-1),1==(i=t(f=e(j,d),y,p=f.length,v=y.length))&&(d--,l(f,M16)throw Error(u+k(e));if(!e.s)return new p(a);for(null==t?(i=!1,s=h):s=t,o=new p(.03125);e.abs().gte(.1);)e=e.times(o),d+=5;for(s+=Math.log(f(2,d))/Math.LN10*2+5|0,l=n=r=new p(a),p.precision=s;;){if(n=_(n.times(e),s),l=l.times(++c),b((o=r.plus(w(n,l,s))).d).slice(0,s)===b(r.d).slice(0,s)){for(;d--;)r=_(r.times(r),s);return p.precision=h,null==t?(i=!0,_(r,h)):r}r=o}}function k(e){for(var t=7*e.e,l=e.d[0];l>=10;l/=10)t++;return t}function S(e,t,l){if(t>e.LN10.sd())throw i=!0,l&&(e.precision=l),Error(s+"LN10 precision limit exceeded");return _(new e(e.LN10),t)}function C(e){for(var t="";e--;)t+="0";return t}function O(e,t){var l,n,r,o,c,u,d,f,p,h=1,m=e,g=m.d,y=m.constructor,v=y.precision;if(m.s<1)throw Error(s+(m.s?"NaN":"-Infinity"));if(m.eq(a))return new y(0);if(null==t?(i=!1,f=v):f=t,m.eq(10))return null==t&&(i=!0),S(y,f);if(f+=10,y.precision=f,n=(l=b(g)).charAt(0),o=k(m),!(Math.abs(o)<15e14))return d=S(y,f+2,v).times(o+""),m=O(new y(n+"."+l.slice(1)),f-10).plus(d),y.precision=v,null==t?(i=!0,_(m,v)):m;for(;n<7&&1!=n||1==n&&l.charAt(1)>3;)n=(l=b((m=m.times(e)).d)).charAt(0),h++;for(o=k(m),n>1?(m=new y("0."+l),o++):m=new y(n+"."+l.slice(1)),u=c=m=w(m.minus(a),m.plus(a),f),p=_(m.times(m),f),r=3;;){if(c=_(c.times(p),f),b((d=u.plus(w(c,new y(r),f))).d).slice(0,f)===b(u.d).slice(0,f))return u=u.times(2),0!==o&&(u=u.plus(S(y,f+2,v).times(o+""))),u=w(u,new y(h),f),y.precision=v,null==t?(i=!0,_(u,v)):u;u=d,r+=2}}function M(e,t){var l,n,r;for((l=t.indexOf("."))>-1&&(t=t.replace(".","")),(n=t.search(/e/i))>0?(l<0&&(l=n),l+=+t.slice(n+1),t=t.substring(0,n)):l<0&&(l=t.length),n=0;48===t.charCodeAt(n);)++n;for(r=t.length;48===t.charCodeAt(r-1);)--r;if(t=t.slice(n,r)){if(r-=n,l=l-n-1,e.e=d(l/7),e.d=[],n=(l+1)%7,l<0&&(n+=7),nm||e.e<-m))throw Error(u+l)}else e.s=0,e.e=0,e.d=[0];return e}function _(e,t,l){var n,r,a,o,s,c,p,g,y=e.d;for(o=1,a=y[0];a>=10;a/=10)o++;if((n=t-o)<0)n+=7,r=t,p=y[g=0];else{if((g=Math.ceil((n+1)/7))>=(a=y.length))return e;for(p=a=y[g],o=1;a>=10;a/=10)o++;r=(n%=7)-7+o}if(void 0!==l&&(s=p/(a=f(10,o-r-1))%10|0,c=t<0||void 0!==y[g+1]||p%a,c=l<4?(s||c)&&(0==l||l==(e.s<0?3:2)):s>5||5==s&&(4==l||c||6==l&&(n>0?r>0?p/f(10,o-r):0:y[g-1])%10&1||l==(e.s<0?8:7))),t<1||!y[0])return c?(a=k(e),y.length=1,t=t-a-1,y[0]=f(10,(7-t%7)%7),e.e=d(-t/7)||0):(y.length=1,y[0]=e.e=e.s=0),e;if(0==n?(y.length=g,a=1,g--):(y.length=g+1,a=f(10,7-n),y[g]=r>0?(p/f(10,o-r)%f(10,r)|0)*a:0),c)for(;;){if(0==g){(y[0]+=a)==h&&(y[0]=1,++e.e);break}if(y[g]+=a,y[g]!=h)break;y[g--]=0,a=1}for(n=y.length;0===y[--n];)y.pop();if(i&&(e.e>m||e.e<-m))throw Error(u+k(e));return e}function E(e,t){var l,n,r,a,o,s,c,u,d,f,p=e.constructor,m=p.precision;if(!e.s||!t.s)return t.s?t.s=-t.s:t=new p(e),i?_(t,m):t;if(c=e.d,f=t.d,n=t.e,u=e.e,c=c.slice(),o=u-n){for((d=o<0)?(l=c,o=-o,s=f.length):(l=f,n=u,s=c.length),o>(r=Math.max(Math.ceil(m/7),s)+2)&&(o=r,l.length=1),l.reverse(),r=o;r--;)l.push(0);l.reverse()}else{for((d=(r=c.length)<(s=f.length))&&(s=r),r=0;r0;--r)c[s++]=0;for(r=f.length;r>o;){if(c[--r]0?a=a.charAt(0)+"."+a.slice(1)+C(n):o>1&&(a=a.charAt(0)+"."+a.slice(1)),a=a+(r<0?"e":"e+")+r):r<0?(a="0."+C(-r-1)+a,l&&(n=l-o)>0&&(a+=C(n))):r>=o?(a+=C(r+1-o),l&&(n=l-r-1)>0&&(a=a+"."+C(n))):((n=r+1)0&&(r+1===o&&(a+="."),a+=C(n))),e.s<0?"-"+a:a}function A(e,t){if(e.length>t)return e.length=t,!0}function T(e){if(!e||"object"!==typeof e)throw Error(s+"Object expected");var t,l,n,r=["precision",1,1e9,"rounding",0,8,"toExpNeg",-1/0,0,"toExpPos",0,1/0];for(t=0;t=r[t+1]&&n<=r[t+2]))throw Error(c+l+": "+n);this[l]=n}if(void 0!==(n=e[l="LN10"])){if(n!=Math.LN10)throw Error(c+l+": "+n);this[l]=new this(n)}return this}(o=function e(t){var l,n,r;function a(e){var t=this;if(!(t instanceof a))return new a(e);if(t.constructor=a,e instanceof a)return t.s=e.s,t.e=e.e,void(t.d=(e=e.d)?e.slice():e);if("number"===typeof e){if(0*e!==0)throw Error(c+e);if(e>0)t.s=1;else{if(!(e<0))return t.s=0,t.e=0,void(t.d=[0]);e=-e,t.s=-1}return e===~~e&&e<1e7?(t.e=0,void(t.d=[e])):M(t,e.toString())}if("string"!==typeof e)throw Error(c+e);if(45===e.charCodeAt(0)?(e=e.slice(1),t.s=-1):t.s=1,!p.test(e))throw Error(c+e);M(t,e)}if(a.prototype=g,a.ROUND_UP=0,a.ROUND_DOWN=1,a.ROUND_CEIL=2,a.ROUND_FLOOR=3,a.ROUND_HALF_UP=4,a.ROUND_HALF_DOWN=5,a.ROUND_HALF_EVEN=6,a.ROUND_HALF_CEIL=7,a.ROUND_HALF_FLOOR=8,a.clone=e,a.config=a.set=T,void 0===t&&(t={}),t)for(r=["precision","rounding","toExpNeg","toExpPos","LN10"],l=0;l2&&void 0!==arguments[2]?arguments[2]:{},n=l.whitelist||null,r=l.blacklist||null;function a(e){return!(!n||-1!==n.indexOf(e))||!(!r||-1===r.indexOf(e))}return{in:function(t,l,n){return!a(l)&&e?e(t,l,n):t},out:function(e,l,n){return!a(l)&&t?t(e,l,n):e}}}},"0b840adf88f1446e7778":function(e,t){e.exports="data:image/svg+xml,%3C?xml version='1.0' encoding='utf-8'?%3E %3C!-- Generator: Adobe Illustrator 25.2.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --%3E %3Csvg version='1.1' id='svg4209' inkscape:version='0.48.5 r10040' sodipodi:docname='IconoAlergenoMostaza-Mustard.svg' xmlns:cc='http://creativecommons.org/ns%23' xmlns:dc='http://purl.org/dc/elements/1.1/' xmlns:inkscape='http://www.inkscape.org/namespaces/inkscape' xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns%23' xmlns:sodipodi='http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd' xmlns:svg='http://www.w3.org/2000/svg' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 262.2 372' style='enable-background:new 0 0 262.2 372;' xml:space='preserve'%3E %3Cstyle type='text/css'%3E .st0%7Bfill:%23C09328;stroke:%23C09328;stroke-width:0.4;stroke-linecap:round;stroke-linejoin:round;%7D .st1%7Bfill-opacity:0;stroke:%23000000;stroke-width:0.2742;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:21.9348;stroke-opacity:0;%7D .st2%7Bfill:%23FFFFFF;stroke:%23FFFFFF;stroke-width:0.2742;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:21.9348;%7D .st3%7Bfill:%23C09328;stroke:%23C09328;stroke-width:0.2742;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:21.9348;%7D .st4%7Bfill:%23FEFEFE;stroke:%23FEFEFE;stroke-width:0.2742;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:21.9348;%7D %3C/style%3E %3Csodipodi:namedview bordercolor='%23666666' borderopacity='1.0' id='base' inkscape:current-layer='layer1' inkscape:cx='202.74286' inkscape:cy='380.3158' inkscape:document-units='px' inkscape:pageopacity='0.0' inkscape:pageshadow='2' inkscape:window-height='924' inkscape:window-maximized='1' inkscape:window-width='1280' inkscape:window-x='0' inkscape:window-y='28' inkscape:zoom='0.22265811' pagecolor='%23ffffff' showgrid='false'%3E %3C/sodipodi:namedview%3E %3Cg id='layer1' transform='translate(0,-680.31494)' inkscape:groupmode='layer' inkscape:label='Capa 1'%3E %3Cg id='g5086' transform='matrix(5.4836896,0,0,5.4836896,-1151.2895,-1136.0193)'%3E %3Cg id='g5075' transform='translate(-1.3223836e-5,0)'%3E %3Cpath id='path3230-0-5-2' sodipodi:cx='21.573027' sodipodi:cy='29.287827' sodipodi:rx='18.363815' sodipodi:ry='18.720394' sodipodi:type='arc' class='st0' d=' M254.6,360.4c0,11.5-9.3,20.8-20.8,20.8s-20.8-9.3-20.8-20.8s9.3-20.8,20.8-20.8S254.6,349,254.6,360.4z'/%3E %3Cg id='g5066'%3E %3Cpath id='path4377' inkscape:connector-curvature='0' class='st1' d='M231.2,348.8l7.7,7.7l9.8-9.9l-1.9-1.9l-2.4-1.9l-2.1-1.2 l-1.5-0.7l-1.4-0.4L231.2,348.8z'/%3E %3Cg id='g4371' transform='translate(-189.27023,332.14547)'%3E %3Cg id='g4365'%3E %3Cpath id='path4361' inkscape:connector-curvature='0' sodipodi:nodetypes='ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc' class='st2' d=' M435.1,39.9c-0.1-0.3-0.2-0.6-0.3-0.9l-0.5-0.5l-0.8-0.6l-1-0.4l-1.5-0.4l-1.2-0.2l-1.6-0.1l-1,0.1l-1.2,0.4l-1.4,0.5 l-1.1,0.2l-1.7,0l-1.3-0.2l-1.3-0.2l-1.3-0.2l-1.2-0.1l-1.4-0.2l-1.3,0.1l-0.1-0.4l-0.2-0.8l0.1-0.6l0.2-0.2l0.9-0.6l0.9-0.8 l0.4-0.6l0-0.8l-0.1-0.8l-0.1-0.6l-0.2-0.5v-0.5l0.3-0.3l0.6-0.2l0.6-0.3l0.4-0.4l0.4-0.6l0.2-0.6l0.2-0.4l-0.1-0.3l-0.4-0.4 h-0.4l-0.3,0.2l-0.2,0.5l-0.2,0.6l-0.2,0.4l-0.6,0.3l-0.7,0.3l-0.5,0.5l-0.3,0.6l0,0.7l0.2,0.8l0.2,0.8l0.1,0.6l-0.1,0.3 l-0.6,0.4l-0.5,0.4l-0.5,0.4l-0.4,0.3l-0.3,0.6l-0.2,0.8l0.1,0.9l0.1,0.5l0.1,0.5l-0.7,0.3l-0.7,0.6l-0.4,0.6l-0.2,0.8 l0.2,0.8l0.7,0.8l1.1,1l1.1,0.6l1.3,0.5l1.3,0.3l2,0.2l2.2,0.1l2.5,0.2l2.2-0.1l2.2-0.2l1.7-0.3l1.6-0.4l1.7-0.7l1.2-0.7 l0.9-0.8l0.4-0.7L435.1,39.9'/%3E %3Cpath id='path4363' inkscape:connector-curvature='0' class='st3' d='M428.8,42.4l0.8-0.2l0.6-0.2l0.8-0.3l0.6-0.3l0.4-0.3 l0.3-0.3l0.4-0.3l0.3-0.4l0.2-0.5l0.1-0.4l0-0.3l0-0.1l0.2,0.2l0.1,0.3l0,0.2l0,0.3l-0.1,0.2l-0.1,0.2l-0.2,0.3l-0.2,0.2 l-0.3,0.2l-0.3,0.3l-0.4,0.2l-0.5,0.3l-0.3,0.2l-0.3,0.1l-0.4,0.1l-0.4,0.1l-0.3,0l-0.4,0l-0.4,0l-0.2,0L428.8,42.4z'/%3E %3C/g%3E %3Cpath id='path4369' inkscape:connector-curvature='0' class='st4' d='M419.2,25.3l2.5-3.8l-1.9-1.9l1.3-1.3l5.5,5.5l-1.3,1.3 l-1.9-1.9l-3.6,2.5L419.2,25.3z'/%3E %3C/g%3E %3Cpath id='path4406' inkscape:connector-curvature='0' sodipodi:nodetypes='cccccccc' class='st2' d='M231.3,348.8l7.8,7.8 l10.2-10.4c-0.7-1-1.7-1.7-2.8-2.5c-0.4-0.4-1.1-0.8-1.9-1.3c-0.6-0.7-1.4-1.1-2.5-1.4c-0.3-0.4-1.3-0.5-2.5-0.8L231.3,348.8z' /%3E %3C/g%3E %3C/g%3E %3C/g%3E %3C/g%3E %3C/svg%3E"},"0bf5205b88aba8162eac":function(e,t,l){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=a(l("aec43e730db4baaa2f6a")),r=a(l("9582b203e9cc9cae1aa8"));function a(e){return e&&e.__esModule?e:{default:e}}var o=(0,n.default)("v5",80,r.default);t.default=o,e.exports=t.default},"0bf817924258aa08734c":function(e,t,l){"use strict";t.__esModule=!0;var n,r=l("3ab2e978f88fe5b3f2d5"),a=(n=r)&&n.__esModule?n:{default:n};t.default=function(){function e(e,t){for(var l=0;l=0||Object.prototype.hasOwnProperty.call(e,n)&&(l[n]=e[n]);return l},U=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t},H=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return!1===t?String(e):String(e).replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")},V=function(e){var t=Z(e,g.TITLE),l=Z(e,D);if(l&&t)return l.replace(/%s/g,(function(){return Array.isArray(t)?t.join(""):t}));var n=Z(e,P);return t||n||void 0},W=function(e){return Z(e,j)||function(){}},$=function(e,t){return t.filter((function(t){return"undefined"!==typeof t[e]})).map((function(t){return t[e]})).reduce((function(e,t){return F({},e,t)}),{})},G=function(e,t){return t.filter((function(e){return"undefined"!==typeof e[g.BASE]})).map((function(e){return e[g.BASE]})).reverse().reduce((function(t,l){if(!t.length)for(var n=Object.keys(l),r=0;r=0;l--){var n=e[l];if(n.hasOwnProperty(t))return n[t]}return null},K=(r=Date.now(),function(e){var t=Date.now();t-r>16?(r=t,e(t)):setTimeout((function(){K(e)}),0)}),Y=function(e){return clearTimeout(e)},X="undefined"!==typeof window?window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||K:e.requestAnimationFrame||K,J="undefined"!==typeof window?window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||Y:e.cancelAnimationFrame||Y,Q=function(e){return console&&"function"===typeof console.warn&&console.warn(e)},ee=null,te=function(e,t){var l=e.baseTag,n=e.bodyAttributes,r=e.htmlAttributes,a=e.linkTags,o=e.metaTags,i=e.noscriptTags,s=e.onChangeClientState,c=e.scriptTags,u=e.styleTags,d=e.title,f=e.titleAttributes;re(g.BODY,n),re(g.HTML,r),ne(d,f);var p={baseTag:ae(g.BASE,l),linkTags:ae(g.LINK,a),metaTags:ae(g.META,o),noscriptTags:ae(g.NOSCRIPT,i),scriptTags:ae(g.SCRIPT,c),styleTags:ae(g.STYLE,u)},h={},m={};Object.keys(p).forEach((function(e){var t=p[e],l=t.newTags,n=t.oldTags;l.length&&(h[e]=l),n.length&&(m[e]=p[e].oldTags)})),t&&t(),s(e,h,m)},le=function(e){return Array.isArray(e)?e.join(""):e},ne=function(e,t){"undefined"!==typeof e&&document.title!==e&&(document.title=le(e)),re(g.TITLE,t)},re=function(e,t){var l=document.getElementsByTagName(e)[0];if(l){for(var n=l.getAttribute("data-react-helmet"),r=n?n.split(","):[],a=[].concat(r),o=Object.keys(t),i=0;i=0;d--)l.removeAttribute(a[d]);r.length===a.length?l.removeAttribute("data-react-helmet"):l.getAttribute("data-react-helmet")!==o.join(",")&&l.setAttribute("data-react-helmet",o.join(","))}},ae=function(e,t){var l=document.head||document.querySelector(g.HEAD),n=l.querySelectorAll(e+"[data-react-helmet]"),r=Array.prototype.slice.call(n),a=[],o=void 0;return t&&t.length&&t.forEach((function(t){var l=document.createElement(e);for(var n in t)if(t.hasOwnProperty(n))if(n===x)l.innerHTML=t.innerHTML;else if(n===v)l.styleSheet?l.styleSheet.cssText=t.cssText:l.appendChild(document.createTextNode(t.cssText));else{var i="undefined"===typeof t[n]?"":t[n];l.setAttribute(n,i)}l.setAttribute("data-react-helmet","true"),r.some((function(e,t){return o=t,l.isEqualNode(e)}))?r.splice(o,1):a.push(l)})),r.forEach((function(e){return e.parentNode.removeChild(e)})),a.forEach((function(e){return l.appendChild(e)})),{oldTags:r,newTags:a}},oe=function(e){return Object.keys(e).reduce((function(t,l){var n="undefined"!==typeof e[l]?l+'="'+e[l]+'"':""+l;return t?t+" "+n:n}),"")},ie=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(e).reduce((function(t,l){return t[E[l]||l]=e[l],t}),t)},se=function(e,t,l){switch(e){case g.TITLE:return{toComponent:function(){return e=t.title,l=t.titleAttributes,(n={key:e})["data-react-helmet"]=!0,r=ie(l,n),[d.createElement(g.TITLE,r,e)];var e,l,n,r},toString:function(){return function(e,t,l,n){var r=oe(l),a=le(t);return r?"<"+e+' data-react-helmet="true" '+r+">"+H(a,n)+"":"<"+e+' data-react-helmet="true">'+H(a,n)+""}(e,t.title,t.titleAttributes,l)}};case p:case h:return{toComponent:function(){return ie(t)},toString:function(){return oe(t)}};default:return{toComponent:function(){return function(e,t){return t.map((function(t,l){var n,r=((n={key:l})["data-react-helmet"]=!0,n);return Object.keys(t).forEach((function(e){var l=E[e]||e;if(l===x||l===v){var n=t.innerHTML||t.cssText;r.dangerouslySetInnerHTML={__html:n}}else r[l]=t[e]})),d.createElement(e,r)}))}(e,t)},toString:function(){return function(e,t,l){return t.reduce((function(t,n){var r=Object.keys(n).filter((function(e){return!(e===x||e===v)})).reduce((function(e,t){var r="undefined"===typeof n[t]?t:t+'="'+H(n[t],l)+'"';return e?e+" "+r:r}),""),a=n.innerHTML||n.cssText||"",o=-1===N.indexOf(e);return t+"<"+e+' data-react-helmet="true" '+r+(o?"/>":">"+a+"")}),"")}(e,t,l)}}}},ce=function(e){var t=e.baseTag,l=e.bodyAttributes,n=e.encode,r=e.htmlAttributes,a=e.linkTags,o=e.metaTags,i=e.noscriptTags,s=e.scriptTags,c=e.styleTags,u=e.title,d=void 0===u?"":u,f=e.titleAttributes;return{base:se(g.BASE,t,n),bodyAttributes:se(p,l,n),htmlAttributes:se(h,r,n),link:se(g.LINK,a,n),meta:se(g.META,o,n),noscript:se(g.NOSCRIPT,i,n),script:se(g.SCRIPT,s,n),style:se(g.STYLE,c,n),title:se(g.TITLE,{title:d,titleAttributes:f},n)}},ue=c((function(e){return{baseTag:G([b,_],e),bodyAttributes:$(p,e),defer:Z(e,A),encode:Z(e,T),htmlAttributes:$(h,e),linkTags:q(g.LINK,[O,b],e),metaTags:q(g.META,[S,y,w,C,k],e),noscriptTags:q(g.NOSCRIPT,[x],e),onChangeClientState:W(e),scriptTags:q(g.SCRIPT,[M,x],e),styleTags:q(g.STYLE,[v],e),title:V(e),titleAttributes:$(m,e)}}),(function(e){ee&&J(ee),e.defer?ee=X((function(){te(e,(function(){ee=null}))})):(te(e),ee=null)}),ce)((function(){return null})),de=(a=ue,i=o=function(e){function t(){return R(this,t),U(this,e.apply(this,arguments))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.shouldComponentUpdate=function(e){return!u(this.props,e)},t.prototype.mapNestedChildrenToProps=function(e,t){if(!t)return null;switch(e.type){case g.SCRIPT:case g.NOSCRIPT:return{innerHTML:t};case g.STYLE:return{cssText:t}}throw new Error("<"+e.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")},t.prototype.flattenArrayTypeChildren=function(e){var t,l=e.child,n=e.arrayTypeChildren,r=e.newChildProps,a=e.nestedChildren;return F({},n,((t={})[l.type]=[].concat(n[l.type]||[],[F({},r,this.mapNestedChildrenToProps(l,a))]),t))},t.prototype.mapObjectTypeChildren=function(e){var t,l,n=e.child,r=e.newProps,a=e.newChildProps,o=e.nestedChildren;switch(n.type){case g.TITLE:return F({},r,((t={})[n.type]=o,t.titleAttributes=F({},a),t));case g.BODY:return F({},r,{bodyAttributes:F({},a)});case g.HTML:return F({},r,{htmlAttributes:F({},a)})}return F({},r,((l={})[n.type]=F({},a),l))},t.prototype.mapArrayTypeChildrenToProps=function(e,t){var l=F({},t);return Object.keys(e).forEach((function(t){var n;l=F({},l,((n={})[t]=e[t],n))})),l},t.prototype.warnOnInvalidChildren=function(e,t){return!0},t.prototype.mapChildrenToProps=function(e,t){var l=this,n={};return d.Children.forEach(e,(function(e){if(e&&e.props){var r=e.props,a=r.children,o=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(e).reduce((function(t,l){return t[I[l]||l]=e[l],t}),t)}(z(r,["children"]));switch(l.warnOnInvalidChildren(e,a),e.type){case g.LINK:case g.META:case g.NOSCRIPT:case g.SCRIPT:case g.STYLE:n=l.flattenArrayTypeChildren({child:e,arrayTypeChildren:n,newChildProps:o,nestedChildren:a});break;default:t=l.mapObjectTypeChildren({child:e,newProps:t,newChildProps:o,nestedChildren:a})}}})),t=this.mapArrayTypeChildrenToProps(n,t)},t.prototype.render=function(){var e=this.props,t=e.children,l=z(e,["children"]),n=F({},l);return t&&(n=this.mapChildrenToProps(t,n)),d.createElement(a,n)},B(t,null,[{key:"canUseDOM",set:function(e){a.canUseDOM=e}}]),t}(d.Component),o.propTypes={base:s.object,bodyAttributes:s.object,children:s.oneOfType([s.arrayOf(s.node),s.node]),defaultTitle:s.string,defer:s.bool,encodeSpecialCharacters:s.bool,htmlAttributes:s.object,link:s.arrayOf(s.object),meta:s.arrayOf(s.object),noscript:s.arrayOf(s.object),onChangeClientState:s.func,script:s.arrayOf(s.object),style:s.arrayOf(s.object),title:s.string,titleAttributes:s.object,titleTemplate:s.string},o.defaultProps={defer:!0,encodeSpecialCharacters:!0},o.peek=a.peek,o.rewind=function(){var e=a.rewind();return e||(e=ce({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}})),e},i);de.renderStatic=de.rewind,t.Helmet=de}).call(this,l("698d75b157f24ae829cc"))},"0d7f6c423a7393c9b359":function(e,t,l){(t=e.exports=l("0e326f80368fd0b1333e")(!1)).push([e.i,".settings-options-wrapper{display:grid;grid-template-columns:repeat(auto-fill, minmax(275px, 1fr));grid-gap:20px;width:75%}.settings-option-block{display:flex;align-items:center;justify-content:center;background-color:#fff;box-shadow:2px 2px 4px 1px rgba(0,0,0,.2);border:1px solid #dedcde;min-height:140px;height:100%;padding:0px;cursor:pointer}.settings-option-block:hover{border:1px solid #141443}.settings-option-block:hover .settings-option-icon,.settings-option-block:hover .settings-option-title,.settings-option-block:hover .settings-option-navigate{color:#141443}.settings-option-block:active{box-shadow:inset 0 0 5px #aaa}.settings-option-icon{width:35px;margin:0px 20px;font-size:2.6em}.settings-option-text{display:flex;flex:1;flex-direction:column;min-height:inherit;height:inherit;padding:10px 10px}.settings-option-title{font-weight:bold}.settings-option-subtitle{font-size:.8em}.settings-option-navigate{color:#a9a9a9;text-decoration:underline;margin-top:10px;font-size:12px}.settings-banner-block{display:flex;width:75%;color:#fff;background-color:#141443;margin-top:20px;box-shadow:-2px -1px 8px 5px rgba(0,0,0,.2);min-height:100px;cursor:pointer}.settings-banner-icon{padding:30px 0;width:30%;height:100%;text-align:center;font-size:2em}.settings-banner-icon>img{width:40px}.settings-banner-text{display:flex;flex-wrap:nowrap;width:70%;padding:45px 0}.settings-banner-title{width:70%}.settings-banner-subtitle{width:30%;text-decoration:underline;text-align:center;padding-right:10px}.delivery-rules-icons{display:flex;align-items:center;gap:-10px;position:relative}.delivery-rules-icons .second-icon{position:absolute;left:20px;width:20px !important;height:20px !important}@media screen and (max-width: 1280px){.settings-options-wrapper,.settings-banner-block{width:100%}}",""]),t.locals={activeButtonBackground:"#141443",lightPrimary:"#4e4edb",primaryColor:"#141443",secondaryColor:"#3e438d",toggleBackgroundColor:"#14468c",toggleActiveThumb:"#06386a",toggleInactiveThumb:"#fafafa",toggleActiveBase:"#141443",toggleActiveWrapperBase:"#141443",toggleActiveHover:"#3e438d",toggleActiveWrapperHover:"#3e438d",toggleInactiveBase:"#cdcdcd",toggleInactiveWrapperBase:"#cdcdcd",toggleInactiveHover:"#dcdcdc",toggleInactiveWrapperHover:"#dcdcdc"}},"0d907c47ec602acfa030":function(e,t,l){"use strict";var n=l("e5a243b0d2e9e9bd500e"),r=l("e16a3cd35c890a9c2059");e.exports=function(e){var t,l,a=e.length,o=[],i=[],s=-1;for(;++sthis.length)&&(t=this.length),t-=e.length;var l=this.indexOf(e,t);return-1!==l&&l===t})),String.prototype.repeat||n(String.prototype,"repeat",(function(e){for(var t="",l=this;e>0;)1&e&&(t+=l),(e>>=1)&&(l+=l);return t})),String.prototype.includes||n(String.prototype,"includes",(function(e,t){return-1!=this.indexOf(e,t)})),Object.assign||(Object.assign=function(e){if(void 0===e||null===e)throw new TypeError("Cannot convert undefined or null to object");for(var t=Object(e),l=1;l>>0,n=arguments[1],r=n>>0,a=r<0?Math.max(l+r,0):Math.min(r,l),o=arguments[2],i=void 0===o?l:o>>0,s=i<0?Math.max(l+i,0):Math.min(i,l);a0;)1&t&&(l+=e),(t>>=1)&&(e+=e);return l};var n=/^\s\s*/,r=/\s\s*$/;t.stringTrimLeft=function(e){return e.replace(n,"")},t.stringTrimRight=function(e){return e.replace(r,"")},t.copyObject=function(e){var t={};for(var l in e)t[l]=e[l];return t},t.copyArray=function(e){for(var t=[],l=0,n=e.length;l65535?2:1}})),ace.define("ace/lib/useragent",["require","exports","module"],(function(e,t,l){"use strict";t.OS={LINUX:"LINUX",MAC:"MAC",WINDOWS:"WINDOWS"},t.getOS=function(){return t.isMac?t.OS.MAC:t.isLinux?t.OS.LINUX:t.OS.WINDOWS};var n="object"==typeof navigator?navigator:{},r=(/mac|win|linux/i.exec(n.platform)||["other"])[0].toLowerCase(),a=n.userAgent||"",o=n.appName||"";t.isWin="win"==r,t.isMac="mac"==r,t.isLinux="linux"==r,t.isIE="Microsoft Internet Explorer"==o||o.indexOf("MSAppHost")>=0?parseFloat((a.match(/(?:MSIE |Trident\/[0-9]+[\.0-9]+;.*rv:)([0-9]+[\.0-9]+)/)||[])[1]):parseFloat((a.match(/(?:Trident\/[0-9]+[\.0-9]+;.*rv:)([0-9]+[\.0-9]+)/)||[])[1]),t.isOldIE=t.isIE&&t.isIE<9,t.isGecko=t.isMozilla=a.match(/ Gecko\/\d+/),t.isOpera="object"==typeof opera&&"[object Opera]"==Object.prototype.toString.call(window.opera),t.isWebKit=parseFloat(a.split("WebKit/")[1])||void 0,t.isChrome=parseFloat(a.split(" Chrome/")[1])||void 0,t.isSafari=parseFloat(a.split(" Safari/")[1])&&!t.isChrome||void 0,t.isEdge=parseFloat(a.split(" Edge/")[1])||void 0,t.isAIR=a.indexOf("AdobeAIR")>=0,t.isAndroid=a.indexOf("Android")>=0,t.isChromeOS=a.indexOf(" CrOS ")>=0,t.isIOS=/iPad|iPhone|iPod/.test(a)&&!window.MSStream,t.isIOS&&(t.isMac=!0),t.isMobile=t.isIOS||t.isAndroid})),ace.define("ace/lib/dom",["require","exports","module","ace/lib/useragent"],(function(e,t,l){"use strict";var n,r=e("./useragent");t.buildDom=function e(t,l,n){if("string"==typeof t&&t){var r=document.createTextNode(t);return l&&l.appendChild(r),r}if(!Array.isArray(t))return t&&t.appendChild&&l&&l.appendChild(t),t;if("string"!=typeof t[0]||!t[0]){for(var a=[],o=0;o1&&(e.style.left=2*l-n+"px")}if(e.style.right){l=parseFloat(e.style.right),n=window.innerWidth-t.right;Math.abs(l-n)>1&&(e.style.right=2*l-n+"px")}if(e.style.top){l=parseFloat(e.style.top),n=+t.top;Math.abs(l-n)>1&&(e.style.top=2*l-n+"px")}if(e.style.bottom){l=parseFloat(e.style.bottom),n=window.innerHeight-t.bottom;Math.abs(l-n)>1&&(e.style.bottom=2*l-n+"px")}},t.scrollbarWidth=function(e){var l=t.createElement("ace_inner");l.style.width="100%",l.style.minWidth="0px",l.style.height="200px",l.style.display="block";var n=t.createElement("ace_outer"),r=n.style;r.position="absolute",r.left="-10000px",r.overflow="hidden",r.width="200px",r.minWidth="0px",r.height="150px",r.display="block",n.appendChild(l);var a=e&&e.documentElement||document&&document.documentElement;if(!a)return 0;a.appendChild(n);var o=l.offsetWidth;r.overflow="scroll";var i=l.offsetWidth;return o===i&&(i=n.clientWidth),a.removeChild(n),o-i},t.computedStyle=function(e,t){return window.getComputedStyle(e,"")||{}},t.setStyle=function(e,t,l){e[t]!==l&&(e[t]=l)},t.HAS_CSS_ANIMATION=!1,t.HAS_CSS_TRANSFORMS=!1,t.HI_DPI=!r.isWin||"undefined"!==typeof window&&window.devicePixelRatio>=1.5,r.isChromeOS&&(t.HI_DPI=!1),"undefined"!==typeof document){var s=document.createElement("div");t.HI_DPI&&void 0!==s.style.transform&&(t.HAS_CSS_TRANSFORMS=!0),r.isEdge||"undefined"===typeof s.style.animationName||(t.HAS_CSS_ANIMATION=!0),s=null}t.HAS_CSS_TRANSFORMS?t.translate=function(e,t,l){e.style.transform="translate("+Math.round(t)+"px, "+Math.round(l)+"px)"}:t.translate=function(e,t,l){e.style.top=Math.round(l)+"px",e.style.left=Math.round(t)+"px"}})),ace.define("ace/lib/net",["require","exports","module","ace/lib/dom"],(function(e,t,l){"use strict";var n=e("./dom");t.get=function(e,t){var l=new XMLHttpRequest;l.open("GET",e,!0),l.onreadystatechange=function(){4===l.readyState&&t(l.responseText)},l.send(null)},t.loadScript=function(e,t){var l=n.getDocumentHead(),r=document.createElement("script");r.src=e,l.appendChild(r),r.onload=r.onreadystatechange=function(e,l){!l&&r.readyState&&"loaded"!=r.readyState&&"complete"!=r.readyState||(r=r.onload=r.onreadystatechange=null,l||t())}},t.qualifyURL=function(e){var t=document.createElement("a");return t.href=e,t.href}})),ace.define("ace/lib/oop",["require","exports","module"],(function(e,t,l){"use strict";t.inherits=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})},t.mixin=function(e,t){for(var l in t)e[l]=t[l];return e},t.implement=function(e,l){t.mixin(e,l)}})),ace.define("ace/lib/event_emitter",["require","exports","module"],(function(e,t,l){"use strict";var n={},r=function(){this.propagationStopped=!0},a=function(){this.defaultPrevented=!0};n._emit=n._dispatchEvent=function(e,t){this._eventRegistry||(this._eventRegistry={}),this._defaultHandlers||(this._defaultHandlers={});var l=this._eventRegistry[e]||[],n=this._defaultHandlers[e];if(l.length||n){"object"==typeof t&&t||(t={}),t.type||(t.type=e),t.stopPropagation||(t.stopPropagation=r),t.preventDefault||(t.preventDefault=a),l=l.slice();for(var o=0;o1&&(r=l[l.length-2]);var o=i[t+"Path"];return null==o?o=i.basePath:"/"==n&&(t=n=""),o&&"/"!=o.slice(-1)&&(o+="/"),o+t+n+r+this.get("suffix")},t.setModuleUrl=function(e,t){return i.$moduleUrls[e]=t};var s;t.setLoader=function(e){s=e},t.dynamicModules=Object.create(null),t.$loading={},t.$loaded={},t.loadModule=function(l,n){var a;if(Array.isArray(l))var o=l[0],i=l[1];else if("string"==typeof l)i=l;var u=function(l){if(l&&!t.$loading[i])return n&&n(l);if(t.$loading[i]||(t.$loading[i]=[]),t.$loading[i].push(n),!(t.$loading[i].length>1)){var a=function(){!function(t,l){"ace/theme/textmate"===t||"./theme/textmate"===t?l(null,e("./theme/textmate")):s?s(t,l):console.error("loader is not configured")}(i,(function(e,l){l&&(t.$loaded[i]=l),t._emit("load.module",{name:i,module:l});var n=t.$loading[i];t.$loading[i]=null,n.forEach((function(e){e&&e(l)}))}))};if(!t.get("packaged"))return a();r.loadScript(t.moduleUrl(i,o),a),c()}};if(t.dynamicModules[i])t.dynamicModules[i]().then((function(e){e.default?u(e.default):u(e)}));else{try{a=this.$require(i)}catch(e){}u(a||t.$loaded[i])}},t.$require=function(e){if("function"==typeof l.require){return l.require(e)}},t.setModuleLoader=function(e,l){t.dynamicModules[e]=l};var c=function(){i.basePath||i.workerPath||i.modePath||i.themePath||Object.keys(i.$moduleUrls).length||(console.error("Unable to infer path to ace from script src,","use ace.config.set('basePath', 'path') to enable dynamic loading of modes and themes","or with webpack use ace/webpack-resolver"),c=function(){})};t.version="1.43.6"})),ace.define("ace/loader_build",["require","exports","module","ace/lib/fixoldbrowsers","ace/config"],(function(e,t,n){"use strict";e("./lib/fixoldbrowsers");var r=e("./config");r.setLoader((function(t,l){e([t],(function(e){l(null,e)}))}));var a=function(){return this||"undefined"!=typeof window&&window}();function o(t){if(a&&a.document){r.set("packaged",t||e.packaged||n.packaged||a.define&&l("30d1801ce607fbf6870f").packaged);var o={},i="",s=document.currentScript||document._currentScript,c=s&&s.ownerDocument||document;s&&s.src&&(i=s.src.split(/[?#]/)[0].split("/").slice(0,-1).join("/")||"");for(var u,d=c.getElementsByTagName("script"),f=0;f ["+this.end.row+"/"+this.end.column+"]"},e.prototype.contains=function(e,t){return 0==this.compare(e,t)},e.prototype.compareRange=function(e){var t,l=e.end,n=e.start;return 1==(t=this.compare(l.row,l.column))?1==(t=this.compare(n.row,n.column))?2:0==t?1:0:-1==t?-2:-1==(t=this.compare(n.row,n.column))?-1:1==t?42:0},e.prototype.comparePoint=function(e){return this.compare(e.row,e.column)},e.prototype.containsRange=function(e){return 0==this.comparePoint(e.start)&&0==this.comparePoint(e.end)},e.prototype.intersects=function(e){var t=this.compareRange(e);return-1==t||0==t||1==t},e.prototype.isEnd=function(e,t){return this.end.row==e&&this.end.column==t},e.prototype.isStart=function(e,t){return this.start.row==e&&this.start.column==t},e.prototype.setStart=function(e,t){"object"==typeof e?(this.start.column=e.column,this.start.row=e.row):(this.start.row=e,this.start.column=t)},e.prototype.setEnd=function(e,t){"object"==typeof e?(this.end.column=e.column,this.end.row=e.row):(this.end.row=e,this.end.column=t)},e.prototype.inside=function(e,t){return 0==this.compare(e,t)&&(!this.isEnd(e,t)&&!this.isStart(e,t))},e.prototype.insideStart=function(e,t){return 0==this.compare(e,t)&&!this.isEnd(e,t)},e.prototype.insideEnd=function(e,t){return 0==this.compare(e,t)&&!this.isStart(e,t)},e.prototype.compare=function(e,t){return this.isMultiLine()||e!==this.start.row?ethis.end.row?1:this.start.row===e?t>=this.start.column?0:-1:this.end.row===e?t<=this.end.column?0:1:0:tthis.end.column?1:0},e.prototype.compareStart=function(e,t){return this.start.row==e&&this.start.column==t?-1:this.compare(e,t)},e.prototype.compareEnd=function(e,t){return this.end.row==e&&this.end.column==t?1:this.compare(e,t)},e.prototype.compareInside=function(e,t){return this.end.row==e&&this.end.column==t?1:this.start.row==e&&this.start.column==t?-1:this.compare(e,t)},e.prototype.clipRows=function(t,l){if(this.end.row>l)var n={row:l+1,column:0};else if(this.end.rowl)var r={row:l+1,column:0};else if(this.start.row1?++d>4&&(d=1):d=1,a.isIE){var o=Math.abs(e.clientX-i)>5||Math.abs(e.clientY-s)>5;c&&!o||(d=1),c&&clearTimeout(c),c=setTimeout((function(){c=null}),l[d-1]||600),1==d&&(i=e.clientX,s=e.clientY)}if(e._clicks=d,n[r]("mousedown",e),d>4)d=0;else if(d>1)return n[r](f[d],e)}Array.isArray(e)||(e=[e]),e.forEach((function(e){u(e,"mousedown",p,o)}))},t.getModifierString=function(e){return r.KEY_MODS[f(e)]},t.addCommandKeyListener=function(e,l,n){var s=null;u(e,"keydown",(function(e){o[e.keyCode]=(o[e.keyCode]||0)+1;var t=function(e,t,l){var n=f(t);if(!l&&t.code&&(l=r.$codeToKeyCode[t.code]||l),!a.isMac&&o){if(t.getModifierState&&(t.getModifierState("OS")||t.getModifierState("Win"))&&(n|=8),o.altGr){if(3==(3&n))return;o.altGr=0}if(18===l||17===l){var s=t.location;if(17===l&&1===s)1==o[l]&&(i=t.timeStamp);else if(18===l&&3===n&&2===s){t.timeStamp-i<50&&(o.altGr=!0)}}}if(l in r.MODIFIER_KEYS&&(l=-1),n||13!==l||3!==t.location||(e(t,n,-l),!t.defaultPrevented)){if(a.isChromeOS&&8&n){if(e(t,n,l),t.defaultPrevented)return;n&=-9}return!!(n||l in r.FUNCTION_KEYS||l in r.PRINTABLE_KEYS)&&e(t,n,l)}}(l,e,e.keyCode);return s=e.defaultPrevented,t}),n),u(e,"keypress",(function(e){s&&(e.ctrlKey||e.altKey||e.shiftKey||e.metaKey)&&(t.stopEvent(e),s=null)}),n),u(e,"keyup",(function(e){o[e.keyCode]=null}),n),o||(p(),u(window,"focus",p))},"object"==typeof window&&window.postMessage&&!a.isOldIE){var h=1;t.nextTick=function(e,l){l=l||window;var n="zero-timeout-message-"+h++,r=function(a){a.data==n&&(t.stopPropagation(a),d(l,"message",r),e())};u(l,"message",r),l.postMessage(n,"*")}}t.$idleBlocked=!1,t.onIdle=function(e,l){return setTimeout((function l(){t.$idleBlocked?setTimeout(l,100):e()}),l)},t.$idleBlockId=null,t.blockIdle=function(e){t.$idleBlockId&&clearTimeout(t.$idleBlockId),t.$idleBlocked=!0,t.$idleBlockId=setTimeout((function(){t.$idleBlocked=!1}),e||100)},t.nextFrame="object"==typeof window&&(window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame||window.oRequestAnimationFrame),t.nextFrame?t.nextFrame=t.nextFrame.bind(window):t.nextFrame=function(e){setTimeout(e,17)}})),ace.define("ace/clipboard",["require","exports","module"],(function(e,t,l){"use strict";var n;l.exports={lineMode:!1,pasteCancelled:function(){return!!(n&&n>Date.now()-50)||(n=!1)},cancel:function(){n=Date.now()}}})),ace.define("ace/keyboard/textinput",["require","exports","module","ace/lib/event","ace/config","ace/lib/useragent","ace/lib/dom","ace/lib/lang","ace/clipboard","ace/lib/keys"],(function(e,t,l){"use strict";var n=e("../lib/event"),r=e("../config").nls,a=e("../lib/useragent"),o=e("../lib/dom"),i=e("../lib/lang"),s=e("../clipboard"),c=a.isChrome<18,u=a.isIE,d=a.isChrome>63,f=e("../lib/keys"),p=f.KEY_MODS,h=a.isIOS,m=h?/\s/:/\n/,g=a.isMobile,y=function(){function e(e,t){var l=this;this.host=t,this.text=o.createElement("textarea"),this.text.className="ace_text-input",this.text.setAttribute("wrap","off"),this.text.setAttribute("autocomplete","off"),this.text.setAttribute("autocorrect","off"),this.text.setAttribute("autocapitalize","off"),this.text.setAttribute("spellcheck","false"),this.text.style.opacity="0",e.insertBefore(this.text,e.firstChild),this.copied=!1,this.pasted=!1,this.inComposition=!1,this.sendingText=!1,this.tempStyle="",g||(this.text.style.fontSize="1px"),this.commandMode=!1,this.ignoreFocusEvents=!1,this.lastValue="",this.lastSelectionStart=0,this.lastSelectionEnd=0,this.lastRestoreEnd=0,this.rowStart=Number.MAX_SAFE_INTEGER,this.rowEnd=Number.MIN_SAFE_INTEGER,this.numberOfExtraLines=0;try{this.$isFocused=document.activeElement===this.text}catch(e){}this.cancelComposition=this.cancelComposition.bind(this),this.setAriaOptions({role:"textbox"}),n.addListener(this.text,"blur",(function(e){l.ignoreFocusEvents||(t.onBlur(e),l.$isFocused=!1)}),t),n.addListener(this.text,"focus",(function(e){if(!l.ignoreFocusEvents){if(l.$isFocused=!0,a.isEdge)try{if(!document.hasFocus())return}catch(e){}t.onFocus(e),a.isEdge?setTimeout(l.resetSelection.bind(l)):l.resetSelection()}}),t),this.$focusScroll=!1,t.on("beforeEndOperation",(function(){var e=t.curOp,n=e&&e.command&&e.command.name;if("insertstring"!=n){var r=n&&(e.docChanged||e.selectionChanged);l.inComposition&&r&&(l.lastValue=l.text.value="",l.onCompositionEnd()),l.resetSelection()}})),t.on("changeSelection",this.setAriaLabel.bind(this)),this.resetSelection=h?this.$resetSelectionIOS:this.$resetSelection,this.$isFocused&&t.onFocus(),this.inputHandler=null,this.afterContextMenu=!1,n.addCommandKeyListener(this.text,(function(e,n,r){if(!l.inComposition)return t.onCommandKey(e,n,r)}),t),n.addListener(this.text,"select",this.onSelect.bind(this),t),n.addListener(this.text,"input",this.onInput.bind(this),t),n.addListener(this.text,"cut",this.onCut.bind(this),t),n.addListener(this.text,"copy",this.onCopy.bind(this),t),n.addListener(this.text,"paste",this.onPaste.bind(this),t),"oncut"in this.text&&"oncopy"in this.text&&"onpaste"in this.text||n.addListener(e,"keydown",(function(e){if((!a.isMac||e.metaKey)&&e.ctrlKey)switch(e.keyCode){case 67:l.onCopy(e);break;case 86:l.onPaste(e);break;case 88:l.onCut(e)}}),t),this.syncComposition=i.delayedCall(this.onCompositionUpdate.bind(this),50).schedule.bind(null,null),n.addListener(this.text,"compositionstart",this.onCompositionStart.bind(this),t),n.addListener(this.text,"compositionupdate",this.onCompositionUpdate.bind(this),t),n.addListener(this.text,"keyup",this.onKeyup.bind(this),t),n.addListener(this.text,"keydown",this.syncComposition.bind(this),t),n.addListener(this.text,"compositionend",this.onCompositionEnd.bind(this),t),this.closeTimeout,n.addListener(this.text,"mouseup",this.$onContextMenu.bind(this),t),n.addListener(this.text,"mousedown",(function(e){e.preventDefault(),l.onContextMenuClose()}),t),n.addListener(t.renderer.scroller,"contextmenu",this.$onContextMenu.bind(this),t),n.addListener(this.text,"contextmenu",this.$onContextMenu.bind(this),t),h&&this.addIosSelectionHandler(e,t,this.text)}return e.prototype.addIosSelectionHandler=function(e,t,l){var n=this,r=null,a=!1;l.addEventListener("keydown",(function(e){r&&clearTimeout(r),a=!0}),!0),l.addEventListener("keyup",(function(e){r=setTimeout((function(){a=!1}),100)}),!0);var o=function(e){if(document.activeElement===l&&!(a||n.inComposition||t.$mouseHandler.isMousePressed)&&!n.copied){var r=l.selectionStart,o=l.selectionEnd,i=null,s=0;if(0==r?i=f.up:1==r?i=f.home:o>n.lastSelectionEnd&&"\n"==n.lastValue[o]?i=f.end:rn.lastSelectionEnd&&n.lastValue.slice(0,o).split("\n").length>2?i=f.down:o>n.lastSelectionEnd&&" "==n.lastValue[o-1]?(i=f.right,s=p.option):(o>n.lastSelectionEnd||o==n.lastSelectionEnd&&n.lastSelectionEnd!=n.lastSelectionStart&&r==o)&&(i=f.right),r!==o&&(s|=p.shift),i){if(!t.onCommandKey({},s,i)&&t.commands){i=f.keyCodeToString(i);var c=t.commands.findKeyCommand(s,i);c&&t.execCommand(c)}n.lastSelectionStart=r,n.lastSelectionEnd=o,n.resetSelection("")}}};document.addEventListener("selectionchange",o),t.on("destroy",(function(){document.removeEventListener("selectionchange",o)}))},e.prototype.onContextMenuClose=function(){var e=this;clearTimeout(this.closeTimeout),this.closeTimeout=setTimeout((function(){e.tempStyle&&(e.text.style.cssText=e.tempStyle,e.tempStyle=""),e.host.renderer.$isMousePressed=!1,e.host.renderer.$keepTextAreaAtCursor&&e.host.renderer.$moveTextAreaToCursor()}),0)},e.prototype.$onContextMenu=function(e){this.host.textInput.onContextMenu(e),this.onContextMenuClose()},e.prototype.onKeyup=function(e){27==e.keyCode&&this.text.value.length500||m.test(l)||g&&this.lastSelectionStart<1&&this.lastSelectionStart==this.lastSelectionEnd)&&this.resetSelection()},e.prototype.sendText=function(e,t){if(this.afterContextMenu&&(this.afterContextMenu=!1),this.pasted)return this.resetSelection(),e&&this.host.onPaste(e),this.pasted=!1,"";for(var l=this.text.selectionStart,n=this.text.selectionEnd,r=this.lastSelectionStart,o=this.lastValue.length-this.lastSelectionEnd,i=e,s=e.length-l,c=e.length-n,u=0;r>0&&this.lastValue[u]==e[u];)u++,r--;for(i=i.slice(u),u=1;o>0&&this.lastValue.length-u>this.lastSelectionStart-1&&this.lastValue[this.lastValue.length-u]==e[e.length-u];)u++,o--;s-=u-1,c-=u-1;var d=i.length-u+1;if(d<0&&(r=-d,d=0),i=i.slice(0,d),!t&&!i&&!s&&!r&&!o&&!c)return"";this.sendingText=!0;var f=!1;return a.isAndroid&&". "==i&&(i=" ",f=!0),i&&!r&&!o&&!s&&!c||this.commandMode?this.host.onTextInput(i):this.host.onTextInput(i,{extendLeft:r,extendRight:o,restoreStart:s,restoreEnd:c}),this.sendingText=!1,this.lastValue=e,this.lastSelectionStart=l,this.lastSelectionEnd=n,this.lastRestoreEnd=c,f?"\n":i},e.prototype.onSelect=function(e){var t=this;if(!this.inComposition){var l;this.copied?this.copied=!1:0===(l=this.text).selectionStart&&l.selectionEnd>=t.lastValue.length&&l.value===t.lastValue&&t.lastValue&&l.selectionEnd!==t.lastSelectionEnd?(this.host.selectAll(),this.resetSelection()):g&&this.text.selectionStart!=this.lastSelectionStart&&this.resetSelection()}},e.prototype.$resetSelectionIOS=function(e){if(this.$isFocused&&(!this.copied||e)&&!this.sendingText){e||(e="");var t="\n ab"+e+"cde fg\n";t!=this.text.value&&(this.text.value=this.lastValue=t);var l=4+(e.length||(this.host.selection.isEmpty()?0:1));4==this.lastSelectionStart&&this.lastSelectionEnd==l||this.text.setSelectionRange(4,l),this.lastSelectionStart=4,this.lastSelectionEnd=l}},e.prototype.$resetSelection=function(){var e=this;if(!this.inComposition&&!this.sendingText&&(this.$isFocused||this.afterContextMenu)){this.inComposition=!0;var t=0,l=0,n="",r=function(t,l){for(var n=l,r=1;r<=t-e.rowStart&&r<2*e.numberOfExtraLines+1;r++)n+=e.host.session.getLine(t-r).length+1;return n};if(this.host.session){var a=this.host.selection,o=a.getRange(),i=a.cursor.row;i===this.rowEnd+1?(this.rowStart=this.rowEnd+1,this.rowEnd=this.rowStart+2*this.numberOfExtraLines):i===this.rowStart-1?(this.rowEnd=this.rowStart-1,this.rowStart=this.rowEnd-2*this.numberOfExtraLines):(ithis.rowEnd+1)&&(this.rowStart=i>this.numberOfExtraLines?i-this.numberOfExtraLines:0,this.rowEnd=i>this.numberOfExtraLines?i+this.numberOfExtraLines:2*this.numberOfExtraLines);for(var s=[],c=this.rowStart;c<=this.rowEnd;c++)s.push(this.host.session.getLine(c));if(n=s.join("\n"),t=r(o.start.row,o.start.column),l=r(o.end.row,o.end.column),o.start.rowthis.rowEnd){var d=this.host.session.getLine(this.rowEnd+1);l=o.end.row>this.rowEnd+1?d.length:o.end.column,l+=n.length+1,n=n+"\n"+d}else g&&i>0&&(n="\n"+n,l+=1,t+=1);n.length>400&&(t<400&&l<400?n=n.slice(0,400):(n="\n",t==l?t=l=0:(t=0,l=1)));var f=n+"\n\n";f!=this.lastValue&&(this.text.value=this.lastValue=f,this.lastSelectionStart=this.lastSelectionEnd=f.length)}if(this.afterContextMenu&&(this.lastSelectionStart=this.text.selectionStart,this.lastSelectionEnd=this.text.selectionEnd),this.lastSelectionEnd!=l||this.lastSelectionStart!=t||this.text.selectionEnd!=this.lastSelectionEnd)try{this.text.setSelectionRange(t,l),this.lastSelectionStart=t,this.lastSelectionEnd=l}catch(e){}this.inComposition=!1}},e.prototype.setHost=function(e){this.host=e},e.prototype.setNumberOfExtraLines=function(e){this.rowStart=Number.MAX_SAFE_INTEGER,this.rowEnd=Number.MIN_SAFE_INTEGER,this.numberOfExtraLines=e<0?0:e},e.prototype.setAriaLabel=function(){var e="";if(this.host.$textInputAriaLabel&&(e+="".concat(this.host.$textInputAriaLabel,", ")),this.host.session){var t=this.host.session.selection.cursor.row;e+=r("text-input.aria-label","Cursor at row $0",[t+1])}this.text.setAttribute("aria-label",e)},e.prototype.setAriaOptions=function(e){e.activeDescendant?(this.text.setAttribute("aria-haspopup","true"),this.text.setAttribute("aria-autocomplete",e.inline?"both":"list"),this.text.setAttribute("aria-activedescendant",e.activeDescendant)):(this.text.setAttribute("aria-haspopup","false"),this.text.setAttribute("aria-autocomplete","both"),this.text.removeAttribute("aria-activedescendant")),e.role&&this.text.setAttribute("role",e.role),e.setLabel&&(this.text.setAttribute("aria-roledescription",r("text-input.aria-roledescription","editor")),this.setAriaLabel())},e.prototype.focus=function(){var e=this;if(this.setAriaOptions({setLabel:this.host.renderer.enableKeyboardAccessibility}),this.tempStyle||d||"browser"==this.$focusScroll)return this.text.focus({preventScroll:!0});var t=this.text.style.top;this.text.style.position="fixed",this.text.style.top="0px";try{var l=0!=this.text.getBoundingClientRect().top}catch(e){return}var n=[];if(l)for(var r=this.text.parentElement;r&&1==r.nodeType;)n.push(r),r.setAttribute("ace_nocontext","true"),r=!r.parentElement&&r.getRootNode?r.getRootNode().host:r.parentElement;this.text.focus({preventScroll:!0}),l&&n.forEach((function(e){e.removeAttribute("ace_nocontext")})),setTimeout((function(){e.text.style.position="","0px"==e.text.style.top&&(e.text.style.top=t)}),0)},e.prototype.blur=function(){this.text.blur()},e.prototype.isFocused=function(){return this.$isFocused},e.prototype.setInputHandler=function(e){this.inputHandler=e},e.prototype.getInputHandler=function(){return this.inputHandler},e.prototype.getElement=function(){return this.text},e.prototype.setCommandMode=function(e){this.commandMode=e,this.text.readOnly=!1},e.prototype.setReadOnly=function(e){this.commandMode||(this.text.readOnly=e)},e.prototype.setCopyWithEmptySelection=function(e){},e.prototype.onContextMenu=function(e){this.afterContextMenu=!0,this.resetSelection(),this.host._emit("nativecontextmenu",{target:this.host,domEvent:e}),this.moveToMouse(e,!0)},e.prototype.moveToMouse=function(e,t){var l=this;this.tempStyle||(this.tempStyle=this.text.style.cssText),this.text.style.cssText=(t?"z-index:100000;":"")+(a.isIE?"opacity:0.1;":"")+"text-indent: -"+(this.lastSelectionStart+this.lastSelectionEnd)*this.host.renderer.characterWidth*.5+"px;";var r=this.host.container.getBoundingClientRect(),i=o.computedStyle(this.host.container),s=r.top+(parseInt(i.borderTopWidth)||0),c=r.left+(parseInt(i.borderLeftWidth)||0),u=r.bottom-s-this.text.clientHeight-2,d=function(e){o.translate(l.text,e.clientX-c-2,Math.min(e.clientY-s-2,u))};d(e),"mousedown"==e.type&&(this.host.renderer.$isMousePressed=!0,clearTimeout(this.closeTimeout),a.isWin&&n.capture(this.host.container,d,this.onContextMenuClose.bind(this)))},e.prototype.destroy=function(){this.text.parentElement&&this.text.parentElement.removeChild(this.text)},e}();t.TextInput=y,t.$setUserAgentForTests=function(e,t){g=e,h=t}})),ace.define("ace/mouse/default_handlers",["require","exports","module","ace/lib/useragent"],(function(e,t,l){"use strict";var n=e("../lib/useragent"),r=function(){function e(e){e.$clickSelection=null;var t=e.editor;t.setDefaultHandler("mousedown",this.onMouseDown.bind(e)),t.setDefaultHandler("dblclick",this.onDoubleClick.bind(e)),t.setDefaultHandler("tripleclick",this.onTripleClick.bind(e)),t.setDefaultHandler("quadclick",this.onQuadClick.bind(e)),t.setDefaultHandler("mousewheel",this.onMouseWheel.bind(e));["select","startSelect","selectEnd","selectAllEnd","selectByWordsEnd","selectByLinesEnd","dragWait","dragWaitEnd","focusWait"].forEach((function(t){e[t]=this[t]}),this),e.selectByLines=this.extendSelectionBy.bind(e,"getLineRange"),e.selectByWords=this.extendSelectionBy.bind(e,"getWordRange")}return e.prototype.onMouseDown=function(e){var t=e.inSelection(),l=e.getDocumentPosition();this.mousedownEvent=e;var r=this.editor,a=e.getButton();return 0!==a?((r.getSelectionRange().isEmpty()||1==a)&&r.selection.moveToPosition(l),void(2==a&&(r.textInput.onContextMenu(e.domEvent),n.isMozilla||e.preventDefault()))):(this.mousedownEvent.time=Date.now(),!t||r.isFocused()||(r.focus(),!this.$focusTimeout||this.$clickSelection||r.inMultiSelectMode)?(this.captureMouse(e),this.startSelect(l,e.domEvent._clicks>1),e.preventDefault()):(this.setState("focusWait"),void this.captureMouse(e)))},e.prototype.startSelect=function(e,t){e=e||this.editor.renderer.screenToTextCoordinates(this.x,this.y);var l=this.editor;this.mousedownEvent&&(this.mousedownEvent.getShiftKey()?l.selection.selectToPosition(e):t||l.selection.moveToPosition(e),t||this.select(),l.setStyle("ace_selecting"),this.setState("select"))},e.prototype.select=function(){var e,t=this.editor,l=t.renderer.screenToTextCoordinates(this.x,this.y);if(this.$clickSelection){var n=this.$clickSelection.comparePoint(l);if(-1==n)e=this.$clickSelection.end;else if(1==n)e=this.$clickSelection.start;else{var r=a(this.$clickSelection,l,t.session);l=r.cursor,e=r.anchor}t.selection.setSelectionAnchor(e.row,e.column)}t.selection.selectToPosition(l),t.renderer.scrollCursorIntoView()},e.prototype.extendSelectionBy=function(e){var t,l=this.editor,n=l.renderer.screenToTextCoordinates(this.x,this.y),r=l.selection[e](n.row,n.column);if(this.$clickSelection){var o=this.$clickSelection.comparePoint(r.start),i=this.$clickSelection.comparePoint(r.end);if(-1==o&&i<=0)t=this.$clickSelection.end,r.end.row==n.row&&r.end.column==n.column||(n=r.start);else if(1==i&&o>=0)t=this.$clickSelection.start,r.start.row==n.row&&r.start.column==n.column||(n=r.end);else if(-1==o&&1==i)n=r.end,t=r.start;else{var s=a(this.$clickSelection,n,l.session);n=s.cursor,t=s.anchor}l.selection.setSelectionAnchor(t.row,t.column)}l.selection.selectToPosition(n),l.renderer.scrollCursorIntoView()},e.prototype.selectByLinesEnd=function(){this.$clickSelection=null,this.editor.unsetStyle("ace_selecting")},e.prototype.focusWait=function(){var e,t,l,n,r=(e=this.mousedownEvent.x,t=this.mousedownEvent.y,l=this.x,n=this.y,Math.sqrt(Math.pow(l-e,2)+Math.pow(n-t,2))),a=Date.now();(r>0||a-this.mousedownEvent.time>this.$focusTimeout)&&this.startSelect(this.mousedownEvent.getDocumentPosition())},e.prototype.onDoubleClick=function(e){var t=e.getDocumentPosition(),l=this.editor,n=l.session.getBracketRange(t);n?(n.isEmpty()&&(n.start.column--,n.end.column++),this.setState("select")):(n=l.selection.getWordRange(t.row,t.column),this.setState("selectByWords")),this.$clickSelection=n,this.select()},e.prototype.onTripleClick=function(e){var t=e.getDocumentPosition(),l=this.editor;this.setState("selectByLines");var n=l.getSelectionRange();n.isMultiLine()&&n.contains(t.row,t.column)?(this.$clickSelection=l.selection.getLineRange(n.start.row),this.$clickSelection.end=l.selection.getLineRange(n.end.row).end):this.$clickSelection=l.selection.getLineRange(t.row),this.select()},e.prototype.onQuadClick=function(e){var t=this.editor;t.selectAll(),this.$clickSelection=t.getSelectionRange(),this.setState("selectAll")},e.prototype.onMouseWheel=function(e){if(!e.getAccelKey()){e.getShiftKey()&&e.wheelY&&!e.wheelX&&(e.wheelX=e.wheelY,e.wheelY=0);var t=this.editor;this.$lastScroll||(this.$lastScroll={t:0,vx:0,vy:0,allowed:0});var l=this.$lastScroll,n=e.domEvent.timeStamp,r=n-l.t,a=r?e.wheelX/r:l.vx,o=r?e.wheelY/r:l.vy;r<550&&(a=(a+l.vx)/2,o=(o+l.vy)/2);var i=Math.abs(a/o),s=!1;if(i>=1&&t.renderer.isScrollableBy(e.wheelX*e.speed,0)&&(s=!0),i<=1&&t.renderer.isScrollableBy(0,e.wheelY*e.speed)&&(s=!0),s)l.allowed=n;else if(n-l.allowed<550){Math.abs(a)<=1.5*Math.abs(l.vx)&&Math.abs(o)<=1.5*Math.abs(l.vy)?(s=!0,l.allowed=n):l.allowed=0}return l.t=n,l.vx=a,l.vy=o,s?(t.renderer.scrollBy(e.wheelX*e.speed,e.wheelY*e.speed),e.stop()):void 0}},e}();function a(e,t,l){if(e.start.row==e.end.row)var n=2*t.column-e.start.column-e.end.column;else if(e.start.row!=e.end.row-1||e.start.column||e.end.column)n=2*t.row-e.start.row-e.end.row;else var n=3*t.column-2*l.getLine(e.start.row).length;return n<0?{cursor:e.start,anchor:e.end}:{cursor:e.end,anchor:e.start}}r.prototype.selectEnd=r.prototype.selectByLinesEnd,r.prototype.selectAllEnd=r.prototype.selectByLinesEnd,r.prototype.selectByWordsEnd=r.prototype.selectByLinesEnd,t.DefaultHandlers=r})),ace.define("ace/mouse/mouse_event",["require","exports","module","ace/lib/event","ace/lib/useragent"],(function(e,t,l){"use strict";var n=e("../lib/event"),r=e("../lib/useragent"),a=function(){function e(e,t){this.speed,this.wheelX,this.wheelY,this.domEvent=e,this.editor=t,this.x=this.clientX=e.clientX,this.y=this.clientY=e.clientY,this.$pos=null,this.$inSelection=null,this.propagationStopped=!1,this.defaultPrevented=!1}return e.prototype.stopPropagation=function(){n.stopPropagation(this.domEvent),this.propagationStopped=!0},e.prototype.preventDefault=function(){n.preventDefault(this.domEvent),this.defaultPrevented=!0},e.prototype.stop=function(){this.stopPropagation(),this.preventDefault()},e.prototype.getDocumentPosition=function(){return this.$pos||(this.$pos=this.editor.renderer.screenToTextCoordinates(this.clientX,this.clientY)),this.$pos},e.prototype.getGutterRow=function(){var e=this.getDocumentPosition().row;return this.editor.session.documentToScreenRow(e,0)-this.editor.session.documentToScreenRow(this.editor.renderer.$gutterLayer.$lines.get(0).row,0)},e.prototype.inSelection=function(){if(null!==this.$inSelection)return this.$inSelection;var e=this.editor.getSelectionRange();if(e.isEmpty())this.$inSelection=!1;else{var t=this.getDocumentPosition();this.$inSelection=e.contains(t.row,t.column)}return this.$inSelection},e.prototype.getButton=function(){return n.getButton(this.domEvent)},e.prototype.getShiftKey=function(){return this.domEvent.shiftKey},e.prototype.getAccelKey=function(){return r.isMac?this.domEvent.metaKey:this.domEvent.ctrlKey},e}();t.MouseEvent=a})),ace.define("ace/lib/scroll",["require","exports","module"],(function(e,t,l){t.preventParentScroll=function(e){e.stopPropagation();var t=e.currentTarget;t.scrollHeight>t.clientHeight||e.preventDefault()}})),ace.define("ace/tooltip",["require","exports","module","ace/lib/dom","ace/lib/event","ace/range","ace/lib/scroll"],(function(e,t,l){"use strict";var n,r=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var l in t)Object.prototype.hasOwnProperty.call(t,l)&&(e[l]=t[l])})(e,t)},function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function l(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(l.prototype=t.prototype,new l)}),a=this&&this.__values||function(e){var t="function"===typeof Symbol&&Symbol.iterator,l=t&&e[t],n=0;if(l)return l.call(e);if(e&&"number"===typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},o=e("./lib/dom"),i=(e("./lib/event"),e("./range").Range),s=e("./lib/scroll").preventParentScroll,c=function(){function e(e){this.isOpen=!1,this.$element=null,this.$parentNode=e}return e.prototype.$init=function(){return this.$element=o.createElement("div"),this.$element.className="ace_tooltip",this.$element.style.display="none",this.$parentNode.appendChild(this.$element),this.$element},e.prototype.getElement=function(){return this.$element||this.$init()},e.prototype.setText=function(e){this.getElement().textContent=e},e.prototype.setHtml=function(e){this.getElement().innerHTML=e},e.prototype.setPosition=function(e,t){this.getElement().style.left=e+"px",this.getElement().style.top=t+"px"},e.prototype.setClassName=function(e){o.addCssClass(this.getElement(),e)},e.prototype.setTheme=function(e){this.theme&&(this.theme.isDark&&o.removeCssClass(this.getElement(),"ace_dark"),this.theme.cssClass&&o.removeCssClass(this.getElement(),this.theme.cssClass)),e.isDark&&o.addCssClass(this.getElement(),"ace_dark"),e.cssClass&&o.addCssClass(this.getElement(),e.cssClass),this.theme={isDark:e.isDark,cssClass:e.cssClass}},e.prototype.show=function(e,t,l){null!=e&&this.setText(e),null!=t&&null!=l&&this.setPosition(t,l),this.isOpen||(this.getElement().style.display="block",this.isOpen=!0)},e.prototype.hide=function(e){this.isOpen&&(this.getElement().style.display="none",this.getElement().className="ace_tooltip",this.isOpen=!1)},e.prototype.getHeight=function(){return this.getElement().offsetHeight},e.prototype.getWidth=function(){return this.getElement().offsetWidth},e.prototype.destroy=function(){this.isOpen=!1,this.$element&&this.$element.parentNode&&this.$element.parentNode.removeChild(this.$element)},e}(),u=new(function(){function e(){this.popups=[]}return e.prototype.addPopup=function(e){this.popups.push(e),this.updatePopups()},e.prototype.removePopup=function(e){var t=this.popups.indexOf(e);-1!==t&&(this.popups.splice(t,1),this.updatePopups())},e.prototype.updatePopups=function(){var e,t,l,n;this.popups.sort((function(e,t){return t.priority-e.priority}));var r=[];try{for(var o=a(this.popups),i=o.next();!i.done;i=o.next()){var s=i.value,c=!0;try{for(var u=(l=void 0,a(r)),d=u.next();!d.done;d=u.next()){var f=d.value;if(this.doPopupsOverlap(f,s)){c=!1;break}}}catch(e){l={error:e}}finally{try{d&&!d.done&&(n=u.return)&&n.call(u)}finally{if(l)throw l.error}}c?r.push(s):s.hide()}}catch(t){e={error:t}}finally{try{i&&!i.done&&(t=o.return)&&t.call(o)}finally{if(e)throw e.error}}},e.prototype.doPopupsOverlap=function(e,t){var l=e.getElement().getBoundingClientRect(),n=t.getElement().getBoundingClientRect();return l.leftn.left&&l.topn.top},e}());t.popupManager=u,t.Tooltip=c;var d=function(e){function t(t){void 0===t&&(t=document.body);var l=e.call(this,t)||this;l.timeout=void 0,l.lastT=0,l.idleTime=350,l.lastEvent=void 0,l.onMouseOut=l.onMouseOut.bind(l),l.onMouseMove=l.onMouseMove.bind(l),l.waitForHover=l.waitForHover.bind(l),l.hide=l.hide.bind(l);var n=l.getElement();return n.style.whiteSpace="pre-wrap",n.style.pointerEvents="auto",n.addEventListener("mouseout",l.onMouseOut),n.tabIndex=-1,n.addEventListener("blur",function(){n.contains(document.activeElement)||this.hide()}.bind(l)),n.addEventListener("wheel",s),l}return r(t,e),t.prototype.addToEditor=function(e){e.on("mousemove",this.onMouseMove),e.on("mousedown",this.hide);var t=e.renderer.getMouseEventTarget();t&&"function"===typeof t.removeEventListener&&t.addEventListener("mouseout",this.onMouseOut,!0)},t.prototype.removeFromEditor=function(e){e.off("mousemove",this.onMouseMove),e.off("mousedown",this.hide);var t=e.renderer.getMouseEventTarget();t&&"function"===typeof t.removeEventListener&&t.removeEventListener("mouseout",this.onMouseOut,!0),this.timeout&&(clearTimeout(this.timeout),this.timeout=null)},t.prototype.onMouseMove=function(e,t){this.lastEvent=e,this.lastT=Date.now();var l=t.$mouseHandler.isMousePressed;if(this.isOpen){var n=this.lastEvent&&this.lastEvent.getDocumentPosition();this.range&&this.range.contains(n.row,n.column)&&!l&&!this.isOutsideOfText(this.lastEvent)||this.hide()}this.timeout||l||(this.lastEvent=e,this.timeout=setTimeout(this.waitForHover,this.idleTime))},t.prototype.waitForHover=function(){this.timeout&&clearTimeout(this.timeout);var e=Date.now()-this.lastT;this.idleTime-e>10?this.timeout=setTimeout(this.waitForHover,this.idleTime-e):(this.timeout=null,this.lastEvent&&!this.isOutsideOfText(this.lastEvent)&&this.$gatherData(this.lastEvent,this.lastEvent.editor))},t.prototype.isOutsideOfText=function(e){var t=e.editor,l=e.getDocumentPosition(),n=t.session.getLine(l.row);if(l.column==n.length){var r=t.renderer.pixelToScreenCoordinates(e.clientX,e.clientY),a=t.session.documentToScreenPosition(l.row,l.column);if(a.column!=r.column||a.row!=r.row)return!0}return!1},t.prototype.setDataProvider=function(e){this.$gatherData=e},t.prototype.showForRange=function(e,t,l,n){if((!n||n==this.lastEvent)&&(!this.isOpen||document.activeElement!=this.getElement())){var r=e.renderer;this.isOpen||(u.addPopup(this),this.$registerCloseEvents(),this.setTheme(r.theme)),this.isOpen=!0,this.range=i.fromPoints(t.start,t.end);var a=r.textToScreenCoordinates(t.start.row,t.start.column),s=r.scroller.getBoundingClientRect();a.pageX=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},o=e("../lib/dom"),i=e("./mouse_event").MouseEvent,s=e("../tooltip").HoverTooltip,c=e("../config").nls,u=e("../range").Range;t.GutterHandler=function(e){var t=e.editor,l=t.renderer.$gutterLayer;e.$tooltip=new d(t),e.$tooltip.addToEditor(t),e.$tooltip.setDataProvider((function(t,l){var n=t.getDocumentPosition().row;e.$tooltip.showTooltip(n)})),e.editor.setDefaultHandler("guttermousedown",(function(n){if(t.isFocused()&&0==n.getButton()&&"foldWidgets"!=l.getRegion(n)){var r=n.getDocumentPosition().row,a=t.session.selection;if(n.getShiftKey())a.selectTo(r,0);else{if(2==n.domEvent.detail)return t.selectAll(),n.preventDefault();e.$clickSelection=t.selection.getLineRange(r)}return e.setState("selectByLines"),e.captureMouse(n),n.preventDefault()}}))};var d=function(e){function t(l){var n=e.call(this,l.container)||this;n.id="gt"+ ++t.$uid,n.editor=l,n.visibleTooltipRow;var r=n.getElement();return r.setAttribute("role","tooltip"),r.setAttribute("id",n.id),r.style.pointerEvents="auto",n.idleTime=50,n.onDomMouseMove=n.onDomMouseMove.bind(n),n.onDomMouseOut=n.onDomMouseOut.bind(n),n.setClassName("ace_gutter-tooltip"),n}return r(t,e),t.prototype.onDomMouseMove=function(e){var t=new i(e,this.editor);this.onMouseMove(t,this.editor)},t.prototype.onDomMouseOut=function(e){var t=new i(e,this.editor);this.onMouseOut(t)},t.prototype.addToEditor=function(t){var l=t.renderer.$gutter;l.addEventListener("mousemove",this.onDomMouseMove),l.addEventListener("mouseout",this.onDomMouseOut),e.prototype.addToEditor.call(this,t)},t.prototype.removeFromEditor=function(t){var l=t.renderer.$gutter;l.removeEventListener("mousemove",this.onDomMouseMove),l.removeEventListener("mouseout",this.onDomMouseOut),e.prototype.removeFromEditor.call(this,t)},t.prototype.destroy=function(){this.editor&&this.removeFromEditor(this.editor),e.prototype.destroy.call(this)},Object.defineProperty(t,"annotationLabels",{get:function(){return{error:{singular:c("gutter-tooltip.aria-label.error.singular","error"),plural:c("gutter-tooltip.aria-label.error.plural","errors")},security:{singular:c("gutter-tooltip.aria-label.security.singular","security finding"),plural:c("gutter-tooltip.aria-label.security.plural","security findings")},warning:{singular:c("gutter-tooltip.aria-label.warning.singular","warning"),plural:c("gutter-tooltip.aria-label.warning.plural","warnings")},info:{singular:c("gutter-tooltip.aria-label.info.singular","information message"),plural:c("gutter-tooltip.aria-label.info.plural","information messages")},hint:{singular:c("gutter-tooltip.aria-label.hint.singular","suggestion"),plural:c("gutter-tooltip.aria-label.hint.plural","suggestions")}}},enumerable:!1,configurable:!0}),t.prototype.showTooltip=function(e){var l,n,r=this.editor.renderer.$gutterLayer,a=r.$annotations[e];n=a?{displayText:Array.from(a.displayText),type:Array.from(a.type)}:{displayText:[],type:[]};var i=r.session.getFoldLine(e);if(i&&r.$showFoldedAnnotations){for(var s,c={error:[],security:[],warning:[],info:[],hint:[]},d={error:1,security:2,warning:3,info:4,hint:5},f=e+1;f<=i.end.row;f++)if(r.$annotations[f])for(var p=0;p2)return l.childNodes[2]}},t.prototype.$findCellByRow=function(e){return this.editor.renderer.$gutterLayer.$lines.cells.find((function(t){return t.row===e}))},t.prototype.hide=function(t){if(this.isOpen){if(this.$element.removeAttribute("aria-live"),void 0!=this.visibleTooltipRow){var l=this.$findLinkedAnnotationNode(this.visibleTooltipRow);l&&l.removeAttribute("aria-describedby")}this.visibleTooltipRow=void 0,this.editor._signal("hideGutterTooltip",this),e.prototype.hide.call(this,t)}},t.annotationsToSummaryString=function(e){var l,n,r=[];try{for(var o=a(["error","security","warning","info","hint"]),i=o.next();!i.done;i=o.next()){var s=i.value;if(e[s].length){var c=1===e[s].length?t.annotationLabels[s].singular:t.annotationLabels[s].plural;r.push("".concat(e[s].length," ").concat(c))}}}catch(e){l={error:e}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(l)throw l.error}}return r.join(", ")},t.prototype.isOutsideOfText=function(e){var t=e.editor.renderer.$gutter.getBoundingClientRect();return!(e.clientX>=t.left&&e.clientX<=t.right&&e.clientY>=t.top&&e.clientY<=t.bottom)},t}(s);d.$uid=0,t.GutterTooltip=d})),ace.define("ace/mouse/dragdrop_handler",["require","exports","module","ace/lib/dom","ace/lib/event","ace/lib/useragent"],(function(e,t,l){"use strict";var n=e("../lib/dom"),r=e("../lib/event"),a=e("../lib/useragent");function o(e){var t=e.editor,l=n.createElement("div");l.style.cssText="top:-100px;position:absolute;z-index:2147483647;opacity:0.5",l.textContent="\xa0";["dragWait","dragWaitEnd","startDrag","dragReadyEnd","onMouseDrag"].forEach((function(t){e[t]=this[t]}),this),t.on("mousedown",this.onMouseDown.bind(e));var o,s,c,u,d,f,p,h,m,g,y,v=t.container,b=0;function w(){var e=f;(function(e,l){var n=Date.now(),r=!l||e.row!=l.row,a=!l||e.column!=l.column;!g||r||a?(t.moveCursorToPosition(e),g=n,y={x:s,y:c}):i(y.x,y.y,s,c)>5?g=null:n-g>=200&&(t.renderer.scrollCursorIntoView(),g=null)})(f=t.renderer.screenToTextCoordinates(s,c),e),function(e,l){var n=Date.now(),r=t.renderer.layerConfig.lineHeight,a=t.renderer.layerConfig.characterWidth,o=t.renderer.scroller.getBoundingClientRect(),i={x:{left:s-o.left,right:o.right-s},y:{top:c-o.top,bottom:o.bottom-c}},u=Math.min(i.x.left,i.x.right),d=Math.min(i.y.top,i.y.bottom),f={row:e.row,column:e.column};u/a<=2&&(f.column+=i.x.left=200&&t.renderer.scrollCursorIntoView(f):m=n:m=null}(f,e)}function x(){d=t.selection.toOrientedRange(),o=t.session.addMarker(d,"ace_selection",t.getSelectionStyle()),t.clearSelection(),t.isFocused()&&t.renderer.$cursorLayer.setBlinking(!1),clearInterval(u),w(),u=setInterval(w,20),b=0,r.addListener(document,"mousemove",C)}function k(){clearInterval(u),t.session.removeMarker(o),o=null,t.selection.fromOrientedRange(d),t.isFocused()&&!h&&t.$resetCursorStyle(),d=null,f=null,b=0,m=null,g=null,r.removeListener(document,"mousemove",C)}this.onDragStart=function(e){if(this.cancelDrag||!v.draggable){var n=this;return setTimeout((function(){n.startSelect(),n.captureMouse(e)}),0),e.preventDefault()}d=t.getSelectionRange();var r=e.dataTransfer;r.effectAllowed=t.getReadOnly()?"copy":"copyMove",t.container.appendChild(l),r.setDragImage&&r.setDragImage(l,0,0),setTimeout((function(){t.container.removeChild(l)})),r.clearData(),r.setData("Text",t.session.getTextRange()),h=!0,this.setState("drag")},this.onDragEnd=function(e){if(v.draggable=!1,h=!1,this.setState(null),!t.getReadOnly()){var l=e.dataTransfer.dropEffect;p||"move"!=l||t.session.remove(t.getSelectionRange()),t.$resetCursorStyle()}this.editor.unsetStyle("ace_dragging"),this.editor.renderer.setCursorStyle("")},this.onDragEnter=function(e){if(!t.getReadOnly()&&O(e.dataTransfer))return s=e.clientX,c=e.clientY,o||x(),b++,e.dataTransfer.dropEffect=p=M(e),r.preventDefault(e)},this.onDragOver=function(e){if(!t.getReadOnly()&&O(e.dataTransfer))return s=e.clientX,c=e.clientY,o||(x(),b++),null!==S&&(S=null),e.dataTransfer.dropEffect=p=M(e),r.preventDefault(e)},this.onDragLeave=function(e){if(--b<=0&&o)return k(),p=null,r.preventDefault(e)},this.onDrop=function(e){if(f){var l=e.dataTransfer;if(h)switch(p){case"move":d=d.contains(f.row,f.column)?{start:f,end:f}:t.moveText(d,f);break;case"copy":d=t.moveText(d,f,!0)}else{var n=l.getData("Text");d={start:f,end:t.session.insert(f,n)},t.focus(),p=null}return k(),r.preventDefault(e)}},r.addListener(v,"dragstart",this.onDragStart.bind(e),t),r.addListener(v,"dragend",this.onDragEnd.bind(e),t),r.addListener(v,"dragenter",this.onDragEnter.bind(e),t),r.addListener(v,"dragover",this.onDragOver.bind(e),t),r.addListener(v,"dragleave",this.onDragLeave.bind(e),t),r.addListener(v,"drop",this.onDrop.bind(e),t);var S=null;function C(){null==S&&(S=setTimeout((function(){null!=S&&o&&k()}),20))}function O(e){var t=e.types;return!t||Array.prototype.some.call(t,(function(e){return"text/plain"==e||"Text"==e}))}function M(e){var t=["copy","copymove","all","uninitialized"],l=a.isMac?e.altKey:e.ctrlKey,n="uninitialized";try{n=e.dataTransfer.effectAllowed.toLowerCase()}catch(e){}var r="none";return l&&t.indexOf(n)>=0?r="copy":["move","copymove","linkmove","all","uninitialized"].indexOf(n)>=0?r="move":t.indexOf(n)>=0&&(r="copy"),r}}function i(e,t,l,n){return Math.sqrt(Math.pow(l-e,2)+Math.pow(n-t,2))}(function(){this.dragWait=function(){Date.now()-this.mousedownEvent.time>this.editor.getDragDelay()&&this.startDrag()},this.dragWaitEnd=function(){this.editor.container.draggable=!1,this.startSelect(this.mousedownEvent.getDocumentPosition()),this.selectEnd()},this.dragReadyEnd=function(e){this.editor.$resetCursorStyle(),this.editor.unsetStyle("ace_dragging"),this.editor.renderer.setCursorStyle(""),this.dragWaitEnd()},this.startDrag=function(){this.cancelDrag=!1;var e=this.editor;e.container.draggable=!0,e.renderer.$cursorLayer.setBlinking(!1),e.setStyle("ace_dragging");var t=a.isWin?"default":"move";e.renderer.setCursorStyle(t),this.setState("dragReady")},this.onMouseDrag=function(e){var t=this.editor.container;a.isIE&&"dragReady"==this.state&&(i(this.mousedownEvent.x,this.mousedownEvent.y,this.x,this.y)>3&&t.dragDrop());"dragWait"===this.state&&(i(this.mousedownEvent.x,this.mousedownEvent.y,this.x,this.y)>0&&(t.draggable=!1,this.startSelect(this.mousedownEvent.getDocumentPosition())))},this.onMouseDown=function(e){if(this.$dragEnabled){this.mousedownEvent=e;var t=this.editor,l=e.inSelection(),n=e.getButton();if(1===(e.domEvent.detail||1)&&0===n&&l){if(e.editor.inMultiSelectMode&&(e.getAccelKey()||e.getShiftKey()))return;this.mousedownEvent.time=Date.now();var r=e.domEvent.target||e.domEvent.srcElement;if("unselectable"in r&&(r.unselectable="on"),t.getDragDelay()){if(a.isWebKit)this.cancelDrag=!0,t.container.draggable=!0;this.setState("dragWait")}else this.startDrag();this.captureMouse(e,this.onMouseDrag.bind(this)),e.defaultPrevented=!0}}}}).call(o.prototype),t.DragdropHandler=o})),ace.define("ace/mouse/touch_handler",["require","exports","module","ace/mouse/mouse_event","ace/lib/event","ace/lib/dom"],(function(e,t,l){"use strict";var n=e("./mouse_event").MouseEvent,r=e("../lib/event"),a=e("../lib/dom");t.addTouchListeners=function(e,t){var l,o,i,s,c,u,d,f,p,h="scroll",m=0,g=0,y=0,v=0;function b(){var e=window.navigator&&window.navigator.clipboard,l=!1,n=function(e){return t.commands.canExecute(e,t)},r=function(r){var o,i,s=r.target.getAttribute("action");if("more"==s||!l)return l=!l,o=t.getCopyText(),i=t.session.getUndoManager().hasUndo(),void p.replaceChild(a.buildDom(l?["span",!o&&n("selectall")&&["span",{class:"ace_mobile-button",action:"selectall"},"Select All"],o&&n("copy")&&["span",{class:"ace_mobile-button",action:"copy"},"Copy"],o&&n("cut")&&["span",{class:"ace_mobile-button",action:"cut"},"Cut"],e&&n("paste")&&["span",{class:"ace_mobile-button",action:"paste"},"Paste"],i&&n("undo")&&["span",{class:"ace_mobile-button",action:"undo"},"Undo"],n("find")&&["span",{class:"ace_mobile-button",action:"find"},"Find"],n("openCommandPalette")&&["span",{class:"ace_mobile-button",action:"openCommandPalette"},"Palette"]]:["span"]),p.firstChild);"paste"==s?e.readText().then((function(e){t.execCommand(s,e)})):s&&("cut"!=s&&"copy"!=s||(e?e.writeText(t.getCopyText()):document.execCommand("copy")),t.execCommand(s)),p.firstChild.style.display="none",l=!1,"openCommandPalette"!=s&&t.focus()};p=a.buildDom(["div",{class:"ace_mobile-menu",ontouchstart:function(e){h="menu",e.stopPropagation(),e.preventDefault(),t.textInput.focus()},ontouchend:function(e){e.stopPropagation(),e.preventDefault(),r(e)},onclick:r},["span"],["span",{class:"ace_mobile-button",action:"more"},"..."]],t.container)}function w(){if(t.getOption("enableMobileMenu")){p||b();var e=t.selection.cursor,l=t.renderer.textToScreenCoordinates(e.row,e.column),n=t.renderer.textToScreenCoordinates(0,0).pageX,r=t.renderer.scrollLeft,a=t.container.getBoundingClientRect();p.style.top=l.pageY-a.top-3+"px",l.pageX-a.left1)return clearTimeout(c),c=null,i=-1,void(h="zoom");f=t.$mouseHandler.isMousePressed=!0;var a=t.renderer.layerConfig.lineHeight,u=t.renderer.layerConfig.lineHeight,p=e.timeStamp;s=p;var b=r[0],w=b.clientX,x=b.clientY;Math.abs(l-w)+Math.abs(o-x)>a&&(i=-1),l=e.clientX=w,o=e.clientY=x,y=v=0;var S=new n(e,t);if(d=S.getDocumentPosition(),p-i<500&&1==r.length&&!m)g++,e.preventDefault(),e.button=0,function(){c=null,clearTimeout(c),t.selection.moveToPosition(d);var e=g>=2?t.selection.getLineRange(d.row):t.session.getBracketRange(d);e&&!e.isEmpty()?t.selection.setRange(e):t.selection.selectWord(),h="wait"}();else{g=0;var C=t.selection.cursor,O=t.selection.isEmpty()?C:t.selection.anchor,M=t.renderer.$cursorLayer.getPixelPosition(C,!0),_=t.renderer.$cursorLayer.getPixelPosition(O,!0),E=t.renderer.scroller.getBoundingClientRect(),P=t.renderer.layerConfig.offset,A=t.renderer.scrollLeft,T=function(e,t){return(e/=u)*e+(t=t/a-.75)*t};if(e.clientXD?"cursor":"anchor"),h=D<3.5?"anchor":j<3.5?"cursor":"scroll",c=setTimeout(k,450)}i=p}),t),r.addListener(e,"touchend",(function(e){f=t.$mouseHandler.isMousePressed=!1,u&&clearInterval(u),"zoom"==h?(h="",m=0):c?(t.selection.moveToPosition(d),m=0,w()):"scroll"==h?(m+=60,u=setInterval((function(){m--<=0&&(clearInterval(u),u=null),Math.abs(y)<.01&&(y=0),Math.abs(v)<.01&&(v=0),m<20&&(y*=.9),m<20&&(v*=.9);var e=t.session.getScrollTop();t.renderer.scrollBy(10*y,10*v),e==t.session.getScrollTop()&&(m=0)}),10),x()):w(),clearTimeout(c),c=null}),t),r.addListener(e,"touchmove",(function(e){c&&(clearTimeout(c),c=null);var r=e.touches;if(!(r.length>1||"zoom"==h)){var a=r[0],i=l-a.clientX,u=o-a.clientY;if("wait"==h){if(!(i*i+u*u>4))return e.preventDefault();h="cursor"}l=a.clientX,o=a.clientY,e.clientX=a.clientX,e.clientY=a.clientY;var d=e.timeStamp,f=d-s;if(s=d,"scroll"==h){var p=new n(e,t);p.speed=1,p.wheelX=i,p.wheelY=u,10*Math.abs(i)=e){for(a=d+1;a=e;)a++;for(i=d,s=a-1;i=t.length||2!=(s=l[r-1])&&3!=s||2!=(c=t[r+1])&&3!=c?4:(a&&(c=3),c==s?c:4);case 10:return 2==(s=r>0?l[r-1]:5)&&r+10&&2==l[r-1])return 2;if(a)return 4;for(d=r+1,u=t.length;d=1425&&p<=2303||64286==p;if(s=t[d],h&&(1==s||7==s))return 1}return r<1||5==(s=t[r-1])?4:l[r-1];case 5:return a=!1,o=!0,n;case 6:return i=!0,4;case 13:case 14:case 16:case 17:case 15:a=!1;case 18:return 4}}function h(e){var t=e.charCodeAt(0),l=t>>8;return 0==l?t>191?0:u[t]:5==l?/[\u0591-\u05f4]/.test(e)?1:0:6==l?/[\u0610-\u061a\u064b-\u065f\u06d6-\u06e4\u06e7-\u06ed]/.test(e)?12:/[\u0660-\u0669\u066b-\u066c]/.test(e)?3:1642==t?11:/[\u06f0-\u06f9]/.test(e)?2:7:32==l&&t<=8287?d[255&t]:254==l&&t>=65136?7:4}t.L=0,t.R=1,t.EN=2,t.ON_R=3,t.AN=4,t.R_H=5,t.B=6,t.RLE=7,t.DOT="\xb7",t.doBidiReorder=function(e,l,u){if(e.length<2)return{};var d=e.split(""),m=new Array(d.length),g=new Array(d.length),y=[];n=u?1:0,function(e,t,l,u){var d=n?c:s,f=null,m=null,g=null,y=0,v=null,b=-1,w=null,x=null,k=[];if(!u)for(w=0,u=[];w0)if(16==v){for(w=b;w-1){for(w=b;w=0&&8==u[S];S--)t[S]=n}}(d,y,d.length,l);for(var v=0;v7&&l[v]<13||4===l[v]||18===l[v])?y[v]=t.ON_R:v>0&&"\u0644"===d[v-1]&&/\u0622|\u0623|\u0625|\u0627/.test(d[v])&&(y[v-1]=y[v]=t.R_H,v++);d[d.length-1]===t.DOT&&(y[d.length-1]=t.B),"\u202b"===d[0]&&(y[0]=t.RLE);for(v=0;v=0&&(e=this.session.$docRowCache[l])}return e},e.prototype.getSplitIndex=function(){var e=0,t=this.session.$screenRowCache;if(t.length)for(var l,n=this.session.$getRowCacheIndex(t,this.currentRow);this.currentRow-e>0&&(l=this.session.$getRowCacheIndex(t,this.currentRow-e-1))===n;)n=l,e++;else e=this.currentRow;return e},e.prototype.updateRowLine=function(e,t){void 0===e&&(e=this.getDocumentRow());var l=e===this.session.getLength()-1?this.EOF:this.EOL;if(this.wrapIndent=0,this.line=this.session.getLine(e),this.isRtlDir=this.$isRtl||this.line.charAt(0)===this.RLE,this.session.$useWrapMode){var a=this.session.$wrapData[e];a&&(void 0===t&&(t=this.getSplitIndex()),t>0&&a.length?(this.wrapIndent=a.indent,this.wrapOffset=this.wrapIndent*this.charWidths[n.L],this.line=tt?this.session.getOverwrite()?e:e-1:t,r=n.getVisualFromLogicalIdx(l,this.bidiMap),a=this.bidiMap.bidiLevels,o=0;!this.session.getOverwrite()&&e<=t&&a[r]%2!==0&&r++;for(var i=0;it&&a[r]%2===0&&(o+=this.charWidths[a[r]]),this.wrapIndent&&(o+=this.isRtlDir?-1*this.wrapOffset:this.wrapOffset),this.isRtlDir&&(o+=this.rtlLineOffset),o},e.prototype.getSelections=function(e,t){var l,n=this.bidiMap,r=n.bidiLevels,a=[],o=0,i=Math.min(e,t)-this.wrapIndent,s=Math.max(e,t)-this.wrapIndent,c=!1,u=!1,d=0;this.wrapIndent&&(o+=this.isRtlDir?-1*this.wrapOffset:this.wrapOffset);for(var f,p=0;p=i&&fl+a/2;){if(l+=a,n===r.length-1){a=0;break}a=this.charWidths[r[++n]]}return n>0&&r[n-1]%2!==0&&r[n]%2===0?(e0&&r[n-1]%2===0&&r[n]%2!==0?t=1+(e>l?this.bidiMap.logicalFromVisual[n]:this.bidiMap.logicalFromVisual[n-1]):this.isRtlDir&&n===r.length-1&&0===a&&r[n-1]%2===0||!this.isRtlDir&&0===n&&r[n]%2!==0?t=1+this.bidiMap.logicalFromVisual[n]:(n>0&&r[n-1]%2!==0&&0!==a&&n--,t=this.bidiMap.logicalFromVisual[n]),0===t&&this.isRtlDir&&t++,t+this.wrapIndent},e}();t.BidiHandler=o})),ace.define("ace/selection",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/lib/event_emitter","ace/range"],(function(e,t,l){"use strict";var n=e("./lib/oop"),r=e("./lib/lang"),a=e("./lib/event_emitter").EventEmitter,o=e("./range").Range,i=function(){function e(e){this.session=e,this.doc=e.getDocument(),this.clearSelection(),this.cursor=this.lead=this.doc.createAnchor(0,0),this.anchor=this.doc.createAnchor(0,0),this.$silent=!1;var t=this;this.cursor.on("change",(function(e){t.$cursorChanged=!0,t.$silent||t._emit("changeCursor"),t.$isEmpty||t.$silent||t._emit("changeSelection"),t.$keepDesiredColumnOnChange||e.old.column==e.value.column||(t.$desiredColumn=null)})),this.anchor.on("change",(function(){t.$anchorChanged=!0,t.$isEmpty||t.$silent||t._emit("changeSelection")}))}return e.prototype.isEmpty=function(){return this.$isEmpty||this.anchor.row==this.lead.row&&this.anchor.column==this.lead.column},e.prototype.isMultiLine=function(){return!this.$isEmpty&&this.anchor.row!=this.cursor.row},e.prototype.getCursor=function(){return this.lead.getPosition()},e.prototype.setAnchor=function(e,t){this.$isEmpty=!1,this.anchor.setPosition(e,t)},e.prototype.getAnchor=function(){return this.$isEmpty?this.getSelectionLead():this.anchor.getPosition()},e.prototype.getSelectionLead=function(){return this.lead.getPosition()},e.prototype.isBackwards=function(){var e=this.anchor,t=this.lead;return e.row>t.row||e.row==t.row&&e.column>t.column},e.prototype.getRange=function(){var e=this.anchor,t=this.lead;return this.$isEmpty?o.fromPoints(t,t):this.isBackwards()?o.fromPoints(t,e):o.fromPoints(e,t)},e.prototype.clearSelection=function(){this.$isEmpty||(this.$isEmpty=!0,this._emit("changeSelection"))},e.prototype.selectAll=function(){this.$setSelection(0,0,Number.MAX_VALUE,Number.MAX_VALUE)},e.prototype.setRange=function(e,t){var l=t?e.end:e.start,n=t?e.start:e.end;this.$setSelection(l.row,l.column,n.row,n.column)},e.prototype.$setSelection=function(e,t,l,n){if(!this.$silent){var r=this.$isEmpty,a=this.inMultiSelectMode;this.$silent=!0,this.$cursorChanged=this.$anchorChanged=!1,this.anchor.setPosition(e,t),this.cursor.setPosition(l,n),this.$isEmpty=!o.comparePoints(this.anchor,this.cursor),this.$silent=!1,this.$cursorChanged&&this._emit("changeCursor"),(this.$cursorChanged||this.$anchorChanged||r!=this.$isEmpty||a)&&this._emit("changeSelection")}},e.prototype.$moveSelection=function(e){var t=this.lead;this.$isEmpty&&this.setSelectionAnchor(t.row,t.column),e.call(this)},e.prototype.selectTo=function(e,t){this.$moveSelection((function(){this.moveCursorTo(e,t)}))},e.prototype.selectToPosition=function(e){this.$moveSelection((function(){this.moveCursorToPosition(e)}))},e.prototype.moveTo=function(e,t){this.clearSelection(),this.moveCursorTo(e,t)},e.prototype.moveToPosition=function(e){this.clearSelection(),this.moveCursorToPosition(e)},e.prototype.selectUp=function(){this.$moveSelection(this.moveCursorUp)},e.prototype.selectDown=function(){this.$moveSelection(this.moveCursorDown)},e.prototype.selectRight=function(){this.$moveSelection(this.moveCursorRight)},e.prototype.selectLeft=function(){this.$moveSelection(this.moveCursorLeft)},e.prototype.selectLineStart=function(){this.$moveSelection(this.moveCursorLineStart)},e.prototype.selectLineEnd=function(){this.$moveSelection(this.moveCursorLineEnd)},e.prototype.selectFileEnd=function(){this.$moveSelection(this.moveCursorFileEnd)},e.prototype.selectFileStart=function(){this.$moveSelection(this.moveCursorFileStart)},e.prototype.selectWordRight=function(){this.$moveSelection(this.moveCursorWordRight)},e.prototype.selectWordLeft=function(){this.$moveSelection(this.moveCursorWordLeft)},e.prototype.getWordRange=function(e,t){if("undefined"==typeof t){var l=e||this.lead;e=l.row,t=l.column}return this.session.getWordRange(e,t)},e.prototype.selectWord=function(){this.setSelectionRange(this.getWordRange())},e.prototype.selectAWord=function(){var e=this.getCursor(),t=this.session.getAWordRange(e.row,e.column);this.setSelectionRange(t)},e.prototype.getLineRange=function(e,t){var l,n="number"==typeof e?e:this.lead.row,r=this.session.getFoldLine(n);return r?(n=r.start.row,l=r.end.row):l=n,!0===t?new o(n,0,l,this.session.getLine(l).length):new o(n,0,l+1,0)},e.prototype.selectLine=function(){this.setSelectionRange(this.getLineRange())},e.prototype.moveCursorUp=function(){this.moveCursorBy(-1,0)},e.prototype.moveCursorDown=function(){this.moveCursorBy(1,0)},e.prototype.wouldMoveIntoSoftTab=function(e,t,l){var n=e.column,r=e.column+t;return l<0&&(n=e.column-t,r=e.column),this.session.isTabStop(e)&&this.doc.getLine(e.row).slice(n,r).split(" ").length-1==t},e.prototype.moveCursorLeft=function(){var e,t=this.lead.getPosition();if(e=this.session.getFoldAt(t.row,t.column,-1))this.moveCursorTo(e.start.row,e.start.column);else if(0===t.column)t.row>0&&this.moveCursorTo(t.row-1,this.doc.getLine(t.row-1).length);else{var l=this.session.getTabSize();this.wouldMoveIntoSoftTab(t,l,-1)&&!this.session.getNavigateWithinSoftTabs()?this.moveCursorBy(0,-l):this.moveCursorBy(0,-1)}},e.prototype.moveCursorRight=function(){var e,t=this.lead.getPosition();if(e=this.session.getFoldAt(t.row,t.column,1))this.moveCursorTo(e.end.row,e.end.column);else if(this.lead.column==this.doc.getLine(this.lead.row).length)this.lead.row0&&(t.column=n)}}this.moveCursorTo(t.row,t.column)},e.prototype.moveCursorFileEnd=function(){var e=this.doc.getLength()-1,t=this.doc.getLine(e).length;this.moveCursorTo(e,t)},e.prototype.moveCursorFileStart=function(){this.moveCursorTo(0,0)},e.prototype.moveCursorLongWordRight=function(){var e=this.lead.row,t=this.lead.column,l=this.doc.getLine(e),n=l.substring(t);this.session.nonTokenRe.lastIndex=0,this.session.tokenRe.lastIndex=0;var r=this.session.getFoldAt(e,t,1);if(r)this.moveCursorTo(r.end.row,r.end.column);else{if(this.session.nonTokenRe.exec(n)&&(t+=this.session.nonTokenRe.lastIndex,this.session.nonTokenRe.lastIndex=0,n=l.substring(t)),t>=l.length)return this.moveCursorTo(e,l.length),this.moveCursorRight(),void(e0&&this.moveCursorWordLeft());this.session.tokenRe.exec(a)&&(l-=this.session.tokenRe.lastIndex,this.session.tokenRe.lastIndex=0),this.moveCursorTo(t,l)}},e.prototype.$shortWordEndIndex=function(e){var t,l=0,n=/\s/,r=this.session.tokenRe;if(r.lastIndex=0,this.session.tokenRe.exec(e))l=this.session.tokenRe.lastIndex;else{for(;(t=e[l])&&n.test(t);)l++;if(l<1)for(r.lastIndex=0;(t=e[l])&&!r.test(t);)if(r.lastIndex=0,l++,n.test(t)){if(l>2){l--;break}for(;(t=e[l])&&n.test(t);)l++;if(l>2)break}}return r.lastIndex=0,l},e.prototype.moveCursorShortWordRight=function(){var e=this.lead.row,t=this.lead.column,l=this.doc.getLine(e),n=l.substring(t),r=this.session.getFoldAt(e,t,1);if(r)return this.moveCursorTo(r.end.row,r.end.column);if(t==l.length){var a=this.doc.getLength();do{e++,n=this.doc.getLine(e)}while(e0&&/^\s*$/.test(n));l=n.length,/\s+$/.test(n)||(n="")}var a=r.stringReverse(n),o=this.$shortWordEndIndex(a);return this.moveCursorTo(t,l-o)},e.prototype.moveCursorWordRight=function(){this.session.$selectLongWords?this.moveCursorLongWordRight():this.moveCursorShortWordRight()},e.prototype.moveCursorWordLeft=function(){this.session.$selectLongWords?this.moveCursorLongWordLeft():this.moveCursorShortWordLeft()},e.prototype.moveCursorBy=function(e,t){var l,n=this.session.documentToScreenPosition(this.lead.row,this.lead.column);if(0===t&&(0!==e&&(this.session.$bidiHandler.isBidiRow(n.row,this.lead.row)?(l=this.session.$bidiHandler.getPosLeft(n.column),n.column=Math.round(l/this.session.$bidiHandler.charWidths[0])):l=n.column*this.session.$bidiHandler.charWidths[0]),this.$desiredColumn?n.column=this.$desiredColumn:this.$desiredColumn=n.column),0!=e&&this.session.lineWidgets&&this.session.lineWidgets[this.lead.row]){var r=this.session.lineWidgets[this.lead.row];e<0?e-=r.rowsAbove||0:e>0&&(e+=r.rowCount-(r.rowsAbove||0))}var a=this.session.screenToDocumentPosition(n.row+e,n.column,l);0!==e&&0===t&&a.row===this.lead.row&&(a.column,this.lead.column),this.moveCursorTo(a.row,a.column+t,0===t)},e.prototype.moveCursorToPosition=function(e){this.moveCursorTo(e.row,e.column)},e.prototype.moveCursorTo=function(e,t,l){var n=this.session.getFoldAt(e,t,1);n&&(e=n.start.row,t=n.start.column),this.$keepDesiredColumnOnChange=!0;var r=this.session.getLine(e);/[\uDC00-\uDFFF]/.test(r.charAt(t))&&r.charAt(t-1)&&(this.lead.row==e&&this.lead.column==t+1?t-=1:t+=1),this.lead.setPosition(e,t),this.$keepDesiredColumnOnChange=!1,l||(this.$desiredColumn=null)},e.prototype.moveCursorToScreen=function(e,t,l){var n=this.session.screenToDocumentPosition(e,t);this.moveCursorTo(n.row,n.column,l)},e.prototype.detach=function(){this.lead.detach(),this.anchor.detach()},e.prototype.fromOrientedRange=function(e){this.setSelectionRange(e,e.cursor==e.start),this.$desiredColumn=e.desiredColumn||this.$desiredColumn},e.prototype.toOrientedRange=function(e){var t=this.getRange();return e?(e.start.column=t.start.column,e.start.row=t.start.row,e.end.column=t.end.column,e.end.row=t.end.row):e=t,e.cursor=this.isBackwards()?e.start:e.end,e.desiredColumn=this.$desiredColumn,e},e.prototype.getRangeOfMovements=function(e){var t=this.getCursor();try{e(this);var l=this.getCursor();return o.fromPoints(t,l)}catch(e){return o.fromPoints(t,t)}finally{this.moveCursorToPosition(t)}},e.prototype.toJSON=function(){if(this.rangeCount)var e=this.ranges.map((function(e){var t=e.clone();return t.isBackwards=e.cursor==e.start,t}));else(e=this.getRange()).isBackwards=this.isBackwards();return e},e.prototype.fromJSON=function(e){if(void 0==e.start){if(this.rangeList&&e.length>1){this.toSingleRange(e[0]);for(var t=e.length;t--;){var l=o.fromPoints(e[t].start,e[t].end);e[t].isBackwards&&(l.cursor=l.start),this.addRange(l,!0)}return}e=e[0]}this.rangeList&&this.toSingleRange(e),this.setSelectionRange(e,e.isBackwards)},e.prototype.isEqual=function(e){if((e.length||this.rangeCount)&&e.length!=this.rangeCount)return!1;if(!e.length||!this.ranges)return this.getRange().isEqual(e);for(var t=this.ranges.length;t--;)if(!this.ranges[t].isEqual(e[t]))return!1;return!0},e}();i.prototype.setSelectionAnchor=i.prototype.setAnchor,i.prototype.getSelectionAnchor=i.prototype.getAnchor,i.prototype.setSelectionRange=i.prototype.setRange,n.implement(i.prototype,a),t.Selection=i})),ace.define("ace/tokenizer",["require","exports","module","ace/lib/report_error"],(function(e,t,l){"use strict";var n=e("./lib/report_error").reportError,r=2e3,a=function(){function e(e){for(var t in this.splitRegex,this.states=e,this.regExps={},this.matchMappings={},this.states){for(var l=this.states[t],n=[],r=0,a=this.matchMappings[t]={defaultToken:"text"},o="g",i=[],s=0;s1?this.$applyToken:c.token),d>1&&(/\\\d/.test(c.regex)?u=c.regex.replace(/\\([0-9]+)/g,(function(e,t){return"\\"+(parseInt(t,10)+r+1)})):(d=1,u=this.removeCapturingGroups(c.regex)),c.splitRegex||"string"==typeof c.token||i.push(c)),a[r]=s,r+=d,n.push(u),c.onMatch||(c.onMatch=null)}}n.length||(a[0]=0,n.push("$")),i.forEach((function(e){e.splitRegex=this.createSplitterRegexp(e.regex,o)}),this),this.regExps[t]=new RegExp("("+n.join(")|(")+")|($)",o)}}return e.prototype.$setMaxTokenCount=function(e){r=0|e},e.prototype.$applyToken=function(e){var t=this.splitRegex.exec(e).slice(1),l=this.token.apply(this,t);if("string"===typeof l)return[{type:l,value:e}];for(var n=[],r=0,a=l.length;ru){var y=e.substring(u,g-m.length);f.type==p?f.value+=y:(f.type&&c.push(f),f={type:p,value:y})}for(var v=0;vr){for(d>2*e.length&&this.reportError("infinite loop with in ace tokenizer",{startState:t,line:e});u1&&l[0]!==n&&l.unshift("#tmp",n),{tokens:c,state:l.length?l:n}},e}();a.prototype.reportError=n,t.Tokenizer=a})),ace.define("ace/mode/text_highlight_rules",["require","exports","module","ace/lib/deep_copy"],(function(e,t,l){"use strict";var n,r=e("../lib/deep_copy").deepCopy;(function(){this.addRules=function(e,t){if(t)for(var l in e){for(var n=e[l],r=0;r=this.$rowTokens.length;){if(this.$row+=1,e||(e=this.$session.getLength()),this.$row>=e)return this.$row=e-1,null;this.$rowTokens=this.$session.getTokens(this.$row),this.$tokenIndex=0}return this.$rowTokens[this.$tokenIndex]},e.prototype.getCurrentToken=function(){return this.$rowTokens[this.$tokenIndex]},e.prototype.getCurrentTokenRow=function(){return this.$row},e.prototype.getCurrentTokenColumn=function(){var e=this.$rowTokens,t=this.$tokenIndex,l=e[t].start;if(void 0!==l)return l;for(l=0;t>0;)l+=e[t-=1].value.length;return l},e.prototype.getCurrentTokenPosition=function(){return{row:this.$row,column:this.getCurrentTokenColumn()}},e.prototype.getCurrentTokenRange=function(){var e=this.$rowTokens[this.$tokenIndex],t=this.getCurrentTokenColumn();return new n(this.$row,t,this.$row,t+e.value.length)},e}();t.TokenIterator=r})),ace.define("ace/mode/behaviour/cstyle",["require","exports","module","ace/lib/oop","ace/mode/behaviour","ace/token_iterator","ace/lib/lang"],(function(e,t,l){"use strict";var n,r,a=e("../../lib/oop"),o=e("../behaviour").Behaviour,i=e("../../token_iterator").TokenIterator,s=e("../../lib/lang"),c=["text","paren.rparen","rparen","paren","punctuation.operator"],u=["text","paren.rparen","rparen","paren","punctuation.operator","comment"],d={},f={'"':'"',"'":"'"},p=function(e){var t=-1;if(e.multiSelect&&(t=e.selection.index,d.rangeCount!=e.multiSelect.rangeCount&&(d={rangeCount:e.multiSelect.rangeCount})),d[t])return n=d[t];n=d[t]={autoInsertedBrackets:0,autoInsertedRow:-1,autoInsertedLineEnd:"",maybeInsertedBrackets:0,maybeInsertedRow:-1,maybeInsertedLineStart:"",maybeInsertedLineEnd:""}},h=function(e,t,l,n){var r=e.end.row-e.start.row;return{text:l+t+n,selection:[0,e.start.column+1,r,e.end.column+(r?0:1)]}};(r=function(e){e=e||{},this.add("braces","insertion",(function(t,l,a,o,i){var c=a.getCursorPosition(),u=o.doc.getLine(c.row);if("{"==i){p(a);var d=a.getSelectionRange(),f=o.doc.getTextRange(d),m=o.getTokenAt(c.row,c.column);if(""!==f&&"{"!==f&&a.getWrapBehavioursEnabled())return h(d,f,"{","}");if(m&&/(?:string)\.quasi|\.xml/.test(m.type)){if([/tag\-(?:open|name)/,/attribute\-name/].some((function(e){return e.test(m.type)}))||/(string)\.quasi/.test(m.type)&&"$"!==m.value[c.column-m.start-1])return;return r.recordAutoInsert(a,o,"}"),{text:"{}",selection:[1,1]}}if(r.isSaneInsertion(a,o))return/[\]\}\)]/.test(u[c.column])||a.inMultiSelectMode||e.braces?(r.recordAutoInsert(a,o,"}"),{text:"{}",selection:[1,1]}):(r.recordMaybeInsert(a,o,"{"),{text:"{",selection:[1,1]})}else if("}"==i){if(p(a),"}"==u.substring(c.column,c.column+1))if(null!==o.$findOpeningBracket("}",{column:c.column+1,row:c.row})&&r.isAutoInsertedClosing(c,u,i))return r.popAutoInsertedClosing(),{text:"",selection:[1,1]}}else{if("\n"==i||"\r\n"==i){p(a);var g="";if(r.isMaybeInsertedClosing(c,u)&&(g=s.stringRepeat("}",n.maybeInsertedBrackets),r.clearMaybeInsertedClosing()),"}"===u.substring(c.column,c.column+1)){var y=o.findMatchingBracket({row:c.row,column:c.column+1},"}");if(!y)return null;var v=this.$getIndent(o.getLine(y.row))}else{if(!g)return void r.clearMaybeInsertedClosing();v=this.$getIndent(u)}var b=v+o.getTabString();return{text:"\n"+b+"\n"+v+g,selection:[1,b.length,1,b.length]}}r.clearMaybeInsertedClosing()}})),this.add("braces","deletion",(function(e,t,l,r,a){var o=r.doc.getTextRange(a);if(!a.isMultiLine()&&"{"==o){if(p(l),"}"==r.doc.getLine(a.start.row).substring(a.end.column,a.end.column+1))return a.end.column++,a;n.maybeInsertedBrackets--}})),this.add("parens","insertion",(function(e,t,l,n,a){if("("==a){p(l);var o=l.getSelectionRange(),i=n.doc.getTextRange(o);if(""!==i&&l.getWrapBehavioursEnabled())return h(o,i,"(",")");if(r.isSaneInsertion(l,n))return r.recordAutoInsert(l,n,")"),{text:"()",selection:[1,1]}}else if(")"==a){p(l);var s=l.getCursorPosition(),c=n.doc.getLine(s.row);if(")"==c.substring(s.column,s.column+1))if(null!==n.$findOpeningBracket(")",{column:s.column+1,row:s.row})&&r.isAutoInsertedClosing(s,c,a))return r.popAutoInsertedClosing(),{text:"",selection:[1,1]}}})),this.add("parens","deletion",(function(e,t,l,n,r){var a=n.doc.getTextRange(r);if(!r.isMultiLine()&&"("==a&&(p(l),")"==n.doc.getLine(r.start.row).substring(r.start.column+1,r.start.column+2)))return r.end.column++,r})),this.add("brackets","insertion",(function(e,t,l,n,a){if("["==a){p(l);var o=l.getSelectionRange(),i=n.doc.getTextRange(o);if(""!==i&&l.getWrapBehavioursEnabled())return h(o,i,"[","]");if(r.isSaneInsertion(l,n))return r.recordAutoInsert(l,n,"]"),{text:"[]",selection:[1,1]}}else if("]"==a){p(l);var s=l.getCursorPosition(),c=n.doc.getLine(s.row);if("]"==c.substring(s.column,s.column+1))if(null!==n.$findOpeningBracket("]",{column:s.column+1,row:s.row})&&r.isAutoInsertedClosing(s,c,a))return r.popAutoInsertedClosing(),{text:"",selection:[1,1]}}})),this.add("brackets","deletion",(function(e,t,l,n,r){var a=n.doc.getTextRange(r);if(!r.isMultiLine()&&"["==a&&(p(l),"]"==n.doc.getLine(r.start.row).substring(r.start.column+1,r.start.column+2)))return r.end.column++,r})),this.add("string_dquotes","insertion",(function(e,t,l,n,r){var a=n.$mode.$quotes||f;if(1==r.length&&a[r]){if(this.lineCommentStart&&-1!=this.lineCommentStart.indexOf(r))return;p(l);var o=r,i=l.getSelectionRange(),s=n.doc.getTextRange(i);if(!(""===s||1==s.length&&a[s])&&l.getWrapBehavioursEnabled())return h(i,s,o,o);if(!s){var c=l.getCursorPosition(),u=n.doc.getLine(c.row),d=u.substring(c.column-1,c.column),m=u.substring(c.column,c.column+1),g=n.getTokenAt(c.row,c.column),y=n.getTokenAt(c.row,c.column+1);if("\\"==d&&g&&/escape/.test(g.type))return null;var v,b=g&&/string|escape/.test(g.type),w=!y||/string|escape/.test(y.type);if(m==o)(v=b!==w)&&/string\.end/.test(y.type)&&(v=!1);else{if(b&&!w)return null;if(b&&w)return null;var x=n.$mode.tokenRe;x.lastIndex=0;var k=x.test(d);x.lastIndex=0;var S=x.test(m),C=n.$mode.$pairQuotesAfter;if(!(C&&C[o]&&C[o].test(d))&&k||S)return null;if(m&&!/[\s;,.})\]\\]/.test(m))return null;var O=u[c.column-2];if(d==o&&(O==o||x.test(O)))return null;v=!0}return{text:v?o+o:"",selection:[1,1]}}}})),this.add("string_dquotes","deletion",(function(e,t,l,n,r){var a=n.$mode.$quotes||f,o=n.doc.getTextRange(r);if(!r.isMultiLine()&&a.hasOwnProperty(o)&&(p(l),n.doc.getLine(r.start.row).substring(r.start.column+1,r.start.column+2)==o))return r.end.column++,r})),!1!==e.closeDocComment&&this.add("doc comment end","insertion",(function(e,t,l,n,r){if("doc-start"===e&&("\n"===r||"\r\n"===r)&&l.selection.isEmpty()){var a=l.getCursorPosition();if(0===a.column)return;for(var o=n.doc.getLine(a.row),i=n.doc.getLine(a.row+1),s=n.getTokens(a.row),c=0,u=0;u=a.column){if(c===a.column){if(!/\.doc/.test(d.type))return;if(/\*\//.test(d.value)){var f=s[u+1];if(!f||!/\.doc/.test(f.type))return}}var p=a.column-(c-d.value.length),h=d.value.indexOf("*/"),m=d.value.indexOf("/**",h>-1?h+2:0);if(-1!==m&&p>m&&p=h&&p<=m||!/\.doc/.test(d.type))return;break}}var g=this.$getIndent(o);if(/\s*\*/.test(i))return/^\s*\*/.test(o)?{text:r+g+"* ",selection:[1,2+g.length,1,2+g.length]}:{text:r+g+" * ",selection:[1,3+g.length,1,3+g.length]};if(/\/\*\*/.test(o.substring(0,a.column)))return{text:r+g+" * "+r+" "+g+"*/",selection:[1,4+g.length,1,4+g.length]}}}))}).isSaneInsertion=function(e,t){var l=e.getCursorPosition(),n=new i(t,l.row,l.column);if(!this.$matchTokenType(n.getCurrentToken()||"text",c)){if(/[)}\]]/.test(e.session.getLine(l.row)[l.column]))return!0;var r=new i(t,l.row,l.column+1);if(!this.$matchTokenType(r.getCurrentToken()||"text",c))return!1}return n.stepForward(),n.getCurrentTokenRow()!==l.row||this.$matchTokenType(n.getCurrentToken()||"text",u)},r.$matchTokenType=function(e,t){return t.indexOf(e.type||e)>-1},r.recordAutoInsert=function(e,t,l){var r=e.getCursorPosition(),a=t.doc.getLine(r.row);this.isAutoInsertedClosing(r,a,n.autoInsertedLineEnd[0])||(n.autoInsertedBrackets=0),n.autoInsertedRow=r.row,n.autoInsertedLineEnd=l+a.substr(r.column),n.autoInsertedBrackets++},r.recordMaybeInsert=function(e,t,l){var r=e.getCursorPosition(),a=t.doc.getLine(r.row);this.isMaybeInsertedClosing(r,a)||(n.maybeInsertedBrackets=0),n.maybeInsertedRow=r.row,n.maybeInsertedLineStart=a.substr(0,r.column)+l,n.maybeInsertedLineEnd=a.substr(r.column),n.maybeInsertedBrackets++},r.isAutoInsertedClosing=function(e,t,l){return n.autoInsertedBrackets>0&&e.row===n.autoInsertedRow&&l===n.autoInsertedLineEnd[0]&&t.substr(e.column)===n.autoInsertedLineEnd},r.isMaybeInsertedClosing=function(e,t){return n.maybeInsertedBrackets>0&&e.row===n.maybeInsertedRow&&t.substr(e.column)===n.maybeInsertedLineEnd&&t.substr(0,e.column)==n.maybeInsertedLineStart},r.popAutoInsertedClosing=function(){n.autoInsertedLineEnd=n.autoInsertedLineEnd.substr(1),n.autoInsertedBrackets--},r.clearMaybeInsertedClosing=function(){n&&(n.maybeInsertedBrackets=0,n.maybeInsertedRow=-1)},a.inherits(r,o),t.CstyleBehaviour=r})),ace.define("ace/unicode",["require","exports","module"],(function(e,t,l){"use strict";for(var n=[48,9,8,25,5,0,2,25,48,0,11,0,5,0,6,22,2,30,2,457,5,11,15,4,8,0,2,0,18,116,2,1,3,3,9,0,2,2,2,0,2,19,2,82,2,138,2,4,3,155,12,37,3,0,8,38,10,44,2,0,2,1,2,1,2,0,9,26,6,2,30,10,7,61,2,9,5,101,2,7,3,9,2,18,3,0,17,58,3,100,15,53,5,0,6,45,211,57,3,18,2,5,3,11,3,9,2,1,7,6,2,2,2,7,3,1,3,21,2,6,2,0,4,3,3,8,3,1,3,3,9,0,5,1,2,4,3,11,16,2,2,5,5,1,3,21,2,6,2,1,2,1,2,1,3,0,2,4,5,1,3,2,4,0,8,3,2,0,8,15,12,2,2,8,2,2,2,21,2,6,2,1,2,4,3,9,2,2,2,2,3,0,16,3,3,9,18,2,2,7,3,1,3,21,2,6,2,1,2,4,3,8,3,1,3,2,9,1,5,1,2,4,3,9,2,0,17,1,2,5,4,2,2,3,4,1,2,0,2,1,4,1,4,2,4,11,5,4,4,2,2,3,3,0,7,0,15,9,18,2,2,7,2,2,2,22,2,9,2,4,4,7,2,2,2,3,8,1,2,1,7,3,3,9,19,1,2,7,2,2,2,22,2,9,2,4,3,8,2,2,2,3,8,1,8,0,2,3,3,9,19,1,2,7,2,2,2,22,2,15,4,7,2,2,2,3,10,0,9,3,3,9,11,5,3,1,2,17,4,23,2,8,2,0,3,6,4,0,5,5,2,0,2,7,19,1,14,57,6,14,2,9,40,1,2,0,3,1,2,0,3,0,7,3,2,6,2,2,2,0,2,0,3,1,2,12,2,2,3,4,2,0,2,5,3,9,3,1,35,0,24,1,7,9,12,0,2,0,2,0,5,9,2,35,5,19,2,5,5,7,2,35,10,0,58,73,7,77,3,37,11,42,2,0,4,328,2,3,3,6,2,0,2,3,3,40,2,3,3,32,2,3,3,6,2,0,2,3,3,14,2,56,2,3,3,66,5,0,33,15,17,84,13,619,3,16,2,25,6,74,22,12,2,6,12,20,12,19,13,12,2,2,2,1,13,51,3,29,4,0,5,1,3,9,34,2,3,9,7,87,9,42,6,69,11,28,4,11,5,11,11,39,3,4,12,43,5,25,7,10,38,27,5,62,2,28,3,10,7,9,14,0,89,75,5,9,18,8,13,42,4,11,71,55,9,9,4,48,83,2,2,30,14,230,23,280,3,5,3,37,3,5,3,7,2,0,2,0,2,0,2,30,3,52,2,6,2,0,4,2,2,6,4,3,3,5,5,12,6,2,2,6,67,1,20,0,29,0,14,0,17,4,60,12,5,0,4,11,18,0,5,0,3,9,2,0,4,4,7,0,2,0,2,0,2,3,2,10,3,3,6,4,5,0,53,1,2684,46,2,46,2,132,7,6,15,37,11,53,10,0,17,22,10,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,31,48,0,470,1,36,5,2,4,6,1,5,85,3,1,3,2,2,89,2,3,6,40,4,93,18,23,57,15,513,6581,75,20939,53,1164,68,45,3,268,4,27,21,31,3,13,13,1,2,24,9,69,11,1,38,8,3,102,3,1,111,44,25,51,13,68,12,9,7,23,4,0,5,45,3,35,13,28,4,64,15,10,39,54,10,13,3,9,7,22,4,1,5,66,25,2,227,42,2,1,3,9,7,11171,13,22,5,48,8453,301,3,61,3,105,39,6,13,4,6,11,2,12,2,4,2,0,2,1,2,1,2,107,34,362,19,63,3,53,41,11,5,15,17,6,13,1,25,2,33,4,2,134,20,9,8,25,5,0,2,25,12,88,4,5,3,5,3,5,3,2],r=0,a=[],o=0;o2?n%s!=s-1:n%s==0})}else{if(!this.blockComment)return!1;var p=this.blockComment.start,h=this.blockComment.end,m=new RegExp("^(\\s*)(?:"+c.escapeRegExp(p)+")"),g=new RegExp("(?:"+c.escapeRegExp(h)+")\\s*$"),y=function(e,t){b(e,t)||a&&!/\S/.test(e)||(r.insertInLine({row:t,column:e.length},h),r.insertInLine({row:t,column:i},p))},v=function(e,t){var l;(l=e.match(g))&&r.removeInLine(t,e.length-l[0].length,e.length),(l=e.match(m))&&r.removeInLine(t,l[1].length,l[0].length)},b=function(e,l){if(m.test(e))return!0;for(var n=t.getTokens(l),r=0;re.length&&(x=e.length)})),i==1/0&&(i=x,a=!1,o=!1),u&&i%s!=0&&(i=Math.floor(i/s)*s),w(o?v:y)},this.toggleBlockComment=function(e,t,l,n){var r=this.blockComment;if(r){!r.start&&r[0]&&(r=r[0]);var a,o,i=(m=new u(t,n.row,n.column)).getCurrentToken(),s=(t.selection,t.selection.toOrientedRange());if(i&&/comment/.test(i.type)){for(var c,f;i&&/comment/.test(i.type);){if(-1!=(g=i.value.indexOf(r.start))){var p=m.getCurrentTokenRow(),h=m.getCurrentTokenColumn()+g;c=new d(p,h,p,h+r.start.length);break}i=m.stepBackward()}var m;for(i=(m=new u(t,n.row,n.column)).getCurrentToken();i&&/comment/.test(i.type);){var g;if(-1!=(g=i.value.indexOf(r.end))){p=m.getCurrentTokenRow(),h=m.getCurrentTokenColumn()+g;f=new d(p,h,p,h+r.end.length);break}i=m.stepForward()}f&&t.remove(f),c&&(t.remove(c),a=c.start.row,o=-r.start.length)}else o=r.start.length,a=l.start.row,t.insert(l.end,r.end),t.insert(l.start,r.start);s.start.row==a&&(s.start.column+=o),s.end.row==a&&(s.end.column+=o),t.selection.fromOrientedRange(s)}},this.getNextLineIndent=function(e,t,l){return this.$getIndent(t)},this.checkOutdent=function(e,t,l){return!1},this.autoOutdent=function(e,t,l){},this.$getIndent=function(e){return e.match(/^\s*/)[0]},this.createWorker=function(e){return null},this.createModeDelegates=function(e){for(var t in this.$embeds=[],this.$modes={},e)if(e[t]){var l=e[t],n=l.prototype.$id,a=r.$modes[n];a||(r.$modes[n]=a=new l),r.$modes[t]||(r.$modes[t]=a),this.$embeds.push(t),this.$modes[t]=a}var o=["toggleBlockComment","toggleCommentLines","getNextLineIndent","checkOutdent","autoOutdent","transformAction","getCompletions"],i=function(e){var t,l,n;n=(t=s)[l=o[e]],t[o[e]]=function(){return this.$delegator(l,arguments,n)}},s=this;for(t=0;tt[l].column&&l++,a.unshift(l,0),t.splice.apply(t,a),this.$updateRows()}}},e.prototype.$updateRows=function(){var e=this.session.lineWidgets;if(e){var t=!0;e.forEach((function(e,l){if(e)for(t=!1,e.row=l;e.$oldWidget;)e.$oldWidget.row=l,e=e.$oldWidget})),t&&(this.session.lineWidgets=null)}},e.prototype.$registerLineWidget=function(e){this.session.lineWidgets||(this.session.lineWidgets=new Array(this.session.getLength()));var t=this.session.lineWidgets[e.row];return t&&(e.$oldWidget=t,t.el&&t.el.parentNode&&(t.el.parentNode.removeChild(t.el),t._inDocument=!1)),this.session.lineWidgets[e.row]=e,e},e.prototype.addLineWidget=function(e){if(this.$registerLineWidget(e),e.session=this.session,!this.editor)return e;var t=this.editor.renderer;e.html&&!e.el&&(e.el=n.createElement("div"),e.el.innerHTML=e.html),e.text&&!e.el&&(e.el=n.createElement("div"),e.el.textContent=e.text),e.el&&(n.addCssClass(e.el,"ace_lineWidgetContainer"),e.className&&n.addCssClass(e.el,e.className),e.el.style.position="absolute",e.el.style.zIndex="5",t.container.appendChild(e.el),e._inDocument=!0,e.coverGutter||(e.el.style.zIndex="3"),null==e.pixelHeight&&(e.pixelHeight=e.el.offsetHeight)),null==e.rowCount&&(e.rowCount=e.pixelHeight/t.layerConfig.lineHeight);var l=this.session.getFoldAt(e.row,0);if(e.$fold=l,l){var r=this.session.lineWidgets;e.row!=l.end.row||r[l.start.row]?e.hidden=!0:r[l.start.row]=e}return this.session._emit("changeFold",{data:{start:{row:e.row}}}),this.$updateRows(),this.renderWidgets(null,t),this.onWidgetChanged(e),e},e.prototype.removeLineWidget=function(e){if(e._inDocument=!1,e.session=null,e.el&&e.el.parentNode&&e.el.parentNode.removeChild(e.el),e.editor&&e.editor.destroy)try{e.editor.destroy()}catch(e){}if(this.session.lineWidgets){var t=this.session.lineWidgets[e.row];if(t==e)this.session.lineWidgets[e.row]=e.$oldWidget,e.$oldWidget&&this.onWidgetChanged(e.$oldWidget);else for(;t;){if(t.$oldWidget==e){t.$oldWidget=e.$oldWidget;break}t=t.$oldWidget}}this.session._emit("changeFold",{data:{start:{row:e.row}}}),this.$updateRows()},e.prototype.getWidgetsAtRow=function(e){for(var t=this.session.lineWidgets,l=t&&t[e],n=[];l;)n.push(l),l=l.$oldWidget;return n},e.prototype.onWidgetChanged=function(e){this.session._changedWidgets.push(e),this.editor&&this.editor.renderer.updateFull()},e.prototype.measureWidgets=function(e,t){var l=this.session._changedWidgets,n=t.layerConfig;if(l&&l.length){for(var r=1/0,a=0;a0&&!n[r];)r--;this.firstRow=l.firstRow,this.lastRow=l.lastRow,t.$cursorLayer.config=l;for(var o=r;o<=a;o++){var i=n[o];if(i&&i.el)if(i.hidden)i.el.style.top=-100-(i.pixelHeight||0)+"px";else{i._inDocument||(i._inDocument=!0,t.container.appendChild(i.el));var s=t.$cursorLayer.getPixelPosition({row:o,column:0},!0).top;i.coverLine||(s+=l.lineHeight*this.session.getRowLineCount(i.row)),i.el.style.top=s-l.offset+"px";var c=i.coverGutter?0:t.gutterWidth;i.fixedWidth||(c-=t.scrollLeft),i.el.style.left=c+"px",i.fullWidth&&i.screenWidth&&(i.el.style.minWidth=l.width+2*l.padding+"px"),i.fixedWidth?i.el.style.right=t.scrollBar.getWidth()+"px":i.el.style.right=""}}}},e}();t.LineWidgets=r})),ace.define("ace/apply_delta",["require","exports","module"],(function(e,t,l){"use strict";t.applyDelta=function(e,t,l){var n=t.start.row,r=t.start.column,a=e[n]||"";switch(t.action){case"insert":if(1===t.lines.length)e[n]=a.substring(0,r)+t.lines[0]+a.substring(r);else{var o=[n,1].concat(t.lines);e.splice.apply(e,o),e[n]=a.substring(0,r)+e[n],e[n+t.lines.length-1]+=a.substring(r)}break;case"remove":var i=t.end.column,s=t.end.row;n===s?e[n]=a.substring(0,r)+a.substring(i):e.splice(n,s-n+1,a.substring(0,r)+e[s].substring(i))}}})),ace.define("ace/anchor",["require","exports","module","ace/lib/oop","ace/lib/event_emitter"],(function(e,t,l){"use strict";var n=e("./lib/oop"),r=e("./lib/event_emitter").EventEmitter,a=function(){function e(e,t,l){this.$onChange=this.onChange.bind(this),this.attach(e),"number"!=typeof t?this.setPosition(t.row,t.column):this.setPosition(t,l)}return e.prototype.getPosition=function(){return this.$clipPositionToDocument(this.row,this.column)},e.prototype.getDocument=function(){return this.document},e.prototype.onChange=function(e){if((e.start.row!=e.end.row||e.start.row==this.row)&&!(e.start.row>this.row)){var t=function(e,t,l){var n="insert"==e.action,r=(n?1:-1)*(e.end.row-e.start.row),a=(n?1:-1)*(e.end.column-e.start.column),i=e.start,s=n?i:e.end;if(o(t,i,l))return{row:t.row,column:t.column};if(o(s,t,!l))return{row:t.row+r,column:t.column+(t.row==s.row?a:0)};return{row:i.row,column:i.column}}(e,{row:this.row,column:this.column},this.$insertRight);this.setPosition(t.row,t.column,!0)}},e.prototype.setPosition=function(e,t,l){var n;if(n=l?{row:e,column:t}:this.$clipPositionToDocument(e,t),this.row!=n.row||this.column!=n.column){var r={row:this.row,column:this.column};this.row=n.row,this.column=n.column,this._signal("change",{old:r,value:n})}},e.prototype.detach=function(){this.document.off("change",this.$onChange)},e.prototype.attach=function(e){this.document=e||this.document,this.document.on("change",this.$onChange)},e.prototype.$clipPositionToDocument=function(e,t){var l={};return e>=this.document.getLength()?(l.row=Math.max(0,this.document.getLength()-1),l.column=this.document.getLine(l.row).length):e<0?(l.row=0,l.column=0):(l.row=e,l.column=Math.min(this.document.getLine(l.row).length,Math.max(0,t))),t<0&&(l.column=0),l},e}();function o(e,t,l){var n=l?e.column<=t.column:e.column=l&&(e=l-1,t=void 0);var n=this.getLine(e);return void 0==t&&(t=n.length),{row:e,column:t=Math.min(Math.max(t,0),n.length)}},e.prototype.clonePos=function(e){return{row:e.row,column:e.column}},e.prototype.pos=function(e,t){return{row:e,column:t}},e.prototype.$clipPosition=function(e){var t=this.getLength();return e.row>=t?(e.row=Math.max(0,t-1),e.column=this.getLine(t-1).length):(e.row=Math.max(0,e.row),e.column=Math.min(Math.max(e.column,0),this.getLine(e.row).length)),e},e.prototype.insertFullLines=function(e,t){var l=0;(e=Math.min(Math.max(e,0),this.getLength()))0,n=t=0&&this.applyDelta({start:this.pos(e,this.getLine(e).length),end:this.pos(e+1,0),action:"remove",lines:["",""]})},e.prototype.replace=function(e,t){return e instanceof o||(e=o.fromPoints(e.start,e.end)),0===t.length&&e.isEmpty()?e.start:t==this.getTextRange(e)?e.end:(this.remove(e),t?this.insert(e.start,t):e.start)},e.prototype.applyDeltas=function(e){for(var t=0;t=0;t--)this.revertDelta(e[t])},e.prototype.applyDelta=function(e,t){var l="insert"==e.action;(l?e.lines.length<=1&&!e.lines[0]:!o.comparePoints(e.start,e.end))||(l&&e.lines.length>2e4?this.$splitAndapplyLargeDelta(e,2e4):(r(this.$lines,e,t),this._signal("change",e)))},e.prototype.$safeApplyDelta=function(e){var t=this.$lines.length;("remove"==e.action&&e.start.row20){l.running=setTimeout(l.$worker,20);break}}l.currentLine=t,-1==n&&(n=t),a<=n&&l.fireUpdateEvent(a,n)}}}return e.prototype.setTokenizer=function(e){this.tokenizer=e,this.lines=[],this.states=[],this.start(0)},e.prototype.setDocument=function(e){this.doc=e,this.lines=[],this.states=[],this.stop()},e.prototype.fireUpdateEvent=function(e,t){var l={first:e,last:t};this._signal("update",{data:l})},e.prototype.start=function(e){this.currentLine=Math.min(e||0,this.currentLine,this.doc.getLength()),this.lines.splice(this.currentLine,this.lines.length),this.states.splice(this.currentLine,this.states.length),this.stop(),this.running=setTimeout(this.$worker,700)},e.prototype.scheduleStart=function(){this.running||(this.running=setTimeout(this.$worker,700))},e.prototype.$updateOnChange=function(e){var t=e.start.row,l=e.end.row-t;if(0===l)this.lines[t]=null;else if("remove"==e.action)this.lines.splice(t,l+1,null),this.states.splice(t,l+1,null);else{var n=Array(l+1);n.unshift(t,1),this.lines.splice.apply(this.lines,n),this.states.splice.apply(this.states,n)}this.currentLine=Math.min(t,this.currentLine,this.doc.getLength()),this.stop()},e.prototype.stop=function(){this.running&&clearTimeout(this.running),this.running=!1},e.prototype.getTokens=function(e){return this.lines[e]||this.$tokenizeRow(e)},e.prototype.getState=function(e){return this.currentLine==e&&this.$tokenizeRow(e),this.states[e]||"start"},e.prototype.$tokenizeRow=function(e){var t=this.doc.getLine(e),l=this.states[e-1],n=this.tokenizer.getLineTokens(t,l,e);return this.states[e]+""!==n.state+""?(this.states[e]=n.state,this.lines[e+1]=null,this.currentLine>e+1&&(this.currentLine=e+1)):this.currentLine==e&&(this.currentLine=e+1),this.lines[e]=n.tokens},e.prototype.cleanup=function(){this.running=!1,this.lines=[],this.states=[],this.currentLine=0,this.removeAllListeners()},e}();n.implement(a.prototype,r),t.BackgroundTokenizer=a})),ace.define("ace/search_highlight",["require","exports","module","ace/lib/lang","ace/range"],(function(e,t,l){"use strict";var n=e("./lib/lang"),r=e("./range").Range,a=function(){function e(e,t,l){void 0===l&&(l="text"),this.setRegexp(e),this.clazz=t,this.type=l,this.docLen=0}return e.prototype.setRegexp=function(e){this.regExp+""!=e+""&&(this.regExp=e,this.cache=[])},e.prototype.update=function(e,t,l,a){if(this.regExp){for(var o=a.firstRow,i=a.lastRow,s={},c=l.$editor&&l.$editor.$search,u=c&&c.$isMultilineSearch(l.$editor.getLastSearchOptions()),d=o;d<=i;d++){var f=this.cache[d];if(null==f||l.getValue().length!=this.docLen){if(u){f=[];var p=c.$multiLineForward(l,this.regExp,d,i);if(p){var h=p.endRow<=i?p.endRow-1:i;h>d&&(d=h),f.push(new r(p.startRow,p.startCol,p.endRow,p.endCol))}f.length>this.MAX_RANGES&&(f=f.slice(0,this.MAX_RANGES))}else(f=n.getMatchOffsets(l.getLine(d),this.regExp)).length>this.MAX_RANGES&&(f=f.slice(0,this.MAX_RANGES)),f=f.map((function(e){return new r(d,e.offset,d,e.offset+e.length)}));this.cache[d]=f.length?f:""}if(0!==f.length)for(var m=f.length;m--;){var g=f[m].toScreenRange(l),y=g.toString();s[y]||(s[y]=!0,t.drawSingleLineMarker(e,g,this.clazz,a))}}this.docLen=l.getValue().length}},e}();a.prototype.MAX_RANGES=500,t.SearchHighlight=a})),ace.define("ace/undomanager",["require","exports","module","ace/range"],(function(e,t,l){"use strict";var n=function(){function e(){this.$keepRedoStack,this.$maxRev=0,this.$fromUndo=!1,this.$undoDepth=1/0,this.reset()}return e.prototype.addSession=function(e){this.$session=e},e.prototype.add=function(e,t,l){if(!this.$fromUndo&&e!=this.$lastDelta){if(this.$keepRedoStack||(this.$redoStack.length=0),!1===t||!this.lastDeltas){this.lastDeltas=[];var n=this.$undoStack.length;n>this.$undoDepth-1&&this.$undoStack.splice(0,n-this.$undoDepth+1),this.$undoStack.push(this.lastDeltas),e.id=this.$rev=++this.$maxRev}"remove"!=e.action&&"insert"!=e.action||(this.$lastDelta=e),this.lastDeltas.push(e)}},e.prototype.addSelection=function(e,t){this.selections.push({value:e,rev:t||this.$rev})},e.prototype.startNewGroup=function(){return this.lastDeltas=null,this.$rev},e.prototype.markIgnored=function(e,t){null==t&&(t=this.$rev+1);for(var l=this.$undoStack,n=l.length;n--;){var r=l[n][0];if(r.id<=e)break;r.id0},e.prototype.canRedo=function(){return this.$redoStack.length>0},e.prototype.bookmark=function(e){void 0==e&&(e=this.$rev),this.mark=e},e.prototype.isAtBookmark=function(){return this.$rev===this.mark},e.prototype.toJSON=function(){return{$redoStack:this.$redoStack,$undoStack:this.$undoStack}},e.prototype.fromJSON=function(e){this.reset(),this.$undoStack=e.$undoStack,this.$redoStack=e.$redoStack},e.prototype.$prettyPrint=function(e){return e?i(e):i(this.$undoStack)+"\n---\n"+i(this.$redoStack)},e}();n.prototype.hasUndo=n.prototype.canUndo,n.prototype.hasRedo=n.prototype.canRedo,n.prototype.isClean=n.prototype.isAtBookmark,n.prototype.markClean=n.prototype.bookmark;var r=e("./range").Range,a=r.comparePoints;r.comparePoints;function o(e){return{row:e.row,column:e.column}}function i(e){if(e=e||this,Array.isArray(e))return e.map(i).join("\n");var t="";return e.action?(t="insert"==e.action?"+":"-",t+="["+e.lines+"]"):e.value&&(t=Array.isArray(e.value)?e.value.map(s).join("\n"):s(e.value)),e.start&&(t+=s(e)),(e.id||e.rev)&&(t+="\t("+(e.id||e.rev)+")"),t}function s(e){return e.start.row+":"+e.start.column+"=>"+e.end.row+":"+e.end.column}function c(e,t){var l="insert"==e.action,n="insert"==t.action;if(l&&n)if(a(t.start,e.end)>=0)f(t,e,-1);else{if(!(a(t.start,e.start)<=0))return null;f(e,t,1)}else if(l&&!n)if(a(t.start,e.end)>=0)f(t,e,-1);else{if(!(a(t.end,e.start)<=0))return null;f(e,t,-1)}else if(!l&&n)if(a(t.start,e.start)>=0)f(t,e,1);else{if(!(a(t.start,e.start)<=0))return null;f(e,t,1)}else if(!l&&!n)if(a(t.start,e.start)>=0)f(t,e,1);else{if(!(a(t.end,e.start)<=0))return null;f(e,t,-1)}return[t,e]}function u(e,t){for(var l=e.length;l--;)for(var n=0;n=0?f(e,t,-1):(a(e.start,t.start)<=0||f(e,r.fromPoints(t.start,e.start),-1),f(t,e,1));else if(!l&&n)a(t.start,e.end)>=0?f(t,e,-1):(a(t.start,e.start)<=0||f(t,r.fromPoints(e.start,t.start),-1),f(e,t,1));else if(!l&&!n)if(a(t.start,e.end)>=0)f(t,e,-1);else{var o,i;if(!(a(t.end,e.start)<=0))return a(e.start,t.start)<0&&(o=e,e=h(e,t.start)),a(e.end,t.end)>0&&(i=h(e,t.end)),p(t.end,e.start,e.end,-1),i&&!o&&(e.lines=i.lines,e.start=i.start,e.end=i.end,i=e),[t,o,i].filter(Boolean);f(e,t,-1)}return[t,e]}function f(e,t,l){p(e.start,t.start,t.end,l),p(e.end,t.start,t.end,l)}function p(e,t,l,n){e.row==(1==n?t:l).row&&(e.column+=n*(l.column-t.column)),e.row+=n*(l.row-t.row)}function h(e,t){var l=e.lines,n=e.end;e.end=o(t);var r=e.end.row-e.start.row,a=l.splice(r,l.length),i=r?t.column:t.column-e.start.column;return l.push(a[0].substring(0,i)),a[0]=a[0].substr(i),{start:o(t),end:n,lines:a,action:e.action}}function m(e,t){t=function(e){return{start:o(e.start),end:o(e.end),action:e.action,lines:e.lines.slice()}}(t);for(var l=e.length;l--;){for(var n=e[l],r=0;rthis.endRow)throw new Error("Can't add a fold to this FoldLine as it has no connection");this.folds.push(e),this.folds.sort((function(e,t){return-e.range.compareEnd(t.start.row,t.start.column)})),this.range.compareEnd(e.start.row,e.start.column)>0?(this.end.row=e.end.row,this.end.column=e.end.column):this.range.compareStart(e.end.row,e.end.column)<0&&(this.start.row=e.start.row,this.start.column=e.start.column)}else if(e.start.row==this.end.row)this.folds.push(e),this.end.row=e.end.row,this.end.column=e.end.column;else{if(e.end.row!=this.start.row)throw new Error("Trying to add fold to FoldRow that doesn't have a matching row");this.folds.unshift(e),this.start.row=e.start.row,this.start.column=e.start.column}e.foldLine=this},e.prototype.containsRow=function(e){return e>=this.start.row&&e<=this.end.row},e.prototype.walk=function(e,t,l){var n,r,a=0,o=this.folds,i=!0;null==t&&(t=this.end.row,l=this.end.column);for(var s=0;s0)){var s=n(e,o.start);return 0===i?t&&0!==s?-a-2:a:s>0||0===s&&!t?a:-a-1}}return-a-1},e.prototype.add=function(e){var t=!e.isEmpty(),l=this.pointIndex(e.start,t);l<0&&(l=-l-1);var n=this.pointIndex(e.end,t,l);return n<0?n=-n-1:n++,this.ranges.splice(l,n-l,e)},e.prototype.addList=function(e){for(var t=[],l=e.length;l--;)t.push.apply(t,this.add(e[l]));return t},e.prototype.substractPoint=function(e){var t=this.pointIndex(e);if(t>=0)return this.ranges.splice(t,1)},e.prototype.merge=function(){for(var e,t=[],l=this.ranges,r=(l=l.sort((function(e,t){return n(e.start,t.start)})))[0],a=1;a=0},e.prototype.containsPoint=function(e){return this.pointIndex(e)>=0},e.prototype.rangeAtPoint=function(e){var t=this.pointIndex(e);if(t>=0)return this.ranges[t]},e.prototype.clipRows=function(e,t){var l=this.ranges;if(l[0].start.row>t||l[l.length-1].start.row=n)break}if("insert"==e.action)for(var s=r-n,c=-t.column+l.column;on)break;if(u.start.row==n&&u.start.column>=t.column&&(u.start.column==t.column&&this.$bias<=0||(u.start.column+=c,u.start.row+=s)),u.end.row==n&&u.end.column>=t.column){if(u.end.column==t.column&&this.$bias<0)continue;u.end.column==t.column&&c>0&&ou.start.column&&u.end.column==a[o+1].start.column&&(u.end.column-=c),u.end.column+=c,u.end.row+=s}}else for(s=n-r,c=t.column-l.column;or)break;u.end.rowt.column)&&(u.end.column=t.column,u.end.row=t.row):(u.end.column+=c,u.end.row+=s):u.end.row>r&&(u.end.row+=s),u.start.rowt.column)&&(u.start.column=t.column,u.start.row=t.row):(u.start.column+=c,u.start.row+=s):u.start.row>r&&(u.start.row+=s)}if(0!=s&&o=e)return r;if(r.end.row>e)return null}return null},this.getNextFoldLine=function(e,t){var l=this.$foldData,n=0;for(t&&(n=l.indexOf(t)),-1==n&&(n=0);n=e)return r}return null},this.getFoldedRowCount=function(e,t){for(var l=this.$foldData,n=t-e+1,r=0;r=t){i=e?n-=t-i:n=0);break}o>=e&&(n-=i>=e?o-i:o-e+1)}return n},this.$addFoldLine=function(e){return this.$foldData.push(e),this.$foldData.sort((function(e,t){return e.start.row-t.start.row})),e},this.addFold=function(e,t){var l,n=this.$foldData,o=!1;e instanceof a?l=e:(l=new a(t,e)).collapseChildren=t.collapseChildren,this.$clipRangeToDocument(l.range);var i=l.start.row,s=l.start.column,c=l.end.row,u=l.end.column,d=this.getFoldAt(i,s,1),f=this.getFoldAt(c,u,-1);if(d&&f==d)return d.addSubFold(l);d&&!d.range.isStart(i,s)&&this.removeFold(d),f&&!f.range.isEnd(c,u)&&this.removeFold(f);var p=this.getFoldsInRange(l.range);p.length>0&&(this.removeFolds(p),l.collapseChildren||p.forEach((function(e){l.addSubFold(e)})));for(var h=0;h0&&this.foldAll(e.start.row+1,e.end.row,e.collapseChildren-1),e.subFolds=[]},this.expandFolds=function(e){e.forEach((function(e){this.expandFold(e)}),this)},this.unfold=function(e,t){var l,r;if(null==e)l=new n(0,0,this.getLength(),0),null==t&&(t=!0);else if("number"==typeof e)l=new n(e,0,e,this.getLine(e).length);else if("row"in e)l=n.fromPoints(e,e);else{if(Array.isArray(e))return r=[],e.forEach((function(e){r=r.concat(this.unfold(e))}),this),r;l=e}for(var a=r=this.getFoldsInRangeList(l);1==r.length&&n.comparePoints(r[0].start,l.start)<0&&n.comparePoints(r[0].end,l.end)>0;)this.expandFolds(r),r=this.getFoldsInRangeList(l);if(0!=t?this.removeFolds(r):this.expandFolds(r),a.length)return a},this.isRowFolded=function(e,t){return!!this.getFoldLine(e,t)},this.getRowFoldEnd=function(e,t){var l=this.getFoldLine(e,t);return l?l.end.row:e},this.getRowFoldStart=function(e,t){var l=this.getFoldLine(e,t);return l?l.start.row:e},this.getFoldDisplayLine=function(e,t,l,n,r){null==n&&(n=e.start.row),null==r&&(r=0),null==t&&(t=e.end.row),null==l&&(l=this.getLine(t).length);var a=this.doc,o="";return e.walk((function(e,t,l,i){if(!(td)break}while(a&&s.test(a.type));a=r.stepBackward()}else a=r.getCurrentToken();if(c.end.row=r.getCurrentTokenRow(),c.end.column=r.getCurrentTokenColumn(),c.start.row==c.end.row&&c.start.column>c.end.column)return;return c}},this.foldAll=function(e,t,l,n){void 0==l&&(l=1e5);var r=this.foldWidgets;if(r){t=t||this.getLength();for(var a=e=e||0;a=e&&(a=o.end.row,o.collapseChildren=l,this.addFold("...",o))}}},this.foldToLevel=function(e){for(this.foldAll();e-- >0;)this.unfold(null,!1)},this.foldAllComments=function(){var e=this;this.foldAll(null,null,null,(function(t){for(var l=e.getTokens(t),n=0;n=0;){var a=l[r];if(null==a&&(a=l[r]=this.getFoldWidget(r)),"start"==a){var o=this.getFoldWidgetRange(r);if(n||(n=o),o&&o.end.row>=e)break}r--}return{range:-1!==r&&o,firstRange:n}},this.onFoldWidgetClick=function(e,t){t instanceof i&&(t=t.domEvent);var l={children:t.shiftKey,all:t.ctrlKey||t.metaKey,siblings:t.altKey};if(!this.$toggleFoldWidget(e,l)){var n=t.target||t.srcElement;n&&/ace_fold-widget/.test(n.className)&&(n.className+=" ace_invalid")}},this.$toggleFoldWidget=function(e,t){if(this.getFoldWidget){var l=this.getFoldWidget(e),n=this.getLine(e),r="end"===l?-1:1,a=this.getFoldAt(e,-1===r?0:n.length,r);if(a)return t.children||t.all?this.removeFold(a):this.expandFold(a),a;var o=this.getFoldWidgetRange(e,!0);if(o&&!o.isMultiLine()&&(a=this.getFoldAt(o.start.row,o.start.column,1))&&o.isEqual(a.range))return this.removeFold(a),a;if(t.siblings){var i=this.getParentFoldRangeData(e);if(i.range)var s=i.range.start.row+1,c=i.range.end.row;this.foldAll(s,c,t.all?1e4:0)}else t.children?(c=o?o.end.row:this.getLength(),this.foldAll(e+1,c,t.all?1e4:0)):o&&(t.all&&(o.collapseChildren=1e4),this.addFold("...",o));return o}},this.toggleFoldWidget=function(e){var t=this.selection.getCursor().row;t=this.getRowFoldStart(t);var l=this.$toggleFoldWidget(t,{});if(!l){var n=this.getParentFoldRangeData(t,!0);if(l=n.range||n.firstRange){t=l.start.row;var r=this.getFoldAt(t,this.getLine(t).length,1);r?this.removeFold(r):this.addFold("...",l)}}},this.updateFoldWidgets=function(e){var t=e.start.row,l=e.end.row-t;if(0===l)this.foldWidgets[t]=null;else if("remove"==e.action)this.foldWidgets.splice(t,l+1,null);else{var n=Array(l+1);n.unshift(t,1),this.foldWidgets.splice.apply(this.foldWidgets,n)}},this.tokenizerUpdateFoldWidgets=function(e){var t=e.data;t.first!=t.last&&this.foldWidgets.length>t.first&&this.foldWidgets.splice(t.first,this.foldWidgets.length)}}})),ace.define("ace/edit_session/bracket_match",["require","exports","module","ace/token_iterator","ace/range"],(function(e,t,l){"use strict";var n=e("../token_iterator").TokenIterator,r=e("../range").Range;t.BracketMatch=function(){this.findMatchingBracket=function(e,t){if(0==e.column)return null;var l=t||this.getLine(e.row).charAt(e.column-1);if(""==l)return null;var n=l.match(/([\(\[\{])|([\)\]\}])/);return n?n[1]?this.$findClosingBracket(n[1],e):this.$findOpeningBracket(n[2],e):null},this.getBracketRange=function(e){var t,l=this.getLine(e.row),n=!0,a=l.charAt(e.column-1),o=a&&a.match(/([\(\[\{])|([\)\]\}])/);if(o||(a=l.charAt(e.column),e={row:e.row,column:e.column+1},o=a&&a.match(/([\(\[\{])|([\)\]\}])/),n=!1),!o)return null;if(o[1]){if(!(i=this.$findClosingBracket(o[1],e)))return null;t=r.fromPoints(e,i),n||(t.end.column++,t.start.column--),t.cursor=t.end}else{var i;if(!(i=this.$findOpeningBracket(o[2],e)))return null;t=r.fromPoints(i,e),n||(t.start.column++,t.end.column--),t.cursor=t.start}return t},this.getMatchingBracketRanges=function(e,t){var l=this.getLine(e.row),n=/([\(\[\{])|([\)\]\}])/,a=!t&&l.charAt(e.column-1),o=a&&a.match(n);if(o||(a=(void 0===t||t)&&l.charAt(e.column),e={row:e.row,column:e.column+1},o=a&&a.match(n)),!o)return null;var i=new r(e.row,e.column-1,e.row,e.column),s=o[1]?this.$findClosingBracket(o[1],e):this.$findOpeningBracket(o[2],e);return s?[i,new r(s.row,s.column,s.row,s.column+1)]:[i]},this.$brackets={")":"(","(":")","]":"[","[":"]","{":"}","}":"{","<":">",">":"<"},this.$findOpeningBracket=function(e,t,l){var r=this.$brackets[e],a=1,o=new n(this,t.row,t.column),i=o.getCurrentToken();if(i||(i=o.stepForward()),i){l||(l=new RegExp("(\\.?"+i.type.replace(".","\\.").replace("rparen",".paren").replace(/\b(?:end)\b/,"(?:start|begin|end)").replace(/-close\b/,"-(close|open)")+")+"));for(var s=t.column-o.getCurrentTokenColumn()-2,c=i.value;;){for(;s>=0;){var u=c.charAt(s);if(u==r){if(0==(a-=1))return{row:o.getCurrentTokenRow(),column:s+o.getCurrentTokenColumn()}}else u==e&&(a+=1);s-=1}do{i=o.stepBackward()}while(i&&!l.test(i.type));if(null==i)break;s=(c=i.value).length-1}return null}},this.$findClosingBracket=function(e,t,l){var r=this.$brackets[e],a=1,o=new n(this,t.row,t.column),i=o.getCurrentToken();if(i||(i=o.stepForward()),i){l||(l=new RegExp("(\\.?"+i.type.replace(".","\\.").replace("lparen",".paren").replace(/\b(?:start|begin)\b/,"(?:start|begin|end)").replace(/-open\b/,"-(close|open)")+")+"));for(var s=t.column-o.getCurrentTokenColumn();;){for(var c=i.value,u=c.length;s"===t.value?n=!0:-1!==t.type.indexOf("tag-name")&&(l=!0))}while(t&&!l);return t},this.$findClosingTag=function(e,t){var l,n=t.value,a=t.value,o=0,i=new r(e.getCurrentTokenRow(),e.getCurrentTokenColumn(),e.getCurrentTokenRow(),e.getCurrentTokenColumn()+1);t=e.stepForward();var s=new r(e.getCurrentTokenRow(),e.getCurrentTokenColumn(),e.getCurrentTokenRow(),e.getCurrentTokenColumn()+t.value.length),c=!1;do{if(-1!==(l=t).type.indexOf("tag-close")&&!c){var u=new r(e.getCurrentTokenRow(),e.getCurrentTokenColumn(),e.getCurrentTokenRow(),e.getCurrentTokenColumn()+1);c=!0}if(t=e.stepForward()){if(">"===t.value&&!c){u=new r(e.getCurrentTokenRow(),e.getCurrentTokenColumn(),e.getCurrentTokenRow(),e.getCurrentTokenColumn()+1);c=!0}if(-1!==t.type.indexOf("tag-name")){if(a===(n=t.value))if("<"===l.value)o++;else if(""!==t.value)return;var p=new r(e.getCurrentTokenRow(),e.getCurrentTokenColumn(),e.getCurrentTokenRow(),e.getCurrentTokenColumn()+1)}}else if(a===n&&"/>"===t.value&&--o<0)p=f=d=new r(e.getCurrentTokenRow(),e.getCurrentTokenColumn(),e.getCurrentTokenRow(),e.getCurrentTokenColumn()+2),u=new r(s.end.row,s.end.column,s.end.row,s.end.column+1)}}while(t&&o>=0);if(i&&u&&d&&p&&s&&f)return{openTag:new r(i.start.row,i.start.column,u.end.row,u.end.column),closeTag:new r(d.start.row,d.start.column,p.end.row,p.end.column),openTagName:s,closeTagName:f}},this.$findOpeningTag=function(e,t){var l=e.getCurrentToken(),n=t.value,a=0,o=e.getCurrentTokenRow(),i=e.getCurrentTokenColumn(),s=i+2,c=new r(o,i,o,s);e.stepForward();var u=new r(e.getCurrentTokenRow(),e.getCurrentTokenColumn(),e.getCurrentTokenRow(),e.getCurrentTokenColumn()+t.value.length);if(-1===t.type.indexOf("tag-close")&&(t=e.stepForward()),t&&">"===t.value){var d=new r(e.getCurrentTokenRow(),e.getCurrentTokenColumn(),e.getCurrentTokenRow(),e.getCurrentTokenColumn()+1);e.stepBackward(),e.stepBackward();do{if(t=l,o=e.getCurrentTokenRow(),s=(i=e.getCurrentTokenColumn())+t.value.length,l=e.stepBackward(),t)if(-1!==t.type.indexOf("tag-name")){if(n===t.value)if("<"===l.value){if(++a>0){var f=new r(o,i,o,s),p=new r(e.getCurrentTokenRow(),e.getCurrentTokenColumn(),e.getCurrentTokenRow(),e.getCurrentTokenColumn()+1);do{t=e.stepForward()}while(t&&">"!==t.value);var h=new r(e.getCurrentTokenRow(),e.getCurrentTokenColumn(),e.getCurrentTokenRow(),e.getCurrentTokenColumn()+1)}}else""===t.value){for(var m=0,g=l;g;){if(-1!==g.type.indexOf("tag-name")&&g.value===n){a--;break}if("<"===g.value)break;g=e.stepBackward(),m++}for(var y=0;yl&&(this.$docRowCache.splice(l,t),this.$screenRowCache.splice(l,t))},e.prototype.$getRowCacheIndex=function(e,t){for(var l=0,n=e.length-1;l<=n;){var r=l+n>>1,a=e[r];if(t>a)l=r+1;else{if(!(t=t);a++);return(l=n[a])?(l.index=a,l.start=r-l.value.length,l):null},e.prototype.setUndoManager=function(e){if(this.$undoManager=e,this.$informUndoManager&&this.$informUndoManager.cancel(),e){var t=this;e.addSession(this),this.$syncInformUndoManager=function(){t.$informUndoManager.cancel(),t.mergeUndoDeltas=!1},this.$informUndoManager=r.delayedCall(this.$syncInformUndoManager)}else this.$syncInformUndoManager=function(){}},e.prototype.markUndoGroup=function(){this.$syncInformUndoManager&&this.$syncInformUndoManager()},e.prototype.getUndoManager=function(){return this.$undoManager||this.$defaultUndoManager},e.prototype.getTabString=function(){return this.getUseSoftTabs()?r.stringRepeat(" ",this.getTabSize()):"\t"},e.prototype.setUseSoftTabs=function(e){this.setOption("useSoftTabs",e)},e.prototype.getUseSoftTabs=function(){return this.$useSoftTabs&&!this.$mode.$indentWithTabs},e.prototype.setTabSize=function(e){this.setOption("tabSize",e)},e.prototype.getTabSize=function(){return this.$tabSize},e.prototype.isTabStop=function(e){return this.$useSoftTabs&&e.column%this.$tabSize===0},e.prototype.setNavigateWithinSoftTabs=function(e){this.setOption("navigateWithinSoftTabs",e)},e.prototype.getNavigateWithinSoftTabs=function(){return this.$navigateWithinSoftTabs},e.prototype.setOverwrite=function(e){this.setOption("overwrite",e)},e.prototype.getOverwrite=function(){return this.$overwrite},e.prototype.toggleOverwrite=function(){this.setOverwrite(!this.$overwrite)},e.prototype.addGutterDecoration=function(e,t){this.$decorations[e]||(this.$decorations[e]=""),this.$decorations[e]+=" "+t,this._signal("changeBreakpoint",{})},e.prototype.removeGutterCustomWidget=function(e){this.$editor&&this.$editor.renderer.$gutterLayer.$removeCustomWidget(e)},e.prototype.addGutterCustomWidget=function(e,t){this.$editor&&this.$editor.renderer.$gutterLayer.$addCustomWidget(e,t)},e.prototype.removeGutterDecoration=function(e,t){this.$decorations[e]=(this.$decorations[e]||"").replace(" "+t,""),this._signal("changeBreakpoint",{})},e.prototype.getBreakpoints=function(){return this.$breakpoints},e.prototype.setBreakpoints=function(e){this.$breakpoints=[];for(var t=0;t0&&(n=!!l.charAt(t-1).match(this.tokenRe)),n||(n=!!l.charAt(t).match(this.tokenRe)),n)var r=this.tokenRe;else if(/^\s+$/.test(l.slice(t-1,t+1)))r=/\s/;else r=this.nonTokenRe;var a=t;if(a>0){do{a--}while(a>=0&&l.charAt(a).match(r));a++}for(var o=t;oe&&(e=t.screenWidth)})),this.lineWidgetWidth=e},e.prototype.$computeWidth=function(e){if(this.$modified||e){if(this.$modified=!1,this.$useWrapMode)return this.screenWidth=this.$wrapLimit;for(var t=this.doc.getAllLines(),l=this.$rowLengthCache,n=0,r=0,a=this.$foldData[r],o=a?a.start.row:1/0,i=t.length,s=0;so){if((s=a.end.row+1)>=i)break;o=(a=this.$foldData[r++])?a.start.row:1/0}null==l[s]&&(l[s]=this.$getStringScreenWidth(t[s])[0]),l[s]>n&&(n=l[s])}this.screenWidth=n}},e.prototype.getLine=function(e){return this.doc.getLine(e)},e.prototype.getLines=function(e,t){return this.doc.getLines(e,t)},e.prototype.getLength=function(){return this.doc.getLength()},e.prototype.getTextRange=function(e){return this.doc.getTextRange(e||this.selection.getRange())},e.prototype.insert=function(e,t){return this.doc.insert(e,t)},e.prototype.remove=function(e){return this.doc.remove(e)},e.prototype.removeFullLines=function(e,t){return this.doc.removeFullLines(e,t)},e.prototype.undoChanges=function(e,t){if(e.length){this.$fromUndo=!0;for(var l=e.length-1;-1!=l;l--){var n=e[l];"insert"==n.action||"remove"==n.action?this.doc.revertDelta(n):n.folds&&this.addFolds(n.folds)}!t&&this.$undoSelect&&(e.selectionBefore?this.selection.fromJSON(e.selectionBefore):this.selection.setRange(this.$getUndoSelection(e,!0))),this.$fromUndo=!1}},e.prototype.redoChanges=function(e,t){if(e.length){this.$fromUndo=!0;for(var l=0;le.end.column&&(a.start.column+=c),a.end.row==e.end.row&&a.end.column>e.end.column&&(a.end.column+=c)),o&&a.start.row>=e.end.row&&(a.start.row+=o,a.end.row+=o)}if(a.end=this.insert(a.start,n),r.length){var i=e.start,s=a.start,c=(o=s.row-i.row,s.column-i.column);this.addFolds(r.map((function(e){return(e=e.clone()).start.row==i.row&&(e.start.column+=c),e.end.row==i.row&&(e.end.column+=c),e.start.row+=o,e.end.row+=o,e})))}return a},e.prototype.indentRows=function(e,t,l){l=l.replace(/\t/g,this.getTabString());for(var n=e;n<=t;n++)this.doc.insertInLine({row:n,column:0},l)},e.prototype.outdentRows=function(e){for(var t=e.collapseRows(),l=new u(0,0,0,0),n=this.getTabSize(),r=t.start.row;r<=t.end.row;++r){var a=this.getLine(r);l.start.row=r,l.end.row=r;for(var o=0;o0){var r;if((r=this.getRowFoldEnd(t+l))>this.doc.getLength()-1)return 0;n=r-t}else{e=this.$clipRowToDocument(e);n=(t=this.$clipRowToDocument(t))-e+1}var a=new u(e,0,t,Number.MAX_VALUE),o=this.getFoldsInRange(a).map((function(e){return(e=e.clone()).start.row+=n,e.end.row+=n,e})),i=0==l?this.doc.getLines(e,t):this.doc.removeFullLines(e,t);return this.doc.insertFullLines(e+n,i),o.length&&this.addFolds(o),n},e.prototype.moveLinesUp=function(e,t){return this.$moveLines(e,t,-1)},e.prototype.moveLinesDown=function(e,t){return this.$moveLines(e,t,1)},e.prototype.duplicateLines=function(e,t){return this.$moveLines(e,t,0)},e.prototype.$clipRowToDocument=function(e){return Math.max(0,Math.min(e,this.doc.getLength()-1))},e.prototype.$clipColumnToRow=function(e,t){return t<0?0:Math.min(this.doc.getLine(e).length,t)},e.prototype.$clipPositionToDocument=function(e,t){if(t=Math.max(0,t),e<0)e=0,t=0;else{var l=this.doc.getLength();e>=l?(e=l-1,t=this.doc.getLine(l-1).length):t=Math.min(this.doc.getLine(e).length,t)}return{row:e,column:t}},e.prototype.$clipRangeToDocument=function(e){e.start.row<0?(e.start.row=0,e.start.column=0):e.start.column=this.$clipColumnToRow(e.start.row,e.start.column);var t=this.doc.getLength()-1;return e.end.row>t?(e.end.row=t,e.end.column=this.doc.getLine(t).length):e.end.column=this.$clipColumnToRow(e.end.row,e.end.column),e},e.prototype.setUseWrapMode=function(e){if(e!=this.$useWrapMode){if(this.$useWrapMode=e,this.$modified=!0,this.$resetRowCache(0),e){var t=this.getLength();this.$wrapData=Array(t),this.$updateWrapData(0,t-1)}this._signal("changeWrapMode")}},e.prototype.getUseWrapMode=function(){return this.$useWrapMode},e.prototype.setWrapLimitRange=function(e,t){this.$wrapLimitRange.min===e&&this.$wrapLimitRange.max===t||(this.$wrapLimitRange={min:e,max:t},this.$modified=!0,this.$bidiHandler.markAsDirty(),this.$useWrapMode&&this._signal("changeWrapMode"))},e.prototype.adjustWrapLimit=function(e,t){var l=this.$wrapLimitRange;l.max<0&&(l={min:t,max:t});var n=this.$constrainWrapLimit(e,l.min,l.max);return n!=this.$wrapLimit&&n>1&&(this.$wrapLimit=n,this.$modified=!0,this.$useWrapMode&&(this.$updateWrapData(0,this.getLength()-1),this.$resetRowCache(0),this._signal("changeWrapLimit")),!0)},e.prototype.$constrainWrapLimit=function(e,t,l){return t&&(e=Math.max(t,e)),l&&(e=Math.min(l,e)),e},e.prototype.getWrapLimit=function(){return this.$wrapLimit},e.prototype.setWrapLimit=function(e){this.setWrapLimitRange(e,e)},e.prototype.getWrapLimitRange=function(){return{min:this.$wrapLimitRange.min,max:this.$wrapLimitRange.max}},e.prototype.$updateInternalDataOnChange=function(e){var t=this.$useWrapMode,l=e.action,n=e.start,r=e.end,a=n.row,o=r.row,i=o-a,s=null;if(this.$updating=!0,0!=i)if("remove"===l){this[t?"$wrapData":"$rowLengthCache"].splice(a,i);var c=this.$foldData;s=this.getFoldsInRange(e),this.removeFolds(s);var u=0;if(m=this.getFoldLine(r.row)){m.addRemoveChars(r.row,r.column,n.column-r.column),m.shiftRow(-i);var d=this.getFoldLine(a);d&&d!==m&&(d.merge(m),m=d),u=c.indexOf(m)+1}for(;u=r.row&&m.shiftRow(-i)}o=a}else{var f=Array(i);f.unshift(a,0);var p=t?this.$wrapData:this.$rowLengthCache;p.splice.apply(p,f);c=this.$foldData,u=0;if(m=this.getFoldLine(a)){var h=m.range.compareInside(n.row,n.column);0==h?(m=m.split(n.row,n.column))&&(m.shiftRow(i),m.addRemoveChars(o,0,r.column-n.column)):-1==h&&(m.addRemoveChars(a,0,r.column-n.column),m.shiftRow(i)),u=c.indexOf(m)+1}for(;u=a&&m.shiftRow(i)}}else i=Math.abs(e.start.column-e.end.column),"remove"===l&&(s=this.getFoldsInRange(e),this.removeFolds(s),i=-i),(m=this.getFoldLine(a))&&m.addRemoveChars(a,n.column,i);return t&&this.$wrapData.length!=this.doc.getLength()&&console.error("doc.getLength() and $wrapData.length have to be the same!"),this.$updating=!1,t?this.$updateWrapData(a,o):this.$updateRowLengthCache(a,o),s},e.prototype.$updateRowLengthCache=function(e,t){this.$rowLengthCache[e]=null,this.$rowLengthCache[t]=null},e.prototype.$updateWrapData=function(e,t){var l,n,r=this.doc.getAllLines(),a=this.getTabSize(),o=this.$wrapData,i=this.$wrapLimit,s=e;for(t=Math.min(t,r.length-1);s<=t;)(n=this.getFoldLine(s,n))?(l=[],n.walk(function(e,t,n,a){var o;if(null!=e){(o=this.$getDisplayTokens(e,l.length))[0]=b;for(var i=1;it-d;){var f=a+t-d;if(e[f-1]>=k&&e[f]>=k)u(f);else if(e[f]!=b&&e[f]!=w){for(var p=Math.max(f-(t-(t>>2)),a-1);f>p&&e[f]p&&e[f]p&&e[f]==x;)f--}else for(;f>p&&e[f]p?u(++f):(e[f=a+t]==v&&f--,u(f-d))}else{for(;f!=a-1&&e[f]!=b;f--);if(f>a){u(f);continue}for(f=a+t;f39&&a<48||a>57&&a<64?n.push(x):a>=4352&&O(a)?n.push(y,v):n.push(y)}return n},e.prototype.$getStringScreenWidth=function(e,t,l){if(0==t)return[0,0];var n,r;for(null==t&&(t=1/0),l=l||0,r=0;r=4352&&O(n)?l+=2:l+=1,!(l>t));r++);return[l,r]},e.prototype.getRowLength=function(e){var t=1;return this.lineWidgets&&(t+=this.lineWidgets[e]&&this.lineWidgets[e].rowCount||0),this.$useWrapMode&&this.$wrapData[e]?this.$wrapData[e].length+t:t},e.prototype.getRowLineCount=function(e){return this.$useWrapMode&&this.$wrapData[e]?this.$wrapData[e].length+1:1},e.prototype.getRowWrapIndent=function(e){if(this.$useWrapMode){var t=this.screenToDocumentPosition(e,Number.MAX_VALUE),l=this.$wrapData[t.row];return l.length&&l[0]=0){i=c[u],a=this.$docRowCache[u];var f=e>c[d-1]}else f=!d;for(var p=this.getLength()-1,h=this.getNextFoldLine(a),m=h?h.start.row:1/0;i<=e&&!(i+(s=this.getRowLength(a))>e||a>=p);)i+=s,++a>m&&(a=h.end.row+1,m=(h=this.getNextFoldLine(a,h))?h.start.row:1/0),f&&(this.$docRowCache.push(a),this.$screenRowCache.push(i));if(h&&h.start.row<=a)n=this.getFoldDisplayLine(h),a=h.start.row;else{if(i+s<=e||a>p)return{row:p,column:this.getLine(p).length};n=this.getLine(a),h=null}var g=0,y=Math.floor(e-i);if(this.$useWrapMode){var v=this.$wrapData[a];v&&(r=v[y],y>0&&v.length&&(g=v.indent,o=v[y-1]||v[v.length-1],n=n.substring(o)))}return void 0!==l&&this.$bidiHandler.isBidiRow(i+y,a,y)&&(t=this.$bidiHandler.offsetToCol(l)),o+=this.$getStringScreenWidth(n,t-g)[1],this.$useWrapMode&&o>=r&&(o=r-1),h?h.idxToPosition(o):{row:a,column:o}},e.prototype.documentToScreenPosition=function(e,t){if("undefined"===typeof t)var l=this.$clipPositionToDocument(e.row,e.column);else l=this.$clipPositionToDocument(e,t);e=l.row,t=l.column;var n,r=0,a=null;(n=this.getFoldAt(e,t,1))&&(e=n.start.row,t=n.start.column);var o,i=0,s=this.$docRowCache,c=this.$getRowCacheIndex(s,e),u=s.length;if(u&&c>=0){i=s[c],r=this.$screenRowCache[c];var d=e>s[u-1]}else d=!u;for(var f=this.getNextFoldLine(i),p=f?f.start.row:1/0;i=p){if((o=f.end.row+1)>e)break;p=(f=this.getNextFoldLine(o,f))?f.start.row:1/0}else o=i+1;r+=this.getRowLength(i),i=o,d&&(this.$docRowCache.push(i),this.$screenRowCache.push(r))}var h="";f&&i>=p?(h=this.getFoldDisplayLine(f,e,t),a=f.start.row):(h=this.getLine(e).substring(0,t),a=e);var m=0;if(this.$useWrapMode){var g=this.$wrapData[a];if(g){for(var y=0;h.length>=g[y];)r++,y++;h=h.substring(g[y-1]||0,h.length),m=y>0?g.indent:0}}return this.lineWidgets&&this.lineWidgets[i]&&this.lineWidgets[i].rowsAbove&&(r+=this.lineWidgets[i].rowsAbove),{row:r,column:m+this.$getStringScreenWidth(h)[0]}},e.prototype.documentToScreenColumn=function(e,t){return this.documentToScreenPosition(e,t).column},e.prototype.documentToScreenRow=function(e,t){return this.documentToScreenPosition(e,t).row},e.prototype.getScreenLength=function(){var e=0,t=null;if(this.$useWrapMode)for(var l=this.$wrapData.length,n=0,r=(i=0,(t=this.$foldData[i++])?t.start.row:1/0);nr&&(n=t.end.row+1,r=(t=this.$foldData[i++])?t.start.row:1/0)}else{e=this.getLength();for(var o=this.$foldData,i=0;il);a++);return[n,a]})},e.prototype.getPrecedingCharacter=function(){var e=this.selection.getCursor();return 0===e.column?0===e.row?"":this.doc.getNewLineCharacter():this.getLine(e.row)[e.column-1]},e.prototype.destroy=function(){this.destroyed||(this.bgTokenizer.setDocument(null),this.bgTokenizer.cleanup(),this.destroyed=!0),this.endOperation(),this.$stopWorker(),this.removeAllListeners(),this.doc&&this.doc.off("change",this.$onChange),this.selection&&(this.selection.off("changeCursor",this.$onSelectionChange),this.selection.off("changeSelection",this.$onSelectionChange)),this.selection.detach()},e}();g.$uid=0,g.prototype.$modes=o.$modes,g.prototype.getValue=g.prototype.toString,g.prototype.$defaultUndoManager={undo:function(){},redo:function(){},hasUndo:function(){},hasRedo:function(){},reset:function(){},add:function(){},addSelection:function(){},startNewGroup:function(){},addSession:function(){}},g.prototype.$overwrite=!1,g.prototype.$mode=null,g.prototype.$modeId=null,g.prototype.$scrollTop=0,g.prototype.$scrollLeft=0,g.prototype.$wrapLimit=80,g.prototype.$useWrapMode=!1,g.prototype.$wrapLimitRange={min:null,max:null},g.prototype.lineWidgets=null,g.prototype.isFullWidth=O,n.implement(g.prototype,i);var y=1,v=2,b=3,w=4,x=9,k=10,S=11,C=12;function O(e){return!(e<4352)&&(e>=4352&&e<=4447||e>=4515&&e<=4519||e>=4602&&e<=4607||e>=9001&&e<=9002||e>=11904&&e<=11929||e>=11931&&e<=12019||e>=12032&&e<=12245||e>=12272&&e<=12283||e>=12288&&e<=12350||e>=12353&&e<=12438||e>=12441&&e<=12543||e>=12549&&e<=12589||e>=12593&&e<=12686||e>=12688&&e<=12730||e>=12736&&e<=12771||e>=12784&&e<=12830||e>=12832&&e<=12871||e>=12880&&e<=13054||e>=13056&&e<=19903||e>=19968&&e<=42124||e>=42128&&e<=42182||e>=43360&&e<=43388||e>=44032&&e<=55203||e>=55216&&e<=55238||e>=55243&&e<=55291||e>=63744&&e<=64255||e>=65040&&e<=65049||e>=65072&&e<=65106||e>=65108&&e<=65126||e>=65128&&e<=65131||e>=65281&&e<=65376||e>=65504&&e<=65510)}e("./edit_session/folding").Folding.call(g.prototype),e("./edit_session/bracket_match").BracketMatch.call(g.prototype),o.defineOptions(g.prototype,"session",{wrap:{set:function(e){if(e&&"off"!=e?"free"==e?e=!0:"printMargin"==e?e=-1:"string"==typeof e&&(e=parseInt(e,10)||!1):e=!1,this.$wrap!=e)if(this.$wrap=e,e){var t="number"==typeof e?e:null;this.setWrapLimitRange(t,t),this.setUseWrapMode(!0)}else this.setUseWrapMode(!1)},get:function(){return this.getUseWrapMode()?-1==this.$wrap?"printMargin":this.getWrapLimitRange().min?this.$wrap:"free":"off"},handlesSet:!0},wrapMethod:{set:function(e){(e="auto"==e?"text"!=this.$mode.type:"text"!=e)!=this.$wrapAsCode&&(this.$wrapAsCode=e,this.$useWrapMode&&(this.$useWrapMode=!1,this.setUseWrapMode(!0)))},initialValue:"auto"},indentedSoftWrap:{set:function(){this.$useWrapMode&&(this.$useWrapMode=!1,this.setUseWrapMode(!0))},initialValue:!0},firstLineNumber:{set:function(){this._signal("changeBreakpoint")},initialValue:1},useWorker:{set:function(e){this.$useWorker=e,this.$stopWorker(),e&&this.$startWorker()},initialValue:!0},useSoftTabs:{initialValue:!0},tabSize:{set:function(e){(e=parseInt(e))>0&&this.$tabSize!==e&&(this.$modified=!0,this.$rowLengthCache=[],this.$tabSize=e,this._signal("changeTabSize"))},initialValue:4,handlesSet:!0},navigateWithinSoftTabs:{initialValue:!1},foldStyle:{set:function(e){this.setFoldStyle(e)},handlesSet:!0},overwrite:{set:function(e){this._signal("changeOverwrite")},initialValue:!1},newLineMode:{set:function(e){this.doc.setNewLineMode(e)},get:function(){return this.doc.getNewLineMode()},handlesSet:!0},mode:{set:function(e){this.setMode(e)},get:function(){return this.$modeId},handlesSet:!0}}),t.EditSession=g})),ace.define("ace/search",["require","exports","module","ace/lib/lang","ace/lib/oop","ace/range"],(function(e,t,l){"use strict";var n=e("./lib/lang"),r=e("./lib/oop"),a=e("./range").Range,o=function(){function e(){this.$options={}}return e.prototype.set=function(e){return r.mixin(this.$options,e),this},e.prototype.getOptions=function(){return n.copyObject(this.$options)},e.prototype.setOptions=function(e){this.$options=e},e.prototype.find=function(e){var t=this.$options,l=this.$matchIterator(e,t);if(!l)return!1;var n=null;return l.forEach((function(e,l,r,o){return n=new a(e,l,r,o),!(l==o&&t.start&&t.start.start&&0!=t.skipCurrent&&n.isEqual(t.start))||(n=null,!1)})),n},e.prototype.findAll=function(e){var t=this.$options;if(!t.needle)return[];this.$assembleRegExp(t);var l=t.range,r=l?e.getLines(l.start.row,l.end.row):e.doc.getAllLines(),o=[],i=t.re;if(t.$isMultiLine){var s,c=i.length,u=r.length-c;e:for(var d=i.offset||0;d<=u;d++){for(var f=0;fm||(o.push(s=new a(d,m,d+c-1,g)),c>2&&(d=d+c-2))}}else for(var y,v=0;vv&&(v=w),o.push(new a(y.startRow,y.startCol,y.endRow,y.endCol))}}else{y=n.getMatchOffsets(r[v],i);for(f=0;fS&&o[f].end.row==C;)f--;for(o=o.slice(v,f+1),v=0,f=o.length;v=d){c+="$";break}var p=e.charCodeAt(u);if(p===t){c+="$$";continue}if(p===n||p===l){c+="$&";continue}if(r<=p&&p<=a){c+="$"+e[u];continue}}c+=e[u]}else{if(++u>=d){c+="\\";break}switch(e.charCodeAt(u)){case o:c+="\\";break;case i:c+="\n";break;case s:c+="\t"}}}return c||e},e.prototype.replace=function(e,t){var l=this.$options,n=this.$assembleRegExp(l);if(l.$isMultiLine)return t;if(n){var r=this.$isMultilineSearch(l);r&&(e=e.replace(/\r\n|\r|\n/g,"\n"));var a=n.exec(e);if(!a||!r&&a[0].length!=e.length)return null;if(t=l.regExp?this.parseReplaceString(t):t.replace(/\$/g,"$$$$"),t=e.replace(n,t),l.preserveCase){t=t.split("");for(var o=Math.min(e.length,e.length);o--;){var i=e[o];i&&i.toLowerCase()!=i?t[o]=t[o].toUpperCase():t[o]=t[o].toLowerCase()}t=t.join("")}return t}},e.prototype.$assembleRegExp=function(e,t){if(e.needle instanceof RegExp)return e.re=e.needle;var l=e.needle;if(!e.needle)return e.re=!1;e.regExp||(l=n.escapeRegExp(l));var r=e.caseSensitive?"gm":"gmi";try{new RegExp(l,"u"),e.$supportsUnicodeFlag=!0,r+="u"}catch(t){e.$supportsUnicodeFlag=!1}if(e.wholeWord&&(l=function(e,t){var l=n.supportsLookbehind();function r(e,n){return void 0===n&&(n=!0),(l&&t.$supportsUnicodeFlag?new RegExp("[\\p{L}\\p{N}_]","u"):new RegExp("\\w")).test(e)||t.regExp?l&&t.$supportsUnicodeFlag?n?"(?<=^|[^\\p{L}\\p{N}_])":"(?=[^\\p{L}\\p{N}_]|$)":"\\b":""}var a=Array.from(e),o=a[0],i=a[a.length-1];return r(o)+e+r(i,!1)}(l,e)),e.$isMultiLine=!t&&/[\n\r]/.test(l),e.$isMultiLine)return e.re=this.$assembleMultilineRegExp(l,r);try{var a=new RegExp(l,r)}catch(e){a=!1}return e.re=a},e.prototype.$assembleMultilineRegExp=function(e,t){for(var l=e.replace(/\r\n|\r|\n/g,"$\n^").split("\n"),n=[],r=0;rn);i++){var c=e.getLine(o++);r=null==r?c:r+"\n"+c}var u=t.exec(r);if(t.lastIndex=0,u){var d=r.slice(0,u.index).split("\n"),f=u[0].split("\n"),p=l+d.length-1,h=d[d.length-1].length;return{startRow:p,startCol:h,endRow:p+f.length-1,endCol:1==f.length?h+f[0].length:f[f.length-1].length}}}return null},e.prototype.$multiLineBackward=function(e,t,l,n,r){for(var a,o=s(e,n),c=e.getLine(n).length-l,u=n;u>=r;){for(var d=0;d=r;d++){var f=e.getLine(u--);a=null==a?f:f+"\n"+a}var p=i(a,t,c);if(p){var h=a.slice(0,p.index).split("\n"),m=p[0].split("\n"),g=u+h.length,y=h[h.length-1].length;return{startRow:g,startCol:y,endRow:g+m.length-1,endCol:1==m.length?y+m[0].length:m[m.length-1].length}}}return null},e.prototype.$matchIterator=function(e,t){var l=this.$assembleRegExp(t);if(!l)return!1;var r=this.$isMultilineSearch(t),a=this.$multiLineForward,o=this.$multiLineBackward,i=1==t.backwards,s=0!=t.skipCurrent,c=l.unicode,u=t.range,d=t.start;d||(d=u?u[i?"end":"start"]:e.selection.getRange()),d.start&&(d=d[s!=i?"end":"start"]);var f=u?u.start.row:0,p=u?u.end.row:e.getLength()-1;if(i)var h=function(e){var l=d.row;if(!g(l,d.column,e)){for(l--;l>=f;l--)if(g(l,Number.MAX_VALUE,e))return;if(0!=t.wrap)for(l=p,f=d.row;l>=f;l--)if(g(l,Number.MAX_VALUE,e))return}};else h=function(e){var l=d.row;if(!g(l,d.column,e)){for(l+=1;l<=p;l++)if(g(l,0,e))return;if(0!=t.wrap)for(l=f,p=d.row;l<=p;l++)if(g(l,0,e))return}};if(t.$isMultiLine)var m=l.length,g=function(t,n,r){var a=i?t-m+1:t;if(!(a<0||a+m>e.getLength())){var o=e.getLine(a),s=o.search(l[0]);if(!(!i&&sn))return!!r(a,s,a+m-1,u)||void 0}}};else if(i)g=function(t,a,i){if(r){var s=o(e,l,a,t,f);if(!s)return!1;if(i(s.startRow,s.startCol,s.endRow,s.endCol))return!0}else{var u,d=e.getLine(t),p=[],h=0;for(l.lastIndex=0;u=l.exec(d);){var m=u[0].length;if(h=u.index,!m){if(h>=d.length)break;l.lastIndex=h+=n.skipEmptyMatch(d,h,c)}if(u.index+m>a)break;p.push(u.index,m)}for(var g=p.length-1;g>=0;g-=2){var y=p[g-1];if(i(t,y,t,y+(m=p[g])))return!0}}};else g=function(t,o,i){if(l.lastIndex=o,r){var s=a(e,l,t,p);if(s){var u=s.endRow<=p?s.endRow-1:p;u>t&&(t=u)}if(!s)return!1;if(i(s.startRow,s.startCol,s.endRow,s.endCol))return!0}else for(var d,f,h=e.getLine(t);f=l.exec(h);){var m=f[0].length;if(i(t,d=f.index,t,d+m))return!0;if(!m&&(l.lastIndex=d+=n.skipEmptyMatch(h,d,c),d>=h.length))return!1}};return{forEach:h}},e}();function i(e,t,l){for(var n=null,r=0;r<=e.length;){t.lastIndex=r;var a=t.exec(e);if(!a)break;var o=a.index+a[0].length;if(o>e.length-l)break;(!n||o>n.index+n[0].length)&&(n=a),r=a.index+1}return n}function s(e,t){var l={row:t,column:0},n=e.doc.positionToIndex(l)+5e3;return e.doc.indexToPosition(n).row+1}t.Search=o})),ace.define("ace/keyboard/hash_handler",["require","exports","module","ace/lib/keys","ace/lib/useragent"],(function(e,t,l){"use strict";var n,r=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var l in t)Object.prototype.hasOwnProperty.call(t,l)&&(e[l]=t[l])})(e,t)},function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function l(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(l.prototype=t.prototype,new l)}),a=e("../lib/keys"),o=e("../lib/useragent"),i=a.KEY_MODS,s=function(){function e(e,t){this.$init(e,t,!1)}return e.prototype.$init=function(e,t,l){this.platform=t||(o.isMac?"mac":"win"),this.commands={},this.commandKeyBinding={},this.addCommands(e),this.$singleCommand=l},e.prototype.addCommand=function(e){this.commands[e.name]&&this.removeCommand(e),this.commands[e.name]=e,e.bindKey&&this._buildKeyHash(e)},e.prototype.removeCommand=function(e,t){var l=e&&("string"===typeof e?e:e.name);e=this.commands[l],t||delete this.commands[l];var n=this.commandKeyBinding;for(var r in n){var a=n[r];if(a==e)delete n[r];else if(Array.isArray(a)){var o=a.indexOf(e);-1!=o&&(a.splice(o,1),1==a.length&&(n[r]=a[0]))}}},e.prototype.bindKey=function(e,t,l){if("object"==typeof e&&e&&(void 0==l&&(l=e.position),e=e[this.platform]),e)return"function"==typeof t?this.addCommand({exec:t,bindKey:e,name:t.name||e}):void e.split("|").forEach((function(e){var n="";if(-1!=e.indexOf(" ")){var r=e.split(/\s+/);e=r.pop(),r.forEach((function(e){var t=this.parseKeys(e),l=i[t.hashId]+t.key;n+=(n?" ":"")+l,this._addCommandToBinding(n,"chainKeys")}),this),n+=" "}var a=this.parseKeys(e),o=i[a.hashId]+a.key;this._addCommandToBinding(n+o,t,l)}),this)},e.prototype._addCommandToBinding=function(e,t,l){var n,r=this.commandKeyBinding;if(t)if(!r[e]||this.$singleCommand)r[e]=t;else{Array.isArray(r[e])?-1!=(n=r[e].indexOf(t))&&r[e].splice(n,1):r[e]=[r[e]],"number"!=typeof l&&(l=c(t));var a=r[e];for(n=0;nl)break}a.splice(n,0,t)}else delete r[e]},e.prototype.addCommands=function(e){e&&Object.keys(e).forEach((function(t){var l=e[t];if(l){if("string"===typeof l)return this.bindKey(l,t);"function"===typeof l&&(l={exec:l}),"object"===typeof l&&(l.name||(l.name=t),this.addCommand(l))}}),this)},e.prototype.removeCommands=function(e){Object.keys(e).forEach((function(t){this.removeCommand(e[t])}),this)},e.prototype.bindKeys=function(e){Object.keys(e).forEach((function(t){this.bindKey(t,e[t])}),this)},e.prototype._buildKeyHash=function(e){this.bindKey(e.bindKey,e)},e.prototype.parseKeys=function(e){var t=e.toLowerCase().split(/[\-\+]([\-\+])?/).filter((function(e){return e})),l=t.pop(),n=a[l];if(a.FUNCTION_KEYS[n])l=a.FUNCTION_KEYS[n].toLowerCase();else{if(!t.length)return{key:l,hashId:-1};if(1==t.length&&"shift"==t[0])return{key:l.toUpperCase(),hashId:-1}}for(var r=0,o=t.length;o--;){var i=a.KEY_MODS[t[o]];if(null==i)return"undefined"!=typeof console&&console.error("invalid modifier "+t[o]+" in "+e),!1;r|=i}return{key:l,hashId:r}},e.prototype.findKeyCommand=function(e,t){var l=i[e]+t;return this.commandKeyBinding[l]},e.prototype.handleKeyboard=function(e,t,l,n){if(!(n<0)){var r=i[t]+l,a=this.commandKeyBinding[r];return e.$keyChain&&(e.$keyChain+=" "+r,a=this.commandKeyBinding[e.$keyChain]||a),!a||"chainKeys"!=a&&"chainKeys"!=a[a.length-1]?(e.$keyChain&&(t&&4!=t||1!=l.length?(-1==t||n>0)&&(e.$keyChain=""):e.$keyChain=e.$keyChain.slice(0,-r.length-1)),{command:a}):(e.$keyChain=e.$keyChain||r,{command:"null"})}},e.prototype.getStatusText=function(e,t){return t.$keyChain||""},e}();function c(e){return"object"==typeof e&&e.bindKey&&e.bindKey.position||(e.isDefault?-100:0)}var u=function(e){function t(t,l){var n=e.call(this,t,l)||this;return n.$singleCommand=!0,n}return r(t,e),t}(s);u.call=function(e,t,l){s.prototype.$init.call(e,t,l,!0)},s.call=function(e,t,l){s.prototype.$init.call(e,t,l,!1)},t.HashHandler=u,t.MultiHashHandler=s})),ace.define("ace/commands/command_manager",["require","exports","module","ace/lib/oop","ace/keyboard/hash_handler","ace/lib/event_emitter"],(function(e,t,l){"use strict";var n,r=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var l in t)Object.prototype.hasOwnProperty.call(t,l)&&(e[l]=t[l])})(e,t)},function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function l(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(l.prototype=t.prototype,new l)}),a=e("../lib/oop"),o=e("../keyboard/hash_handler").MultiHashHandler,i=e("../lib/event_emitter").EventEmitter,s=function(e){function t(t,l){var n=e.call(this,l,t)||this;return n.byName=n.commands,n.setDefaultHandler("exec",(function(e){return e.args?e.command.exec(e.editor,e.args,e.event,!1):e.command.exec(e.editor,{},e.event,!0)})),n}return r(t,e),t.prototype.exec=function(e,t,l){if(Array.isArray(e)){for(var n=e.length;n--;)if(this.exec(e[n],t,l))return!0;return!1}"string"===typeof e&&(e=this.commands[e]);var r={editor:t,command:e,args:l};return this.canExecute(e,t)?(r.returnValue=this._emit("exec",r),this._signal("afterExec",r),!1!==r.returnValue):(this._signal("commandUnavailable",r),!1)},t.prototype.canExecute=function(e,t){return"string"===typeof e&&(e=this.commands[e]),!!e&&(!(t&&t.$readOnly&&!e.readOnly)&&!(0!=this.$checkCommandState&&e.isAvailable&&!e.isAvailable(t)))},t.prototype.toggleRecording=function(e){if(!this.$inReplay)return e&&e._emit("changeStatus"),this.recording?(this.macro.pop(),this.off("exec",this.$addCommandToMacro),this.macro.length||(this.macro=this.oldMacro),this.recording=!1):(this.$addCommandToMacro||(this.$addCommandToMacro=function(e){this.macro.push([e.command,e.args])}.bind(this)),this.oldMacro=this.macro,this.macro=[],this.on("exec",this.$addCommandToMacro),this.recording=!0)},t.prototype.replay=function(e){if(!this.$inReplay&&this.macro){if(this.recording)return this.toggleRecording(e);try{this.$inReplay=!0,this.macro.forEach((function(t){"string"==typeof t?this.exec(t,e):this.exec(t[0],e,t[1])}),this)}finally{this.$inReplay=!1}}},t.prototype.trimMacro=function(e){return e.map((function(e){return"string"!=typeof e[0]&&(e[0]=e[0].name),e[1]||(e=e[0]),e}))},t}(o);a.implement(s.prototype,i),t.CommandManager=s})),ace.define("ace/commands/default_commands",["require","exports","module","ace/lib/lang","ace/config","ace/range"],(function(e,t,l){"use strict";var n=e("../lib/lang"),r=e("../config"),a=e("../range").Range;function o(e,t){return{win:e,mac:t}}t.commands=[{name:"showSettingsMenu",description:"Show settings menu",bindKey:o("Ctrl-,","Command-,"),exec:function(e){r.loadModule("ace/ext/settings_menu",(function(t){t.init(e),e.showSettingsMenu()}))},readOnly:!0},{name:"goToNextError",description:"Go to next error",bindKey:o("Alt-E","F4"),exec:function(e){r.loadModule("ace/ext/error_marker",(function(t){t.showErrorMarker(e,1)}))},scrollIntoView:"animate",readOnly:!0},{name:"goToPreviousError",description:"Go to previous error",bindKey:o("Alt-Shift-E","Shift-F4"),exec:function(e){r.loadModule("ace/ext/error_marker",(function(t){t.showErrorMarker(e,-1)}))},scrollIntoView:"animate",readOnly:!0},{name:"selectall",description:"Select all",bindKey:o("Ctrl-A","Command-A"),exec:function(e){e.selectAll()},readOnly:!0},{name:"centerselection",description:"Center selection",bindKey:o(null,"Ctrl-L"),exec:function(e){e.centerSelection()},readOnly:!0},{name:"gotoline",description:"Go to line...",bindKey:o("Ctrl-L","Command-L"),exec:function(e,t){"number"!==typeof t||isNaN(t)||e.gotoLine(t),e.prompt({$type:"gotoLine"})},readOnly:!0},{name:"fold",bindKey:o("Alt-L|Ctrl-F1","Command-Alt-L|Command-F1"),exec:function(e){e.session.toggleFold(!1)},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"unfold",bindKey:o("Alt-Shift-L|Ctrl-Shift-F1","Command-Alt-Shift-L|Command-Shift-F1"),exec:function(e){e.session.toggleFold(!0)},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"toggleFoldWidget",description:"Toggle fold widget",bindKey:o("F2","F2"),exec:function(e){e.session.toggleFoldWidget()},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"toggleParentFoldWidget",description:"Toggle parent fold widget",bindKey:o("Alt-F2","Alt-F2"),exec:function(e){e.session.toggleFoldWidget(!0)},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"foldall",description:"Fold all",bindKey:o(null,"Ctrl-Command-Option-0"),exec:function(e){e.session.foldAll()},scrollIntoView:"center",readOnly:!0},{name:"foldAllComments",description:"Fold all comments",bindKey:o(null,"Ctrl-Command-Option-0"),exec:function(e){e.session.foldAllComments()},scrollIntoView:"center",readOnly:!0},{name:"foldOther",description:"Fold other",bindKey:o("Alt-0","Command-Option-0"),exec:function(e){e.session.foldAll(),e.session.unfold(e.selection.getAllRanges())},scrollIntoView:"center",readOnly:!0},{name:"unfoldall",description:"Unfold all",bindKey:o("Alt-Shift-0","Command-Option-Shift-0"),exec:function(e){e.session.unfold()},scrollIntoView:"center",readOnly:!0},{name:"findnext",description:"Find next",bindKey:o("Ctrl-K","Command-G"),exec:function(e){e.findNext()},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"findprevious",description:"Find previous",bindKey:o("Ctrl-Shift-K","Command-Shift-G"),exec:function(e){e.findPrevious()},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"selectOrFindNext",description:"Select or find next",bindKey:o("Alt-K","Ctrl-G"),exec:function(e){e.selection.isEmpty()?e.selection.selectWord():e.findNext()},readOnly:!0},{name:"selectOrFindPrevious",description:"Select or find previous",bindKey:o("Alt-Shift-K","Ctrl-Shift-G"),exec:function(e){e.selection.isEmpty()?e.selection.selectWord():e.findPrevious()},readOnly:!0},{name:"find",description:"Find",bindKey:o("Ctrl-F","Command-F"),exec:function(e){r.loadModule("ace/ext/searchbox",(function(t){t.Search(e)}))},readOnly:!0},{name:"overwrite",description:"Overwrite",bindKey:"Insert",exec:function(e){e.toggleOverwrite()},readOnly:!0},{name:"selecttostart",description:"Select to start",bindKey:o("Ctrl-Shift-Home","Command-Shift-Home|Command-Shift-Up"),exec:function(e){e.getSelection().selectFileStart()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"gotostart",description:"Go to start",bindKey:o("Ctrl-Home","Command-Home|Command-Up"),exec:function(e){e.navigateFileStart()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"selectup",description:"Select up",bindKey:o("Shift-Up","Shift-Up|Ctrl-Shift-P"),exec:function(e){e.getSelection().selectUp()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"golineup",description:"Go line up",bindKey:o("Up","Up|Ctrl-P"),exec:function(e,t){e.navigateUp(t.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selecttoend",description:"Select to end",bindKey:o("Ctrl-Shift-End","Command-Shift-End|Command-Shift-Down"),exec:function(e){e.getSelection().selectFileEnd()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"gotoend",description:"Go to end",bindKey:o("Ctrl-End","Command-End|Command-Down"),exec:function(e){e.navigateFileEnd()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"selectdown",description:"Select down",bindKey:o("Shift-Down","Shift-Down|Ctrl-Shift-N"),exec:function(e){e.getSelection().selectDown()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"golinedown",description:"Go line down",bindKey:o("Down","Down|Ctrl-N"),exec:function(e,t){e.navigateDown(t.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectwordleft",description:"Select word left",bindKey:o("Ctrl-Shift-Left","Option-Shift-Left"),exec:function(e){e.getSelection().selectWordLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotowordleft",description:"Go to word left",bindKey:o("Ctrl-Left","Option-Left"),exec:function(e){e.navigateWordLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selecttolinestart",description:"Select to line start",bindKey:o("Alt-Shift-Left","Command-Shift-Left|Ctrl-Shift-A"),exec:function(e){e.getSelection().selectLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotolinestart",description:"Go to line start",bindKey:o("Alt-Left|Home","Command-Left|Home|Ctrl-A"),exec:function(e){e.navigateLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectleft",description:"Select left",bindKey:o("Shift-Left","Shift-Left|Ctrl-Shift-B"),exec:function(e){e.getSelection().selectLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotoleft",description:"Go to left",bindKey:o("Left","Left|Ctrl-B"),exec:function(e,t){e.navigateLeft(t.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectwordright",description:"Select word right",bindKey:o("Ctrl-Shift-Right","Option-Shift-Right"),exec:function(e){e.getSelection().selectWordRight()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotowordright",description:"Go to word right",bindKey:o("Ctrl-Right","Option-Right"),exec:function(e){e.navigateWordRight()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selecttolineend",description:"Select to line end",bindKey:o("Alt-Shift-Right","Command-Shift-Right|Shift-End|Ctrl-Shift-E"),exec:function(e){e.getSelection().selectLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotolineend",description:"Go to line end",bindKey:o("Alt-Right|End","Command-Right|End|Ctrl-E"),exec:function(e){e.navigateLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectright",description:"Select right",bindKey:o("Shift-Right","Shift-Right"),exec:function(e){e.getSelection().selectRight()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotoright",description:"Go to right",bindKey:o("Right","Right|Ctrl-F"),exec:function(e,t){e.navigateRight(t.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectpagedown",description:"Select page down",bindKey:"Shift-PageDown",exec:function(e){e.selectPageDown()},readOnly:!0},{name:"pagedown",description:"Page down",bindKey:o(null,"Option-PageDown"),exec:function(e){e.scrollPageDown()},readOnly:!0},{name:"gotopagedown",description:"Go to page down",bindKey:o("PageDown","PageDown|Ctrl-V"),exec:function(e){e.gotoPageDown()},readOnly:!0},{name:"selectpageup",description:"Select page up",bindKey:"Shift-PageUp",exec:function(e){e.selectPageUp()},readOnly:!0},{name:"pageup",description:"Page up",bindKey:o(null,"Option-PageUp"),exec:function(e){e.scrollPageUp()},readOnly:!0},{name:"gotopageup",description:"Go to page up",bindKey:"PageUp",exec:function(e){e.gotoPageUp()},readOnly:!0},{name:"scrollup",description:"Scroll up",bindKey:o("Ctrl-Up",null),exec:function(e){e.renderer.scrollBy(0,-2*e.renderer.layerConfig.lineHeight)},readOnly:!0},{name:"scrolldown",description:"Scroll down",bindKey:o("Ctrl-Down",null),exec:function(e){e.renderer.scrollBy(0,2*e.renderer.layerConfig.lineHeight)},readOnly:!0},{name:"selectlinestart",description:"Select line start",bindKey:"Shift-Home",exec:function(e){e.getSelection().selectLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectlineend",description:"Select line end",bindKey:"Shift-End",exec:function(e){e.getSelection().selectLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"togglerecording",description:"Toggle recording",bindKey:o("Ctrl-Alt-E","Command-Option-E"),exec:function(e){e.commands.toggleRecording(e)},readOnly:!0},{name:"replaymacro",description:"Replay macro",bindKey:o("Ctrl-Shift-E","Command-Shift-E"),exec:function(e){e.commands.replay(e)},readOnly:!0},{name:"jumptomatching",description:"Jump to matching",bindKey:o("Ctrl-\\|Ctrl-P","Command-\\"),exec:function(e){e.jumpToMatching()},multiSelectAction:"forEach",scrollIntoView:"animate",readOnly:!0},{name:"selecttomatching",description:"Select to matching",bindKey:o("Ctrl-Shift-\\|Ctrl-Shift-P","Command-Shift-\\"),exec:function(e){e.jumpToMatching(!0)},multiSelectAction:"forEach",scrollIntoView:"animate",readOnly:!0},{name:"expandToMatching",description:"Expand to matching",bindKey:o("Ctrl-Shift-M","Ctrl-Shift-M"),exec:function(e){e.jumpToMatching(!0,!0)},multiSelectAction:"forEach",scrollIntoView:"animate",readOnly:!0},{name:"passKeysToBrowser",description:"Pass keys to browser",bindKey:o(null,null),exec:function(){},passEvent:!0,readOnly:!0},{name:"copy",description:"Copy",exec:function(e){},readOnly:!0},{name:"cut",description:"Cut",exec:function(e){var t=e.$copyWithEmptySelection&&e.selection.isEmpty()?e.selection.getLineRange():e.selection.getRange();e._emit("cut",t),t.isEmpty()||e.session.remove(t),e.clearSelection()},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"paste",description:"Paste",exec:function(e,t){e.$handlePaste(t)},scrollIntoView:"cursor"},{name:"removeline",description:"Remove line",bindKey:o("Ctrl-D","Command-D"),exec:function(e){e.removeLines()},scrollIntoView:"cursor",multiSelectAction:"forEachLine"},{name:"duplicateSelection",description:"Duplicate selection",bindKey:o("Ctrl-Shift-D","Command-Shift-D"),exec:function(e){e.duplicateSelection()},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"sortlines",description:"Sort lines",bindKey:o("Ctrl-Alt-S","Command-Alt-S"),exec:function(e){e.sortLines()},scrollIntoView:"selection",multiSelectAction:"forEachLine"},{name:"togglecomment",description:"Toggle comment",bindKey:o("Ctrl-/","Command-/"),exec:function(e){e.toggleCommentLines()},multiSelectAction:"forEachLine",scrollIntoView:"selectionPart"},{name:"toggleBlockComment",description:"Toggle block comment",bindKey:o("Ctrl-Shift-/","Command-Shift-/"),exec:function(e){e.toggleBlockComment()},multiSelectAction:"forEach",scrollIntoView:"selectionPart"},{name:"modifyNumberUp",description:"Modify number up",bindKey:o("Ctrl-Shift-Up","Alt-Shift-Up"),exec:function(e){e.modifyNumber(1)},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"modifyNumberDown",description:"Modify number down",bindKey:o("Ctrl-Shift-Down","Alt-Shift-Down"),exec:function(e){e.modifyNumber(-1)},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"replace",description:"Replace",bindKey:o("Ctrl-H","Command-Option-F"),exec:function(e){r.loadModule("ace/ext/searchbox",(function(t){t.Search(e,!0)}))}},{name:"undo",description:"Undo",bindKey:o("Ctrl-Z","Command-Z"),exec:function(e){e.undo()}},{name:"redo",description:"Redo",bindKey:o("Ctrl-Shift-Z|Ctrl-Y","Command-Shift-Z|Command-Y"),exec:function(e){e.redo()}},{name:"copylinesup",description:"Copy lines up",bindKey:o("Alt-Shift-Up","Command-Option-Up"),exec:function(e){e.copyLinesUp()},scrollIntoView:"cursor"},{name:"movelinesup",description:"Move lines up",bindKey:o("Alt-Up","Option-Up"),exec:function(e){e.moveLinesUp()},scrollIntoView:"cursor"},{name:"copylinesdown",description:"Copy lines down",bindKey:o("Alt-Shift-Down","Command-Option-Down"),exec:function(e){e.copyLinesDown()},scrollIntoView:"cursor"},{name:"movelinesdown",description:"Move lines down",bindKey:o("Alt-Down","Option-Down"),exec:function(e){e.moveLinesDown()},scrollIntoView:"cursor"},{name:"del",description:"Delete",bindKey:o("Delete","Delete|Ctrl-D|Shift-Delete"),exec:function(e){e.remove("right")},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"backspace",description:"Backspace",bindKey:o("Shift-Backspace|Backspace","Ctrl-Backspace|Shift-Backspace|Backspace|Ctrl-H"),exec:function(e){e.remove("left")},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"cut_or_delete",description:"Cut or delete",bindKey:o("Shift-Delete",null),exec:function(e){if(!e.selection.isEmpty())return!1;e.remove("left")},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolinestart",description:"Remove to line start",bindKey:o("Alt-Backspace","Command-Backspace"),exec:function(e){e.removeToLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolineend",description:"Remove to line end",bindKey:o("Alt-Delete","Ctrl-K|Command-Delete"),exec:function(e){e.removeToLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolinestarthard",description:"Remove to line start hard",bindKey:o("Ctrl-Shift-Backspace",null),exec:function(e){var t=e.selection.getRange();t.start.column=0,e.session.remove(t)},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolineendhard",description:"Remove to line end hard",bindKey:o("Ctrl-Shift-Delete",null),exec:function(e){var t=e.selection.getRange();t.end.column=Number.MAX_VALUE,e.session.remove(t)},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removewordleft",description:"Remove word left",bindKey:o("Ctrl-Backspace","Alt-Backspace|Ctrl-Alt-Backspace"),exec:function(e){e.removeWordLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removewordright",description:"Remove word right",bindKey:o("Ctrl-Delete","Alt-Delete"),exec:function(e){e.removeWordRight()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"outdent",description:"Outdent",bindKey:o("Shift-Tab","Shift-Tab"),exec:function(e){e.blockOutdent()},multiSelectAction:"forEach",scrollIntoView:"selectionPart"},{name:"indent",description:"Indent",bindKey:o("Tab","Tab"),exec:function(e){e.indent()},multiSelectAction:"forEach",scrollIntoView:"selectionPart"},{name:"blockoutdent",description:"Block outdent",bindKey:o("Ctrl-[","Ctrl-["),exec:function(e){e.blockOutdent()},multiSelectAction:"forEachLine",scrollIntoView:"selectionPart"},{name:"blockindent",description:"Block indent",bindKey:o("Ctrl-]","Ctrl-]"),exec:function(e){e.blockIndent()},multiSelectAction:"forEachLine",scrollIntoView:"selectionPart"},{name:"insertstring",description:"Insert string",exec:function(e,t){e.insert(t)},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"inserttext",description:"Insert text",exec:function(e,t){e.insert(n.stringRepeat(t.text||"",t.times||1))},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"splitline",description:"Split line",bindKey:o(null,"Ctrl-O"),exec:function(e){e.splitLine()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"transposeletters",description:"Transpose letters",bindKey:o("Alt-Shift-X","Ctrl-T"),exec:function(e){e.transposeLetters()},multiSelectAction:function(e){e.transposeSelections(1)},scrollIntoView:"cursor"},{name:"touppercase",description:"To uppercase",bindKey:o("Ctrl-U","Ctrl-U"),exec:function(e){e.toUpperCase()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"tolowercase",description:"To lowercase",bindKey:o("Ctrl-Shift-U","Ctrl-Shift-U"),exec:function(e){e.toLowerCase()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"autoindent",description:"Auto Indent",bindKey:o(null,null),exec:function(e){e.autoIndent()},scrollIntoView:"animate"},{name:"expandtoline",description:"Expand to line",bindKey:o("Ctrl-Shift-L","Command-Shift-L"),exec:function(e){var t=e.selection.getRange();t.start.column=t.end.column=0,t.end.row++,e.selection.setRange(t,!1)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"openlink",bindKey:o("Ctrl+F3","F3"),exec:function(e){e.openLink()}},{name:"joinlines",description:"Join lines",bindKey:o(null,null),exec:function(e){for(var t=e.selection.isBackwards(),l=t?e.selection.getSelectionLead():e.selection.getSelectionAnchor(),r=t?e.selection.getSelectionAnchor():e.selection.getSelectionLead(),o=e.session.doc.getLine(l.row).length,i=e.session.doc.getTextRange(e.selection.getRange()).replace(/\n\s*/," ").length,s=e.session.doc.getLine(l.row),c=l.row+1;c<=r.row+1;c++){var u=n.stringTrimLeft(n.stringTrimRight(e.session.doc.getLine(c)));0!==u.length&&(u=" "+u),s+=u}r.row+10?(e.selection.moveCursorTo(l.row,l.column),e.selection.selectTo(l.row,l.column+i)):(o=e.session.doc.getLine(l.row).length>o?o+1:o,e.selection.moveCursorTo(l.row,o))},multiSelectAction:"forEach",readOnly:!0},{name:"invertSelection",description:"Invert selection",bindKey:o(null,null),exec:function(e){var t=e.session.doc.getLength()-1,l=e.session.doc.getLine(t).length,n=e.selection.rangeList.ranges,r=[];n.length<1&&(n=[e.selection.getRange()]);for(var o=0;o0||e+t=0&&this.$isCustomWidgetVisible(e-t))return e-t;if(e+t<=this.lines.getLength()-1&&this.$isCustomWidgetVisible(e+t))return e+t;if(e-t>=0&&this.$isFoldWidgetVisible(e-t))return e-t;if(e+t<=this.lines.getLength()-1&&this.$isFoldWidgetVisible(e+t))return e+t}return null},e.prototype.$findNearestAnnotation=function(e){if(this.$isAnnotationVisible(e))return e;for(var t=0;e-t>0||e+t=0&&this.$isAnnotationVisible(e-t))return e-t;if(e+t<=this.lines.getLength()-1&&this.$isAnnotationVisible(e+t))return e+t}return null},e.prototype.$focusFoldWidget=function(e){if(null!=e){var t=this.$getFoldWidget(e);t.classList.add(this.editor.renderer.keyboardFocusClassName),t.focus()}},e.prototype.$focusCustomWidget=function(e){if(null!=e){var t=this.$getCustomWidget(e);t&&(t.classList.add(this.editor.renderer.keyboardFocusClassName),t.focus())}},e.prototype.$focusAnnotation=function(e){if(null!=e){var t=this.$getAnnotation(e);t.classList.add(this.editor.renderer.keyboardFocusClassName),t.focus()}},e.prototype.$blurFoldWidget=function(e){var t=this.$getFoldWidget(e);t.classList.remove(this.editor.renderer.keyboardFocusClassName),t.blur()},e.prototype.$blurCustomWidget=function(e){var t=this.$getCustomWidget(e);t&&(t.classList.remove(this.editor.renderer.keyboardFocusClassName),t.blur())},e.prototype.$blurAnnotation=function(e){var t=this.$getAnnotation(e);t.classList.remove(this.editor.renderer.keyboardFocusClassName),t.blur()},e.prototype.$moveFoldWidgetUp=function(){for(var e=this.activeRowIndex;e>0;)if(e--,this.$isFoldWidgetVisible(e)||this.$isCustomWidgetVisible(e))return this.$blurFoldWidget(this.activeRowIndex),this.$blurCustomWidget(this.activeRowIndex),this.activeRowIndex=e,void(this.$isFoldWidgetVisible(e)?this.$focusFoldWidget(this.activeRowIndex):this.$focusCustomWidget(this.activeRowIndex))},e.prototype.$moveFoldWidgetDown=function(){for(var e=this.activeRowIndex;e0;)if(e--,this.$isAnnotationVisible(e))return this.$blurAnnotation(this.activeRowIndex),this.activeRowIndex=e,void this.$focusAnnotation(this.activeRowIndex)},e.prototype.$moveAnnotationDown=function(){for(var e=this.activeRowIndex;e=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},r=e("./lib/oop"),a=e("./lib/dom"),o=e("./lib/lang"),i=e("./lib/useragent"),s=e("./keyboard/textinput").TextInput,c=e("./mouse/mouse_handler").MouseHandler,u=e("./mouse/fold_handler").FoldHandler,d=e("./keyboard/keybinding").KeyBinding,f=e("./edit_session").EditSession,p=e("./search").Search,h=e("./range").Range,m=e("./lib/event_emitter").EventEmitter,g=e("./commands/command_manager").CommandManager,y=e("./commands/default_commands").commands,v=e("./config"),b=e("./token_iterator").TokenIterator,w=e("./keyboard/gutter_handler").GutterKeyboardHandler,x=e("./config").nls,k=e("./clipboard"),S=e("./lib/keys"),C=e("./lib/event"),O=e("./tooltip").HoverTooltip,M=function(){function e(t,l,n){this.id="editor"+ ++e.$uid,this.session,this.$toDestroy=[];var r=t.getContainerElement();this.container=r,this.renderer=t,this.commands=new g(i.isMac?"mac":"win",y),"object"==typeof document&&(this.textInput=new s(t.getTextAreaContainer(),this),this.renderer.textarea=this.textInput.getElement(),this.$mouseHandler=new c(this),new u(this)),this.keyBinding=new d(this),this.$search=(new p).set({wrap:!0}),this.$historyTracker=this.$historyTracker.bind(this),this.commands.on("exec",this.$historyTracker),this.$initOperationListeners(),this._$emitInputEvent=o.delayedCall(function(){this._signal("input",{}),this.session&&!this.session.destroyed&&this.session.bgTokenizer.scheduleStart()}.bind(this)),this.on("change",(function(e,t){t._$emitInputEvent.schedule(31)})),this.setSession(l||n&&n.session||new f("")),v.resetOptions(this),n&&this.setOptions(n),v._signal("editor",this)}return e.prototype.$initOperationListeners=function(){this.commands.on("exec",this.startOperation.bind(this),!0),this.commands.on("afterExec",this.endOperation.bind(this),!0)},e.prototype.startOperation=function(e){this.session.startOperation(e)},e.prototype.endOperation=function(e){this.session.endOperation(e)},e.prototype.onStartOperation=function(e){this.curOp=this.session.curOp,this.curOp.scrollTop=this.renderer.scrollTop,this.prevOp=this.session.prevOp,e||(this.previousCommand=null)},e.prototype.onEndOperation=function(e){if(this.curOp&&this.session){if(e&&!1===e.returnValue)return void(this.curOp=null);if(this._signal("beforeEndOperation"),!this.curOp)return;var t=this.curOp.command,l=t&&t.scrollIntoView;if(l){switch(l){case"center-animate":l="animate";case"center":this.renderer.scrollCursorIntoView(null,.5);break;case"animate":case"cursor":this.renderer.scrollCursorIntoView();break;case"selectionPart":var n=this.selection.getRange(),r=this.renderer.layerConfig;(n.start.row>=r.lastRow||n.end.row<=r.firstRow)&&this.renderer.scrollSelectionIntoView(this.selection.anchor,this.selection.lead)}"animate"==l&&this.renderer.animateScrolling(this.curOp.scrollTop)}this.$lastSel=this.session.selection.toJSON(),this.prevOp=this.curOp,this.curOp=null}},e.prototype.$historyTracker=function(e){if(this.$mergeUndoDeltas){var t=this.prevOp,l=this.$mergeableCommands,n=t.command&&e.command.name==t.command.name;if("insertstring"==e.command.name){var r=e.args;void 0===this.mergeNextCommand&&(this.mergeNextCommand=!0),n=n&&this.mergeNextCommand&&(!/\s/.test(r)||/\s/.test(t.args)),this.mergeNextCommand=!0}else n=n&&-1!==l.indexOf(e.command.name);"always"!=this.$mergeUndoDeltas&&Date.now()-this.sequenceStartTime>2e3&&(n=!1),n?this.session.mergeUndoDeltas=!0:-1!==l.indexOf(e.command.name)&&(this.sequenceStartTime=Date.now())}},e.prototype.setKeyboardHandler=function(e,t){if(e&&"string"===typeof e&&"ace"!=e){this.$keybindingId=e;var l=this;v.loadModule(["keybinding",e],(function(n){l.$keybindingId==e&&l.keyBinding.setKeyboardHandler(n&&n.handler),t&&t()}))}else this.$keybindingId=null,this.keyBinding.setKeyboardHandler(e),t&&t()},e.prototype.getKeyboardHandler=function(){return this.keyBinding.getKeyboardHandler()},e.prototype.setSession=function(e){if(this.session!=e){this.curOp&&this.endOperation(),this.curOp={};var t=this.session;if(t){this.session.off("change",this.$onDocumentChange),this.session.off("changeMode",this.$onChangeMode),this.session.off("tokenizerUpdate",this.$onTokenizerUpdate),this.session.off("changeTabSize",this.$onChangeTabSize),this.session.off("changeWrapLimit",this.$onChangeWrapLimit),this.session.off("changeWrapMode",this.$onChangeWrapMode),this.session.off("changeFold",this.$onChangeFold),this.session.off("changeFrontMarker",this.$onChangeFrontMarker),this.session.off("changeBackMarker",this.$onChangeBackMarker),this.session.off("changeBreakpoint",this.$onChangeBreakpoint),this.session.off("changeAnnotation",this.$onChangeAnnotation),this.session.off("changeOverwrite",this.$onCursorChange),this.session.off("changeScrollTop",this.$onScrollTopChange),this.session.off("changeScrollLeft",this.$onScrollLeftChange),this.session.off("startOperation",this.$onStartOperation),this.session.off("endOperation",this.$onEndOperation);var l=this.session.getSelection();l.off("changeCursor",this.$onCursorChange),l.off("changeSelection",this.$onSelectionChange)}this.session=e,e?(this.$onDocumentChange=this.onDocumentChange.bind(this),e.on("change",this.$onDocumentChange),this.renderer.setSession(e),this.$onChangeMode=this.onChangeMode.bind(this),e.on("changeMode",this.$onChangeMode),this.$onTokenizerUpdate=this.onTokenizerUpdate.bind(this),e.on("tokenizerUpdate",this.$onTokenizerUpdate),this.$onChangeTabSize=this.renderer.onChangeTabSize.bind(this.renderer),e.on("changeTabSize",this.$onChangeTabSize),this.$onChangeWrapLimit=this.onChangeWrapLimit.bind(this),e.on("changeWrapLimit",this.$onChangeWrapLimit),this.$onChangeWrapMode=this.onChangeWrapMode.bind(this),e.on("changeWrapMode",this.$onChangeWrapMode),this.$onChangeFold=this.onChangeFold.bind(this),e.on("changeFold",this.$onChangeFold),this.$onChangeFrontMarker=this.onChangeFrontMarker.bind(this),this.session.on("changeFrontMarker",this.$onChangeFrontMarker),this.$onChangeBackMarker=this.onChangeBackMarker.bind(this),this.session.on("changeBackMarker",this.$onChangeBackMarker),this.$onChangeBreakpoint=this.onChangeBreakpoint.bind(this),this.session.on("changeBreakpoint",this.$onChangeBreakpoint),this.$onChangeAnnotation=this.onChangeAnnotation.bind(this),this.session.on("changeAnnotation",this.$onChangeAnnotation),this.$onCursorChange=this.onCursorChange.bind(this),this.session.on("changeOverwrite",this.$onCursorChange),this.$onScrollTopChange=this.onScrollTopChange.bind(this),this.session.on("changeScrollTop",this.$onScrollTopChange),this.$onScrollLeftChange=this.onScrollLeftChange.bind(this),this.session.on("changeScrollLeft",this.$onScrollLeftChange),this.selection=e.getSelection(),this.selection.on("changeCursor",this.$onCursorChange),this.$onSelectionChange=this.onSelectionChange.bind(this),this.selection.on("changeSelection",this.$onSelectionChange),this.$onStartOperation=this.onStartOperation.bind(this),this.session.on("startOperation",this.$onStartOperation),this.$onEndOperation=this.onEndOperation.bind(this),this.session.on("endOperation",this.$onEndOperation),this.onChangeMode(),this.onCursorChange(),this.onScrollTopChange(),this.onScrollLeftChange(),this.onSelectionChange(),this.onChangeFrontMarker(),this.onChangeBackMarker(),this.onChangeBreakpoint(),this.onChangeAnnotation(),this.session.getUseWrapMode()&&this.renderer.adjustWrapLimit(),this.renderer.updateFull()):(this.selection=null,this.renderer.setSession(e)),this._signal("changeSession",{session:e,oldSession:t}),this.curOp=null,t&&t._signal("changeEditor",{oldEditor:this}),t&&(t.$editor=null),e&&e._signal("changeEditor",{editor:this}),e&&(e.$editor=this),e&&!e.destroyed&&e.bgTokenizer.scheduleStart()}},e.prototype.getSession=function(){return this.session},e.prototype.setValue=function(e,t){return this.session.doc.setValue(e),t?1==t?this.navigateFileEnd():-1==t&&this.navigateFileStart():this.selectAll(),e},e.prototype.getValue=function(){return this.session.getValue()},e.prototype.getSelection=function(){return this.selection},e.prototype.resize=function(e){this.renderer.onResize(e)},e.prototype.setTheme=function(e,t){this.renderer.setTheme(e,t)},e.prototype.getTheme=function(){return this.renderer.getTheme()},e.prototype.setStyle=function(e,t){this.renderer.setStyle(e,t)},e.prototype.unsetStyle=function(e){this.renderer.unsetStyle(e)},e.prototype.getFontSize=function(){return this.getOption("fontSize")||a.computedStyle(this.container).fontSize},e.prototype.setFontSize=function(e){this.setOption("fontSize",e)},e.prototype.$highlightBrackets=function(){if(!this.$highlightPending){var e=this;this.$highlightPending=!0,setTimeout((function(){e.$highlightPending=!1;var t=e.session;if(t&&!t.destroyed){t.$bracketHighlight&&(t.$bracketHighlight.markerIds.forEach((function(e){t.removeMarker(e)})),t.$bracketHighlight=null);var l=e.getCursorPosition(),n=e.getKeyboardHandler(),r=n&&n.$getDirectionForHighlight&&n.$getDirectionForHighlight(e),a=t.getMatchingBracketRanges(l,r);if(!a){var o=new b(t,l.row,l.column).getCurrentToken();if(o&&/\b(?:tag-open|tag-name)/.test(o.type)){var i=t.getMatchingTags(l);i&&(a=[i.openTagName.isEmpty()?i.openTag:i.openTagName,i.closeTagName.isEmpty()?i.closeTag:i.closeTagName])}}if(!a&&t.$mode.getMatching&&(a=t.$mode.getMatching(e.session)),a){var s="ace_bracket";Array.isArray(a)?1==a.length&&(s="ace_error_bracket"):a=[a],2==a.length&&(0==h.comparePoints(a[0].end,a[1].start)?a=[h.fromPoints(a[0].start,a[1].end)]:0==h.comparePoints(a[0].start,a[1].end)&&(a=[h.fromPoints(a[1].start,a[0].end)])),t.$bracketHighlight={ranges:a,markerIds:a.map((function(e){return t.addMarker(e,s,"text")}))},e.getHighlightIndentGuides()&&e.renderer.$textLayer.$highlightIndentGuide()}else e.getHighlightIndentGuides()&&e.renderer.$textLayer.$highlightIndentGuide()}}),50)}},e.prototype.focus=function(){this.textInput.focus()},e.prototype.isFocused=function(){return this.textInput.isFocused()},e.prototype.blur=function(){this.textInput.blur()},e.prototype.onFocus=function(e){this.$isFocused||(this.$isFocused=!0,this.renderer.showCursor(),this.renderer.visualizeFocus(),this._emit("focus",e))},e.prototype.onBlur=function(e){this.$isFocused&&(this.$isFocused=!1,this.renderer.hideCursor(),this.renderer.visualizeBlur(),this._emit("blur",e))},e.prototype.$cursorChange=function(){this.renderer.updateCursor(),this.$highlightBrackets(),this.$updateHighlightActiveLine()},e.prototype.onDocumentChange=function(e){var t=this.session.$useWrapMode,l=e.start.row==e.end.row?e.end.row:1/0;this.renderer.updateLines(e.start.row,l,t),this._signal("change",e),this.$cursorChange()},e.prototype.onTokenizerUpdate=function(e){var t=e.data;this.renderer.updateLines(t.first,t.last)},e.prototype.onScrollTopChange=function(){this.renderer.scrollToY(this.session.getScrollTop())},e.prototype.onScrollLeftChange=function(){this.renderer.scrollToX(this.session.getScrollLeft())},e.prototype.onCursorChange=function(){this.$cursorChange(),this._signal("changeSelection")},e.prototype.$updateHighlightActiveLine=function(){var e,t=this.getSession();if(this.$highlightActiveLine&&("line"==this.$selectionStyle&&this.selection.isMultiLine()||(e=this.getCursorPosition()),this.renderer.theme&&this.renderer.theme.$selectionColorConflict&&!this.selection.isEmpty()&&(e=!1),!this.renderer.$maxLines||1!==this.session.getLength()||this.renderer.$minLines>1||(e=!1)),t.$highlightLineMarker&&!e)t.removeMarker(t.$highlightLineMarker.id),t.$highlightLineMarker=null;else if(!t.$highlightLineMarker&&e){var l=new h(e.row,e.column,e.row,1/0);l.id=t.addMarker(l,"ace_active-line","screenLine"),t.$highlightLineMarker=l}else e&&(t.$highlightLineMarker.start.row=e.row,t.$highlightLineMarker.end.row=e.row,t.$highlightLineMarker.start.column=e.column,t._signal("changeBackMarker"))},e.prototype.onSelectionChange=function(e){var t=this.session;if(t.$selectionMarker&&t.removeMarker(t.$selectionMarker),t.$selectionMarker=null,this.selection.isEmpty())this.$updateHighlightActiveLine();else{var l=this.selection.getRange(),n=this.getSelectionStyle();t.$selectionMarker=t.addMarker(l,"ace_selection",n)}var r=this.$highlightSelectedWord&&this.$getSelectionHighLightRegexp();this.session.highlight(r),this._signal("changeSelection")},e.prototype.$getSelectionHighLightRegexp=function(){var e=this.session,t=this.getSelectionRange();if(!t.isEmpty()&&!t.isMultiLine()){var l=t.start.column,n=t.end.column,r=e.getLine(t.start.row),a=r.substring(l,n);if(!(a.length>5e3)&&/[\w\d]/.test(a)){var o=this.$search.$assembleRegExp({wholeWord:!0,caseSensitive:!0,needle:a}),i=r.substring(l-1,n+1);if(o.test(i))return o}}},e.prototype.onChangeFrontMarker=function(){this.renderer.updateFrontMarkers()},e.prototype.onChangeBackMarker=function(){this.renderer.updateBackMarkers()},e.prototype.onChangeBreakpoint=function(){this.renderer.updateBreakpoints()},e.prototype.onChangeAnnotation=function(){this.renderer.setAnnotations(this.session.getAnnotations())},e.prototype.onChangeMode=function(e){this.renderer.updateText(),this._emit("changeMode",e)},e.prototype.onChangeWrapLimit=function(){this.renderer.updateFull()},e.prototype.onChangeWrapMode=function(){this.renderer.onResize(!0)},e.prototype.onChangeFold=function(){this.$updateHighlightActiveLine(),this.renderer.updateFull()},e.prototype.getSelectedText=function(){return this.session.getTextRange(this.getSelectionRange())},e.prototype.getCopyText=function(){var e=this.getSelectedText(),t=this.session.doc.getNewLineCharacter(),l=!1;if(!e&&this.$copyWithEmptySelection){l=!0;for(var n=this.selection.getAllRanges(),r=0;ri.search(/\S|$/)){var s=i.substr(r.column).search(/\S|$/);l.doc.removeInLine(r.row,r.column,r.column+s)}}this.clearSelection();var c=r.column,u=l.getState(r.row),d=(i=l.getLine(r.row),n.checkOutdent(u,i,e));if(l.insert(r,e),a&&a.selection&&(2==a.selection.length?this.selection.setSelectionRange(new h(r.row,c+a.selection[0],r.row,c+a.selection[1])):this.selection.setSelectionRange(new h(r.row+a.selection[0],a.selection[1],r.row+a.selection[2],a.selection[3]))),this.$enableAutoIndent){if(l.getDocument().isNewLine(e)){var f=n.getNextLineIndent(u,i.slice(0,r.column),l.getTabString());l.insert({row:r.row+1,column:0},f)}d&&n.autoOutdent(u,l,r.row)}},e.prototype.autoIndent=function(){for(var e=this.session,t=e.getMode(),l=this.selection.isEmpty()?[new h(0,0,e.doc.getLength()-1,0)]:this.selection.getAllRanges(),n="",r="",a="",o=e.getTabString(),i=0;i0&&(n=e.getState(u-1),r=e.getLine(u-1),a=t.getNextLineIndent(n,r,o));var d=e.getLine(u),f=t.$getIndent(d);if(a!==f){if(f.length>0){var p=new h(u,0,u,f.length);e.remove(p)}a.length>0&&e.insert({row:u,column:0},a)}t.autoOutdent(n,e,u)}},e.prototype.onTextInput=function(e,t){if(!t)return this.keyBinding.onTextInput(e);this.startOperation({command:{name:"insertstring"}});var l=this.applyComposition.bind(this,e,t);this.selection.rangeCount?this.forEachSelection(l):l(),this.endOperation()},e.prototype.applyComposition=function(e,t){var l;(t.extendLeft||t.extendRight)&&((l=this.selection.getRange()).start.column-=t.extendLeft,l.end.column+=t.extendRight,l.start.column<0&&(l.start.row--,l.start.column+=this.session.getLine(l.start.row).length+1),this.selection.setRange(l),e||l.isEmpty()||this.remove());(!e&&this.selection.isEmpty()||this.insert(e,!0),t.restoreStart||t.restoreEnd)&&((l=this.selection.getRange()).start.column-=t.restoreStart,l.end.column-=t.restoreEnd,this.selection.setRange(l))},e.prototype.onCommandKey=function(e,t,l){return this.keyBinding.onCommandKey(e,t,l)},e.prototype.setOverwrite=function(e){this.session.setOverwrite(e)},e.prototype.getOverwrite=function(){return this.session.getOverwrite()},e.prototype.toggleOverwrite=function(){this.session.toggleOverwrite()},e.prototype.setScrollSpeed=function(e){this.setOption("scrollSpeed",e)},e.prototype.getScrollSpeed=function(){return this.getOption("scrollSpeed")},e.prototype.setDragDelay=function(e){this.setOption("dragDelay",e)},e.prototype.getDragDelay=function(){return this.getOption("dragDelay")},e.prototype.setSelectionStyle=function(e){this.setOption("selectionStyle",e)},e.prototype.getSelectionStyle=function(){return this.getOption("selectionStyle")},e.prototype.setHighlightActiveLine=function(e){this.setOption("highlightActiveLine",e)},e.prototype.getHighlightActiveLine=function(){return this.getOption("highlightActiveLine")},e.prototype.setHighlightGutterLine=function(e){this.setOption("highlightGutterLine",e)},e.prototype.getHighlightGutterLine=function(){return this.getOption("highlightGutterLine")},e.prototype.setHighlightSelectedWord=function(e){this.setOption("highlightSelectedWord",e)},e.prototype.getHighlightSelectedWord=function(){return this.$highlightSelectedWord},e.prototype.setAnimatedScroll=function(e){this.renderer.setAnimatedScroll(e)},e.prototype.getAnimatedScroll=function(){return this.renderer.getAnimatedScroll()},e.prototype.setShowInvisibles=function(e){this.renderer.setShowInvisibles(e)},e.prototype.getShowInvisibles=function(){return this.renderer.getShowInvisibles()},e.prototype.setDisplayIndentGuides=function(e){this.renderer.setDisplayIndentGuides(e)},e.prototype.getDisplayIndentGuides=function(){return this.renderer.getDisplayIndentGuides()},e.prototype.setHighlightIndentGuides=function(e){this.renderer.setHighlightIndentGuides(e)},e.prototype.getHighlightIndentGuides=function(){return this.renderer.getHighlightIndentGuides()},e.prototype.setShowPrintMargin=function(e){this.renderer.setShowPrintMargin(e)},e.prototype.getShowPrintMargin=function(){return this.renderer.getShowPrintMargin()},e.prototype.setPrintMarginColumn=function(e){this.renderer.setPrintMarginColumn(e)},e.prototype.getPrintMarginColumn=function(){return this.renderer.getPrintMarginColumn()},e.prototype.setReadOnly=function(e){this.setOption("readOnly",e)},e.prototype.getReadOnly=function(){return this.getOption("readOnly")},e.prototype.setBehavioursEnabled=function(e){this.setOption("behavioursEnabled",e)},e.prototype.getBehavioursEnabled=function(){return this.getOption("behavioursEnabled")},e.prototype.setWrapBehavioursEnabled=function(e){this.setOption("wrapBehavioursEnabled",e)},e.prototype.getWrapBehavioursEnabled=function(){return this.getOption("wrapBehavioursEnabled")},e.prototype.setShowFoldWidgets=function(e){this.setOption("showFoldWidgets",e)},e.prototype.getShowFoldWidgets=function(){return this.getOption("showFoldWidgets")},e.prototype.setFadeFoldWidgets=function(e){this.setOption("fadeFoldWidgets",e)},e.prototype.getFadeFoldWidgets=function(){return this.getOption("fadeFoldWidgets")},e.prototype.remove=function(e){this.selection.isEmpty()&&("left"==e?this.selection.selectLeft():this.selection.selectRight());var t=this.getSelectionRange();if(this.getBehavioursEnabled()){var l=this.session,n=l.getState(t.start.row),r=l.getMode().transformAction(n,"deletion",this,l,t);if(0===t.end.column){var a=l.getTextRange(t);if("\n"==a[a.length-1]){var o=l.getLine(t.end.row);/^\s+$/.test(o)&&(t.end.column=o.length)}}r&&(t=r)}this.session.remove(t),this.clearSelection()},e.prototype.removeWordRight=function(){this.selection.isEmpty()&&this.selection.selectWordRight(),this.session.remove(this.getSelectionRange()),this.clearSelection()},e.prototype.removeWordLeft=function(){this.selection.isEmpty()&&this.selection.selectWordLeft(),this.session.remove(this.getSelectionRange()),this.clearSelection()},e.prototype.removeToLineStart=function(){this.selection.isEmpty()&&this.selection.selectLineStart(),this.selection.isEmpty()&&this.selection.selectLeft(),this.session.remove(this.getSelectionRange()),this.clearSelection()},e.prototype.removeToLineEnd=function(){this.selection.isEmpty()&&this.selection.selectLineEnd();var e=this.getSelectionRange();e.start.column==e.end.column&&e.start.row==e.end.row&&(e.end.column=0,e.end.row++),this.session.remove(e),this.clearSelection()},e.prototype.splitLine=function(){this.selection.isEmpty()||(this.session.remove(this.getSelectionRange()),this.clearSelection());var e=this.getCursorPosition();this.insert("\n"),this.moveCursorToPosition(e)},e.prototype.setGhostText=function(e,t){this.renderer.setGhostText(e,t)},e.prototype.removeGhostText=function(){this.renderer.removeGhostText()},e.prototype.transposeLetters=function(){if(this.selection.isEmpty()){var e=this.getCursorPosition(),t=e.column;if(0!==t){var l,n,r=this.session.getLine(e.row);tt.toLowerCase()?1:0}));var r=new h(0,0,0,0);for(n=e.first;n<=e.last;n++){var a=t.getLine(n);r.start.row=n,r.end.row=n,r.end.column=a.length,t.replace(r,l[n-e.first])}},e.prototype.toggleCommentLines=function(){var e=this.session.getState(this.getCursorPosition().row),t=this.$getSelectedRows();this.session.getMode().toggleCommentLines(e,this.session,t.first,t.last)},e.prototype.toggleBlockComment=function(){var e=this.getCursorPosition(),t=this.session.getState(e.row),l=this.getSelectionRange();this.session.getMode().toggleBlockComment(t,this.session,l,e)},e.prototype.getNumberAt=function(e,t){var l=/[\-]?[0-9]+(?:\.[0-9]+)?/g;l.lastIndex=0;for(var n=this.session.getLine(e);l.lastIndex=t)return{value:r[0],start:r.index,end:r.index+r[0].length}}return null},e.prototype.modifyNumber=function(e){var t=this.selection.getCursor().row,l=this.selection.getCursor().column,n=new h(t,l-1,t,l),r=this.session.getTextRange(n);if(!isNaN(parseFloat(r))&&isFinite(r)){var a=this.getNumberAt(t,l);if(a){var o=a.value.indexOf(".")>=0?a.start+a.value.indexOf(".")+1:a.end,i=a.start+a.value.length-o,s=parseFloat(a.value);s*=Math.pow(10,i),o!==a.end&&l=i&&a<=s&&(l=t,c.selection.clearSelection(),c.moveCursorTo(e,i+n),c.selection.selectTo(e,s+n)),i=s}));for(var u,d=this.$toggleWordPairs,f=0;f=s&&o<=c&&f.match(/((?:https?|ftp):\/\/[\S]+)/)){i=f.replace(/[\s:.,'";}\]]+$/,"");break}s=c}}catch(e){l={error:e}}finally{try{d&&!d.done&&(r=u.return)&&r.call(u)}finally{if(l)throw l.error}}return i},e.prototype.openLink=function(){var e=this.selection.getCursor(),t=this.findLinkAt(e.row,e.column);return t&&window.open(t,"_blank"),null!=t},e.prototype.removeLines=function(){var e=this.$getSelectedRows();this.session.removeFullLines(e.first,e.last),this.clearSelection()},e.prototype.duplicateSelection=function(){var e=this.selection,t=this.session,l=e.getRange(),n=e.isBackwards();if(l.isEmpty()){var r=l.start.row;t.duplicateLines(r,r)}else{var a=n?l.start:l.end,o=t.insert(a,t.getTextRange(l));l.start=a,l.end=o,e.setSelectionRange(l,n)}},e.prototype.moveLinesDown=function(){this.$moveLines(1,!1)},e.prototype.moveLinesUp=function(){this.$moveLines(-1,!1)},e.prototype.moveText=function(e,t,l){return this.session.moveText(e,t,l)},e.prototype.copyLinesUp=function(){this.$moveLines(-1,!0)},e.prototype.copyLinesDown=function(){this.$moveLines(1,!0)},e.prototype.$moveLines=function(e,t){var l,n,r=this.selection;if(!r.inMultiSelectMode||this.inVirtualSelectionMode){var a=r.toOrientedRange();l=this.$getSelectedRows(a),n=this.session.$moveLines(l.first,l.last,t?0:e),t&&-1==e&&(n=0),a.moveBy(n,0),r.fromOrientedRange(a)}else{var o=r.rangeList.ranges;r.rangeList.detach(this.session),this.inVirtualSelectionMode=!0;for(var i=0,s=0,c=o.length,u=0;up+1)break;p=h.last}for(u--,i=this.session.$moveLines(f,p,t?0:e),t&&-1==e&&(d=u+1);d<=u;)o[d].moveBy(i,0),d++;t||(i=0),s+=i}r.fromOrientedRange(r.ranges[0]),r.rangeList.attach(this.session),this.inVirtualSelectionMode=!1}},e.prototype.$getSelectedRows=function(e){return e=(e||this.getSelectionRange()).collapseRows(),{first:this.session.getRowFoldStart(e.start.row),last:this.session.getRowFoldEnd(e.end.row)}},e.prototype.onCompositionStart=function(e){this.renderer.showComposition(e)},e.prototype.onCompositionUpdate=function(e){this.renderer.setCompositionText(e)},e.prototype.onCompositionEnd=function(){this.renderer.hideComposition()},e.prototype.getFirstVisibleRow=function(){return this.renderer.getFirstVisibleRow()},e.prototype.getLastVisibleRow=function(){return this.renderer.getLastVisibleRow()},e.prototype.isRowVisible=function(e){return e>=this.getFirstVisibleRow()&&e<=this.getLastVisibleRow()},e.prototype.isRowFullyVisible=function(e){return e>=this.renderer.getFirstFullyVisibleRow()&&e<=this.renderer.getLastFullyVisibleRow()},e.prototype.$getVisibleRowCount=function(){return this.renderer.getScrollBottomRow()-this.renderer.getScrollTopRow()+1},e.prototype.$moveByPage=function(e,t){var l=this.renderer,n=this.renderer.layerConfig,r=e*Math.floor(n.height/n.lineHeight);!0===t?this.selection.$moveSelection((function(){this.moveCursorBy(r,0)})):!1===t&&(this.selection.moveCursorBy(r,0),this.selection.clearSelection());var a=l.scrollTop;l.scrollBy(0,r*n.lineHeight),null!=t&&l.scrollCursorIntoView(null,.5),l.animateScrolling(a)},e.prototype.selectPageDown=function(){this.$moveByPage(1,!0)},e.prototype.selectPageUp=function(){this.$moveByPage(-1,!0)},e.prototype.gotoPageDown=function(){this.$moveByPage(1,!1)},e.prototype.gotoPageUp=function(){this.$moveByPage(-1,!1)},e.prototype.scrollPageDown=function(){this.$moveByPage(1)},e.prototype.scrollPageUp=function(){this.$moveByPage(-1)},e.prototype.scrollToRow=function(e){this.renderer.scrollToRow(e)},e.prototype.scrollToLine=function(e,t,l,n){this.renderer.scrollToLine(e,t,l,n)},e.prototype.centerSelection=function(){var e=this.getSelectionRange(),t={row:Math.floor(e.start.row+(e.end.row-e.start.row)/2),column:Math.floor(e.start.column+(e.end.column-e.start.column)/2)};this.renderer.alignCursor(t,.5)},e.prototype.getCursorPosition=function(){return this.selection.getCursor()},e.prototype.getCursorPositionScreen=function(){return this.session.documentToScreenPosition(this.getCursorPosition())},e.prototype.getSelectionRange=function(){return this.selection.getRange()},e.prototype.selectAll=function(){this.selection.selectAll()},e.prototype.clearSelection=function(){this.selection.clearSelection()},e.prototype.moveCursorTo=function(e,t){this.selection.moveCursorTo(e,t)},e.prototype.moveCursorToPosition=function(e){this.selection.moveCursorToPosition(e)},e.prototype.jumpToMatching=function(e,t){var l=this.getCursorPosition(),n=new b(this.session,l.row,l.column),r=n.getCurrentToken(),a=0;r&&-1!==r.type.indexOf("tag-name")&&(r=n.stepBackward());var o=r||n.stepForward();if(o){var i,s,c=!1,u={},d=l.column-o.start,f={")":"(","(":"(","]":"[","[":"[","{":"{","}":"{"};do{if(o.value.match(/[{}()\[\]]/g)){for(;d1?u[o.value]++:"=0;--a)this.$tryReplace(l[a],e)&&n++;return this.selection.setSelectionRange(r),n},e.prototype.$tryReplace=function(e,t){var l=this.session.getTextRange(e);return null!==(t=this.$search.replace(l,t))?(e.end=this.session.replace(e,t),e):null},e.prototype.getLastSearchOptions=function(){return this.$search.getOptions()},e.prototype.find=function(e,t,l){t||(t={}),"string"==typeof e||e instanceof RegExp?t.needle=e:"object"==typeof e&&r.mixin(t,e);var n=this.selection.getRange();null==t.needle&&((e=this.session.getTextRange(n)||this.$search.$options.needle)||(n=this.session.getWordRange(n.start.row,n.start.column),e=this.session.getTextRange(n)),this.$search.set({needle:e})),this.$search.set(t),t.start||this.$search.set({start:n});var a=this.$search.find(this.session);return t.preventScroll?a:a?(this.revealRange(a,l),a):(t.backwards?n.start=n.end:n.end=n.start,void this.selection.setRange(n))},e.prototype.findNext=function(e,t){this.find({skipCurrent:!0,backwards:!1},e,t)},e.prototype.findPrevious=function(e,t){this.find(e,{skipCurrent:!0,backwards:!0},t)},e.prototype.revealRange=function(e,t){this.session.unfold(e),this.selection.setSelectionRange(e);var l=this.renderer.scrollTop;this.renderer.scrollSelectionIntoView(e.start,e.end,.5),!1!==t&&this.renderer.animateScrolling(l)},e.prototype.undo=function(){this.session.getUndoManager().undo(this.session),this.renderer.scrollCursorIntoView(null,.5)},e.prototype.redo=function(){this.session.getUndoManager().redo(this.session),this.renderer.scrollCursorIntoView(null,.5)},e.prototype.destroy=function(){this.destroyed=!0,this.$toDestroy&&(this.$toDestroy.forEach((function(e){e.destroy()})),this.$toDestroy=[]),this.$mouseHandler&&this.$mouseHandler.destroy(),this.renderer.destroy(),this._signal("destroy",this),this.session&&this.session.destroy(),this._$emitInputEvent&&this._$emitInputEvent.cancel(),this.removeAllListeners()},e.prototype.setAutoScrollEditorIntoView=function(e){if(e){var t,l=this,n=!1;this.$scrollAnchor||(this.$scrollAnchor=document.createElement("div"));var r=this.$scrollAnchor;r.style.cssText="position:absolute",this.container.insertBefore(r,this.container.firstChild);var a=this.on("changeSelection",(function(){n=!0})),o=this.renderer.on("beforeRender",(function(){n&&(t=l.renderer.container.getBoundingClientRect())})),i=this.renderer.on("afterRender",(function(){if(n&&t&&(l.isFocused()||l.searchBox&&l.searchBox.isFocused())){var e=l.renderer,a=e.$cursorLayer.$pixelPos,o=e.layerConfig,i=a.top-o.offset;null!=(n=a.top>=0&&i+t.top<0||!(a.topwindow.innerHeight)&&null)&&(r.style.top=i+"px",r.style.left=a.left+"px",r.style.height=o.lineHeight+"px",r.scrollIntoView(n)),n=t=null}}));this.setAutoScrollEditorIntoView=function(e){e||(delete this.setAutoScrollEditorIntoView,this.off("changeSelection",a),this.renderer.off("afterRender",i),this.renderer.off("beforeRender",o))}}},e.prototype.$resetCursorStyle=function(){var e=this.$cursorStyle||"ace",t=this.renderer.$cursorLayer;t&&(t.setSmoothBlinking(/smooth/.test(e)),t.isBlinking=!this.$readOnly&&"wide"!=e,a.setCssClass(t.element,"ace_slim-cursors",/slim/.test(e)))},e.prototype.prompt=function(e,t,l){var n=this;v.loadModule("ace/ext/prompt",(function(r){r.prompt(n,e,t,l)}))},Object.defineProperty(e.prototype,"hoverTooltip",{get:function(){return this.$hoverTooltip||(this.$hoverTooltip=new O(this.container))},set:function(e){this.$hoverTooltip&&this.$hoverTooltip.destroy(),this.$hoverTooltip=e},enumerable:!1,configurable:!0}),e}();M.$uid=0,M.prototype.curOp=null,M.prototype.prevOp={},M.prototype.$mergeableCommands=["backspace","del","insertstring"],M.prototype.$toggleWordPairs=[["first","last"],["true","false"],["yes","no"],["width","height"],["top","bottom"],["right","left"],["on","off"],["x","y"],["get","set"],["max","min"],["horizontal","vertical"],["show","hide"],["add","remove"],["up","down"],["before","after"],["even","odd"],["in","out"],["inside","outside"],["next","previous"],["increase","decrease"],["attach","detach"],["&&","||"],["==","!="]],r.implement(M.prototype,m),v.defineOptions(M.prototype,"editor",{selectionStyle:{set:function(e){this.onSelectionChange(),this._signal("changeSelectionStyle",{data:e})},initialValue:"line"},highlightActiveLine:{set:function(){this.$updateHighlightActiveLine()},initialValue:!0},highlightSelectedWord:{set:function(e){this.$onSelectionChange()},initialValue:!0},readOnly:{set:function(e){var t=this;if(this.textInput.setReadOnly(e),!this.destroyed){this.$resetCursorStyle(),this.$readOnlyCallback||(this.$readOnlyCallback=function(e){var l=!1;if(e&&"keydown"==e.type){if(e&&e.key&&!e.ctrlKey&&!e.metaKey&&(" "==e.key&&e.preventDefault(),l=1==e.key.length),!l)return}else e&&"exec"!==e.type&&(l=!0);if(l){var n=a.createElement("div");n.textContent=x("editor.tooltip.disable-editing","Editing is disabled"),t.hoverTooltip.isOpen||t.hoverTooltip.showForRange(t,t.getSelectionRange(),n)}else t.hoverTooltip&&t.hoverTooltip.isOpen&&t.hoverTooltip.hide()});var l=this.textInput.getElement();e?(C.addListener(l,"keydown",this.$readOnlyCallback,this),this.commands.on("exec",this.$readOnlyCallback),this.commands.on("commandUnavailable",this.$readOnlyCallback)):(C.removeListener(l,"keydown",this.$readOnlyCallback),this.commands.off("exec",this.$readOnlyCallback),this.commands.off("commandUnavailable",this.$readOnlyCallback))}},initialValue:!1},copyWithEmptySelection:{set:function(e){this.textInput.setCopyWithEmptySelection(e)},initialValue:!1},cursorStyle:{set:function(e){this.$resetCursorStyle()},values:["ace","slim","smooth","wide"],initialValue:"ace"},mergeUndoDeltas:{values:[!1,!0,"always"],initialValue:!0},behavioursEnabled:{initialValue:!0},wrapBehavioursEnabled:{initialValue:!0},enableAutoIndent:{initialValue:!0},autoScrollEditorIntoView:{set:function(e){this.setAutoScrollEditorIntoView(e)}},keyboardHandler:{set:function(e){this.setKeyboardHandler(e)},get:function(){return this.$keybindingId},handlesSet:!0},value:{set:function(e){this.session.setValue(e)},get:function(){return this.getValue()},handlesSet:!0,hidden:!0},session:{set:function(e){this.setSession(e)},get:function(){return this.session},handlesSet:!0,hidden:!0},showLineNumbers:{set:function(e){this.renderer.$gutterLayer.setShowLineNumbers(e),this.renderer.$loop.schedule(this.renderer.CHANGE_GUTTER),e&&this.$relativeLineNumbers?_.attach(this):_.detach(this)},initialValue:!0},relativeLineNumbers:{set:function(e){this.$showLineNumbers&&e?_.attach(this):_.detach(this)}},placeholder:{set:function(e){this.$updatePlaceholder||(this.$updatePlaceholder=function(){var e=this.session&&(this.renderer.$composition||this.session.getLength()>1||this.session.getLine(0).length>0);if(e&&this.renderer.placeholderNode)this.renderer.off("afterRender",this.$updatePlaceholder),a.removeCssClass(this.container,"ace_hasPlaceholder"),this.renderer.placeholderNode.remove(),this.renderer.placeholderNode=null;else if(e||this.renderer.placeholderNode)!e&&this.renderer.placeholderNode&&(this.renderer.placeholderNode.textContent=this.$placeholder||"");else{this.renderer.on("afterRender",this.$updatePlaceholder),a.addCssClass(this.container,"ace_hasPlaceholder");var t=a.createElement("div");t.className="ace_placeholder",t.textContent=this.$placeholder||"",this.renderer.placeholderNode=t,this.renderer.content.appendChild(this.renderer.placeholderNode)}}.bind(this),this.on("input",this.$updatePlaceholder)),this.$updatePlaceholder()}},enableKeyboardAccessibility:{set:function(e){var t,l={name:"blurTextInput",description:"Set focus to the editor content div to allow tabbing through the page",bindKey:"Esc",exec:function(e){e.blur(),e.renderer.scroller.focus()},readOnly:!0},n=function(e){if(e.target==this.renderer.scroller&&e.keyCode===S.enter){e.preventDefault();var t=this.getCursorPosition().row;this.isRowVisible(t)||this.scrollToLine(t,!0,!0),this.focus()}};e?(this.renderer.enableKeyboardAccessibility=!0,this.renderer.keyboardFocusClassName="ace_keyboard-focus",this.textInput.getElement().setAttribute("tabindex",-1),this.textInput.setNumberOfExtraLines(i.isWin?3:0),this.renderer.scroller.setAttribute("tabindex",0),this.renderer.scroller.setAttribute("role","group"),this.renderer.scroller.setAttribute("aria-roledescription",x("editor.scroller.aria-roledescription","editor")),this.renderer.scroller.classList.add(this.renderer.keyboardFocusClassName),this.renderer.scroller.setAttribute("aria-label",x("editor.scroller.aria-label","Editor content, press Enter to start editing, press Escape to exit")),this.renderer.scroller.addEventListener("keyup",n.bind(this)),this.commands.addCommand(l),this.renderer.$gutter.setAttribute("tabindex",0),this.renderer.$gutter.setAttribute("aria-hidden",!1),this.renderer.$gutter.setAttribute("role","group"),this.renderer.$gutter.setAttribute("aria-roledescription",x("editor.gutter.aria-roledescription","editor gutter")),this.renderer.$gutter.setAttribute("aria-label",x("editor.gutter.aria-label","Editor gutter, press Enter to interact with controls using arrow keys, press Escape to exit")),this.renderer.$gutter.classList.add(this.renderer.keyboardFocusClassName),this.renderer.content.setAttribute("aria-hidden",!0),t||(t=new w(this)),t.addListener(),this.textInput.setAriaOptions({setLabel:!0})):(this.renderer.enableKeyboardAccessibility=!1,this.textInput.getElement().setAttribute("tabindex",0),this.textInput.setNumberOfExtraLines(0),this.renderer.scroller.setAttribute("tabindex",-1),this.renderer.scroller.removeAttribute("role"),this.renderer.scroller.removeAttribute("aria-roledescription"),this.renderer.scroller.classList.remove(this.renderer.keyboardFocusClassName),this.renderer.scroller.removeAttribute("aria-label"),this.renderer.scroller.removeEventListener("keyup",n.bind(this)),this.commands.removeCommand(l),this.renderer.content.removeAttribute("aria-hidden"),this.renderer.$gutter.setAttribute("tabindex",-1),this.renderer.$gutter.setAttribute("aria-hidden",!0),this.renderer.$gutter.removeAttribute("role"),this.renderer.$gutter.removeAttribute("aria-roledescription"),this.renderer.$gutter.removeAttribute("aria-label"),this.renderer.$gutter.classList.remove(this.renderer.keyboardFocusClassName),t&&t.removeListener())},initialValue:!1},textInputAriaLabel:{set:function(e){this.$textInputAriaLabel=e},initialValue:""},enableMobileMenu:{set:function(e){this.$enableMobileMenu=e},initialValue:!0},customScrollbar:"renderer",hScrollBarAlwaysVisible:"renderer",vScrollBarAlwaysVisible:"renderer",highlightGutterLine:"renderer",animatedScroll:"renderer",showInvisibles:"renderer",showPrintMargin:"renderer",printMarginColumn:"renderer",printMargin:"renderer",fadeFoldWidgets:"renderer",showFoldWidgets:"renderer",displayIndentGuides:"renderer",highlightIndentGuides:"renderer",showGutter:"renderer",fontSize:"renderer",fontFamily:"renderer",maxLines:"renderer",minLines:"renderer",scrollPastEnd:"renderer",fixedWidthGutter:"renderer",theme:"renderer",hasCssTransforms:"renderer",maxPixelHeight:"renderer",useTextareaForIME:"renderer",useResizeObserver:"renderer",useSvgGutterIcons:"renderer",showFoldedAnnotations:"renderer",scrollSpeed:"$mouseHandler",dragDelay:"$mouseHandler",dragEnabled:"$mouseHandler",focusTimeout:"$mouseHandler",firstLineNumber:"session",overwrite:"session",newLineMode:"session",useWorker:"session",useSoftTabs:"session",navigateWithinSoftTabs:"session",tabSize:"session",wrap:"session",indentedSoftWrap:"session",foldStyle:"session",mode:"session"});var _={getText:function(e,t){return(Math.abs(e.selection.lead.row-t)||t+1+(t<9?"\xb7":""))+""},getWidth:function(e,t,l){return Math.max(t.toString().length,(l.lastRow+1).toString().length,2)*l.characterWidth},update:function(e,t){t.renderer.$loop.schedule(t.renderer.CHANGE_GUTTER)},attach:function(e){e.renderer.$gutterLayer.$renderer=this,e.on("changeSelection",this.update),this.update(null,e)},detach:function(e){e.renderer.$gutterLayer.$renderer==this&&(e.renderer.$gutterLayer.$renderer=null),e.off("changeSelection",this.update),this.update(null,e)}};t.Editor=M})),ace.define("ace/layer/lines",["require","exports","module","ace/lib/dom"],(function(e,t,l){"use strict";var n=e("../lib/dom"),r=function(){function e(e,t){this.element=e,this.canvasHeight=t||5e5,this.element.style.height=2*this.canvasHeight+"px",this.cells=[],this.cellCache=[],this.$offsetCoefficient=0}return e.prototype.moveContainer=function(e){n.translate(this.element,0,-e.firstRowScreen*e.lineHeight%this.canvasHeight-e.offset*this.$offsetCoefficient)},e.prototype.pageChanged=function(e,t){return Math.floor(e.firstRowScreen*e.lineHeight/this.canvasHeight)!==Math.floor(t.firstRowScreen*t.lineHeight/this.canvasHeight)},e.prototype.computeLineTop=function(e,t,l){var n=t.firstRowScreen*t.lineHeight,r=Math.floor(n/this.canvasHeight);return l.documentToScreenRow(e,0)*t.lineHeight-r*this.canvasHeight},e.prototype.computeLineHeight=function(e,t,l){return t.lineHeight*l.getRowLineCount(e)},e.prototype.getLength=function(){return this.cells.length},e.prototype.get=function(e){return this.cells[e]},e.prototype.shift=function(){this.$cacheCell(this.cells.shift())},e.prototype.pop=function(){this.$cacheCell(this.cells.pop())},e.prototype.push=function(e){if(Array.isArray(e)){this.cells.push.apply(this.cells,e);for(var t=n.createFragment(this.element),l=0;la&&(s=r.end.row+1,a=(r=t.getNextFoldLine(s,r))?r.start.row:1/0),s>n){for(;this.$lines.getLength()>i+1;)this.$lines.pop();break}(o=this.$lines.get(++i))?o.row=s:(o=this.$lines.createCell(s,e,this.session,u),this.$lines.push(o)),this.$renderCell(o,e,r,s),s++}this._signal("afterRender"),this.$updateGutterWidth(e),this.$showCursorMarker&&this.$highlightGutterLine&&this.$updateCursorMarker()},e.prototype.$updateGutterWidth=function(e){var t=this.session,l=t.gutterRenderer||this.$renderer,n=t.$firstLineNumber,r=this.$lines.last()?this.$lines.last().text:"";(this.$fixedWidth||t.$useWrapMode)&&(r=t.getLength()+n-1);var a=l?l.getWidth(t,r,e):r.toString().length*e.characterWidth,o=this.$padding||this.$computePadding();(a+=o.left+o.right)===this.gutterWidth||isNaN(a)||(this.gutterWidth=a,this.element.parentNode.style.width=this.element.style.width=Math.ceil(this.gutterWidth)+"px",this._signal("changeGutterWidth",a))},e.prototype.$updateCursorRow=function(){if(this.$highlightGutterLine){var e=this.session.selection.getCursor();this.$cursorRow!==e.row&&(this.$cursorRow=e.row)}},e.prototype.updateLineHighlight=function(){if(this.$showCursorMarker&&this.$updateCursorMarker(),this.$highlightGutterLine){var e=this.session.selection.cursor.row;if(this.$cursorRow=e,!this.$cursorCell||this.$cursorCell.row!=e){this.$cursorCell&&(this.$cursorCell.element.className=this.$cursorCell.element.className.replace("ace_gutter-active-line ",""));var t=this.$lines.cells;this.$cursorCell=null;for(var l=0;l=this.$cursorRow){if(n.row>this.$cursorRow){var r=this.session.getFoldLine(this.$cursorRow);if(!(l>0&&r&&r.start.row==t[l-1].row))break;n=t[l-1]}n.element.className="ace_gutter-active-line "+n.element.className,this.$cursorCell=n;break}}}}},e.prototype.$updateCursorMarker=function(){if(this.session){var e=this.session;this.$highlightElement||(this.$highlightElement=n.createElement("div"),this.$highlightElement.className="ace_gutter-cursor",this.$highlightElement.style.pointerEvents="none",this.element.appendChild(this.$highlightElement));var t=e.selection.cursor,l=this.config,r=this.$lines,a=l.firstRowScreen*l.lineHeight,o=Math.floor(a/r.canvasHeight),i=e.documentToScreenRow(t)*l.lineHeight-o*r.canvasHeight;n.setStyle(this.$highlightElement.style,"height",l.lineHeight+"px"),n.setStyle(this.$highlightElement.style,"top",i+"px")}},e.prototype.scrollLines=function(e){var t=this.config;if(this.config=e,this.$updateCursorRow(),this.$lines.pageChanged(t,e))return this.update(e);this.$lines.moveContainer(e);var l=Math.min(e.lastRow+e.gutterOffset,this.session.getLength()-1),n=this.oldLastRow;if(this.oldLastRow=l,!t||n0;r--)this.$lines.shift();if(n>l)for(r=this.session.getFoldedRowCount(l+1,n);r>0;r--)this.$lines.pop();e.firstRown&&this.$lines.push(this.$renderLines(e,n+1,l)),this.updateLineHighlight(),this._signal("afterRender"),this.$updateGutterWidth(e)},e.prototype.$renderLines=function(e,t,l){for(var n=[],r=t,a=this.session.getNextFoldLine(r),o=a?a.start.row:1/0;r>o&&(r=a.end.row+1,o=(a=this.session.getNextFoldLine(r,a))?a.start.row:1/0),!(r>l);){var i=this.$lines.createCell(r,e,this.session,u);this.$renderCell(i,e,a,r),n.push(i),r++}return n},e.prototype.$renderCell=function(e,t,l,r){var a=e.element,o=this.session,i=a.childNodes[0],c=a.childNodes[1],u=a.childNodes[2],d=a.childNodes[3],f=u.firstChild,p=o.$firstLineNumber,h=o.$breakpoints,m=o.$decorations,g=o.gutterRenderer||this.$renderer,y=this.$showFoldWidgets&&o.foldWidgets,v=l?l.start.row:Number.MAX_VALUE,b=t.lineHeight+"px",w=this.$useSvgGutterIcons?"ace_gutter-cell_svg-icons ":"ace_gutter-cell ",x=this.$useSvgGutterIcons?"ace_icon_svg":"ace_icon",k=(g?g.getText(o,r):r+p).toString();if(this.$highlightGutterLine&&(r==this.$cursorRow||l&&r=v&&this.$cursorRow<=l.end.row)&&(w+="ace_gutter-active-line ",this.$cursorCell!=e&&(this.$cursorCell&&(this.$cursorCell.element.className=this.$cursorCell.element.className.replace("ace_gutter-active-line ","")),this.$cursorCell=e)),h[r]&&(w+=h[r]),m[r]&&(w+=m[r]),this.$annotations[r]&&r!==v&&(w+=this.$annotations[r].className),y){var S=y[r];null==S&&(S=y[r]=o.getFoldWidget(r))}if(S){var C="ace_fold-widget ace_"+S,O="start"==S&&r==v&&rt[n].row)){for(;l<=n;){var r=Math.floor((l+n)/2),a=t[r];if(a.row>e)n=r-1;else{if(!(a.rowl.right-t.right?"foldWidgets":void 0},e}();function u(e){var t=document.createTextNode("");e.appendChild(t);var l=n.createElement("span");e.appendChild(l);var r=n.createElement("span");e.appendChild(r);var a=n.createElement("span");return r.appendChild(a),e}c.prototype.$fixedWidth=!1,c.prototype.$highlightGutterLine=!0,c.prototype.$renderer=void 0,c.prototype.$showLineNumbers=!0,c.prototype.$showFoldWidgets=!0,r.implement(c.prototype,o),t.Gutter=c})),ace.define("ace/layer/marker",["require","exports","module","ace/range","ace/lib/dom"],(function(e,t,l){"use strict";var n=e("../range").Range,r=e("../lib/dom"),a=function(){function e(e){this.element=r.createElement("div"),this.element.className="ace_layer ace_marker-layer",e.appendChild(this.element)}return e.prototype.setPadding=function(e){this.$padding=e},e.prototype.setSession=function(e){this.session=e},e.prototype.setMarkers=function(e){this.markers=e},e.prototype.elt=function(e,t){var l=-1!=this.i&&this.element.childNodes[this.i];l?this.i++:(l=document.createElement("div"),this.element.appendChild(l),this.i=-1),l.style.cssText=t,l.className=e},e.prototype.update=function(e){if(e){var t;for(var l in this.config=e,this.i=0,this.markers){var n=this.markers[l];if(n.range){var r=n.range.clipRows(e.firstRow,e.lastRow);if(!r.isEmpty())if(r=r.toScreenRange(this.session),n.renderer){var a=this.$getTop(r.start.row,e),o=this.$padding+r.start.column*e.characterWidth;n.renderer(t,r,o,a,e)}else"fullLine"==n.type?this.drawFullLineMarker(t,r,n.clazz,e):"screenLine"==n.type?this.drawScreenLineMarker(t,r,n.clazz,e):r.isMultiLine()?"text"==n.type?this.drawTextMarker(t,r,n.clazz,e):this.drawMultiLineMarker(t,r,n.clazz,e):this.drawSingleLineMarker(t,r,n.clazz+" ace_start ace_br15",e)}else n.update(t,this,this.session,e)}if(-1!=this.i)for(;this.if?4:0)|(c==s?8:0)),r,c==s?0:1,a)},e.prototype.drawMultiLineMarker=function(e,t,l,n,r){var a=this.$padding,o=n.lineHeight,i=this.$getTop(t.start.row,n),s=a+t.start.column*n.characterWidth;(r=r||"",this.session.$bidiHandler.isBidiRow(t.start.row))?((c=t.clone()).end.row=c.start.row,c.end.column=this.session.getLine(c.start.row).length,this.drawBidiSingleLineMarker(e,c,l+" ace_br1 ace_start",n,null,r)):this.elt(l+" ace_br1 ace_start","height:"+o+"px;right:"+a+"px;top:"+i+"px;left:"+s+"px;"+(r||""));if(this.session.$bidiHandler.isBidiRow(t.end.row)){var c;(c=t.clone()).start.row=c.end.row,c.start.column=0,this.drawBidiSingleLineMarker(e,c,l+" ace_br12",n,null,r)}else{i=this.$getTop(t.end.row,n);var u=t.end.column*n.characterWidth;this.elt(l+" ace_br12","height:"+o+"px;width:"+u+"px;top:"+i+"px;left:"+a+"px;"+(r||""))}if(!((o=(t.end.row-t.start.row-1)*n.lineHeight)<=0)){i=this.$getTop(t.start.row+1,n);var d=(t.start.column?1:0)|(t.end.column?0:8);this.elt(l+(d?" ace_br"+d:""),"height:"+o+"px;right:"+a+"px;top:"+i+"px;left:"+a+"px;"+(r||""))}},e.prototype.drawSingleLineMarker=function(e,t,l,n,r,a){if(this.session.$bidiHandler.isBidiRow(t.start.row))return this.drawBidiSingleLineMarker(e,t,l,n,r,a);var o=n.lineHeight,i=(t.end.column+(r||0)-t.start.column)*n.characterWidth,s=this.$getTop(t.start.row,n),c=this.$padding+t.start.column*n.characterWidth;this.elt(l,"height:"+o+"px;width:"+i+"px;top:"+s+"px;left:"+c+"px;"+(a||""))},e.prototype.drawBidiSingleLineMarker=function(e,t,l,n,r,a){var o=n.lineHeight,i=this.$getTop(t.start.row,n),s=this.$padding;this.session.$bidiHandler.getSelections(t.start.column,t.end.column).forEach((function(e){this.elt(l,"height:"+o+"px;width:"+(e.width+(r||0))+"px;top:"+i+"px;left:"+(s+e.left)+"px;"+(a||""))}),this)},e.prototype.drawFullLineMarker=function(e,t,l,n,r){var a=this.$getTop(t.start.row,n),o=n.lineHeight;t.start.row!=t.end.row&&(o+=this.$getTop(t.end.row,n)-a),this.elt(l,"height:"+o+"px;top:"+a+"px;left:0;right:0;"+(r||""))},e.prototype.drawScreenLineMarker=function(e,t,l,n,r){var a=this.$getTop(t.start.row,n),o=n.lineHeight;this.elt(l,"height:"+o+"px;top:"+a+"px;left:0;right:0;"+(r||""))},e}();a.prototype.$padding=0,t.Marker=a})),ace.define("ace/layer/text_util",["require","exports","module"],(function(e,t,l){var n=new Set(["text","rparen","lparen"]);t.isTextToken=function(e){return n.has(e)}})),ace.define("ace/layer/text",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/lang","ace/layer/lines","ace/lib/event_emitter","ace/config","ace/layer/text_util"],(function(e,t,l){"use strict";var n=e("../lib/oop"),r=e("../lib/dom"),a=e("../lib/lang"),o=e("./lines").Lines,i=e("../lib/event_emitter").EventEmitter,s=e("../config").nls,c=e("./text_util").isTextToken,u=function(){function e(e){this.dom=r,this.element=this.dom.createElement("div"),this.element.className="ace_layer ace_text-layer",e.appendChild(this.element),this.$updateEolChar=this.$updateEolChar.bind(this),this.$lines=new o(this.element)}return e.prototype.$updateEolChar=function(){var e=this.session.doc,t="\n"==e.getNewLineCharacter()&&"windows"!=e.getNewLineMode()?this.EOL_CHAR_LF:this.EOL_CHAR_CRLF;if(this.EOL_CHAR!=t)return this.EOL_CHAR=t,!0},e.prototype.setPadding=function(e){this.$padding=e,this.element.style.margin="0 "+e+"px"},e.prototype.getLineHeight=function(){return this.$fontMetrics.$characterSize.height||0},e.prototype.getCharacterWidth=function(){return this.$fontMetrics.$characterSize.width||0},e.prototype.$setFontMetrics=function(e){this.$fontMetrics=e,this.$fontMetrics.on("changeCharacterSize",function(e){this._signal("changeCharacterSize",e)}.bind(this)),this.$pollSizeChanges()},e.prototype.checkForSizeChanges=function(){this.$fontMetrics.checkForSizeChanges()},e.prototype.$pollSizeChanges=function(){return this.$pollSizeChangesTimer=this.$fontMetrics.$pollSizeChanges()},e.prototype.setSession=function(e){this.session=e,e&&this.$computeTabString()},e.prototype.setShowInvisibles=function(e){return this.showInvisibles!=e&&(this.showInvisibles=e,"string"==typeof e?(this.showSpaces=/tab/i.test(e),this.showTabs=/space/i.test(e),this.showEOL=/eol/i.test(e)):this.showSpaces=this.showTabs=this.showEOL=e,this.$computeTabString(),!0)},e.prototype.setDisplayIndentGuides=function(e){return this.displayIndentGuides!=e&&(this.displayIndentGuides=e,this.$computeTabString(),!0)},e.prototype.setHighlightIndentGuides=function(e){return this.$highlightIndentGuides!==e&&(this.$highlightIndentGuides=e,e)},e.prototype.$computeTabString=function(){var e=this.session.getTabSize();this.tabSize=e;for(var t=this.$tabStrings=[0],l=1;lu&&(i=s.end.row+1,u=(s=this.session.getNextFoldLine(i,s))?s.start.row:1/0),!(i>r);){var d=a[o++];if(d){this.dom.removeChildren(d),this.$renderLine(d,i,i==u&&s),c&&(d.style.top=this.$lines.computeLineTop(i,e,this.session)+"px");var f=e.lineHeight*this.session.getRowLength(i)+"px";d.style.height!=f&&(c=!0,d.style.height=f)}i++}if(c)for(;o0;r--)this.$lines.shift();if(t.lastRow>e.lastRow)for(r=this.session.getFoldedRowCount(e.lastRow+1,t.lastRow);r>0;r--)this.$lines.pop();e.firstRowt.lastRow&&this.$lines.push(this.$renderLinesFragment(e,t.lastRow+1,e.lastRow)),this.$highlightIndentGuide()},e.prototype.$renderLinesFragment=function(e,t,l){for(var n=[],a=t,o=this.session.getNextFoldLine(a),i=o?o.start.row:1/0;a>i&&(a=o.end.row+1,i=(o=this.session.getNextFoldLine(a,o))?o.start.row:1/0),!(a>l);){var s=this.$lines.createCell(a,e,this.session),c=s.element;this.dom.removeChildren(c),r.setStyle(c.style,"height",this.$lines.computeLineHeight(a,e,this.session)+"px"),r.setStyle(c.style,"top",this.$lines.computeLineTop(a,e,this.session)+"px"),this.$renderLine(c,a,a==i&&o),this.$useLineGroups()?c.className="ace_line_group":c.className="ace_line",n.push(s),a++}return n},e.prototype.update=function(e){this.$lines.moveContainer(e),this.config=e;for(var t=e.firstRow,l=e.lastRow,n=this.$lines;n.getLength();)n.pop();n.push(this.$renderLinesFragment(e,t,l))},e.prototype.$renderToken=function(e,t,l,n){for(var r,o=/(\t)|( +)|([\x00-\x1f\x80-\xa0\xad\u1680\u180E\u2000-\u200f\u2028\u2029\u202F\u205F\uFEFF\uFFF9-\uFFFC\u2066\u2067\u2068\u202A\u202B\u202D\u202E\u202C\u2069\u2060\u2061\u2062\u2063\u2064\u206A\u206B\u206B\u206C\u206D\u206E\u206F]+)|(\u3000)|([\u1100-\u115F\u11A3-\u11A7\u11FA-\u11FF\u2329-\u232A\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFB\u3001-\u303E\u3041-\u3096\u3099-\u30FF\u3105-\u312D\u3131-\u318E\u3190-\u31BA\u31C0-\u31E3\u31F0-\u321E\u3220-\u3247\u3250-\u32FE\u3300-\u4DBF\u4E00-\uA48C\uA490-\uA4C6\uA960-\uA97C\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFAFF\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE66\uFE68-\uFE6B\uFF01-\uFF60\uFFE0-\uFFE6]|[\uD800-\uDBFF][\uDC00-\uDFFF])/g,i=this.dom.createFragment(this.element),u=0;r=o.exec(n);){var d=r[1],f=r[2],p=r[3],h=r[4],m=r[5];if(this.showSpaces||!f){var g=u!=r.index?n.slice(u,r.index):"";if(u=r.index+r[0].length,g&&i.appendChild(this.dom.createTextNode(g,this.element)),d){var y=this.session.getScreenTabSize(t+r.index),v=this.$tabStrings[y].cloneNode(!0);v.charCount=1,i.appendChild(v),t+=y-1}else if(f){if(this.showSpaces)(w=this.dom.createElement("span")).className="ace_invisible ace_invisible_space",w.textContent=a.stringRepeat(this.SPACE_CHAR,f.length),i.appendChild(w);else i.appendChild(this.dom.createTextNode(f,this.element))}else if(p){(w=this.dom.createElement("span")).className="ace_invisible ace_invisible_space ace_invalid",w.textContent=a.stringRepeat(this.SPACE_CHAR,p.length),i.appendChild(w)}else if(h){t+=1,(w=this.dom.createElement("span")).style.width=2*this.config.characterWidth+"px",w.className=this.showSpaces?"ace_cjk ace_invisible ace_invisible_space":"ace_cjk",w.textContent=this.showSpaces?this.SPACE_CHAR:h,i.appendChild(w)}else if(m){t+=1,(w=this.dom.createElement("span")).style.width=2*this.config.characterWidth+"px",w.className="ace_cjk",w.textContent=m,i.appendChild(w)}}}if(i.appendChild(this.dom.createTextNode(u?n.slice(u):n,this.element)),c(l.type))e.appendChild(i);else{var b="ace_"+l.type.replace(/\./g," ace_"),w=this.dom.createElement("span");"fold"==l.type&&(w.style.width=l.value.length*this.config.characterWidth+"px",w.setAttribute("title",s("inline-fold.closed.title","Unfold code"))),w.className=b,w.appendChild(i),e.appendChild(w)}return t+n.length},e.prototype.renderIndentGuide=function(e,t,l){var n=t.search(this.$indentGuideRe);if(n<=0||n>=l)return t;if(" "==t[0]){for(var r=(n-=n%this.tabSize)/this.tabSize,a=0;ar[a].start.row?this.$highlightIndentGuideMarker.dir=-1:this.$highlightIndentGuideMarker.dir=1;break}if(!this.$highlightIndentGuideMarker.end&&""!==e[t.row]&&t.column===e[t.row].length){this.$highlightIndentGuideMarker.dir=1;for(a=t.row+1;a0))return;l=e.element.childNodes[0]}var n=l.childNodes;if(n){var r=n[t-1];r&&r.classList&&r.classList.contains("ace_indent-guide")&&r.classList.add("ace_indent-guide-active")}}},e.prototype.$renderHighlightIndentGuide=function(){if(this.$lines){var e=this.$lines.cells;this.$clearActiveIndentGuide();var t=this.$highlightIndentGuideMarker.indentLevel;if(0!==t)if(1===this.$highlightIndentGuideMarker.dir)for(var l=0;l=this.$highlightIndentGuideMarker.start+1){if(n.row>=this.$highlightIndentGuideMarker.end)break;this.$setIndentGuideActive(n,t)}}else for(l=e.length-1;l>=0;l--){n=e[l];if(this.$highlightIndentGuideMarker.end&&n.row=o;){i=this.$renderToken(s,i,u,d.substring(0,o-n)),d=d.substring(o-n),n=o,s=this.$createLineElement(),e.appendChild(s);var f=this.dom.createTextNode(a.stringRepeat("\xa0",l.indent),this.element);f.charCount=0,s.appendChild(f),i=0,o=l[++r]||Number.MAX_VALUE}0!=d.length&&(n+=d.length,i=this.$renderToken(s,i,u,d))}}l[l.length-1]>this.MAX_LINE_LENGTH&&this.$renderOverflowMessage(s,i,null,"",!0)},e.prototype.$renderSimpleLine=function(e,t){for(var l=0,n=0;nthis.MAX_LINE_LENGTH)return this.$renderOverflowMessage(e,l,r,a);l=this.$renderToken(e,l,r,a)}}},e.prototype.$renderOverflowMessage=function(e,t,l,n,r){l&&this.$renderToken(e,t,l,n.slice(0,this.MAX_LINE_LENGTH-t));var a=this.dom.createElement("span");a.className="ace_inline_button ace_keyword ace_toggle_wrap",a.textContent=r?"":"",e.appendChild(a)},e.prototype.$renderLine=function(e,t,l){if(l||0==l||(l=this.session.getFoldLine(t)),l)var n=this.$getFoldLineTokens(t,l);else n=this.session.getTokens(t);var r=e;if(n.length){var a=this.session.getRowSplitData(t);if(a&&a.length){this.$renderWrappedLine(e,n,a);r=e.lastChild}else{r=e;this.$useLineGroups()&&(r=this.$createLineElement(),e.appendChild(r)),this.$renderSimpleLine(r,n)}}else this.$useLineGroups()&&(r=this.$createLineElement(),e.appendChild(r));if(this.showEOL&&r){l&&(t=l.end.row);var o=this.dom.createElement("span");o.className="ace_invisible ace_invisible_eol",o.textContent=t==this.session.getLength()-1?this.EOF_CHAR:this.EOL_CHAR,r.appendChild(o)}},e.prototype.$getFoldLineTokens=function(e,t){var l=this.session,n=[];var r=l.getTokens(e);return t.walk((function(e,t,a,o,i){null!=e?n.push({type:"fold",value:e}):(i&&(r=l.getTokens(t)),r.length&&function(e,t,l){for(var r=0,a=0;a+e[r].value.lengthl-t&&(o=o.substring(0,l-t)),n.push({type:e[r].type,value:o}),a=t+o.length,r+=1);al?n.push({type:e[r].type,value:o.substring(0,l-a)}):n.push(e[r]),a+=o.length,r+=1}}(r,o,a))}),t.end.row,this.session.getLine(t.end.row).length),n},e.prototype.$useLineGroups=function(){return this.session.getUseWrapMode()},e}();u.prototype.EOF_CHAR="\xb6",u.prototype.EOL_CHAR_LF="\xac",u.prototype.EOL_CHAR_CRLF="\xa4",u.prototype.EOL_CHAR=u.prototype.EOL_CHAR_LF,u.prototype.TAB_CHAR="\u2014",u.prototype.SPACE_CHAR="\xb7",u.prototype.$padding=0,u.prototype.MAX_LINE_LENGTH=1e4,u.prototype.showInvisibles=!1,u.prototype.showSpaces=!1,u.prototype.showTabs=!1,u.prototype.showEOL=!1,u.prototype.displayIndentGuides=!0,u.prototype.$highlightIndentGuides=!0,u.prototype.$tabStrings=[],u.prototype.destroy={},u.prototype.onChangeTabSize=u.prototype.$computeTabString,n.implement(u.prototype,i),t.Text=u})),ace.define("ace/layer/cursor",["require","exports","module","ace/lib/dom"],(function(e,t,l){"use strict";var n=e("../lib/dom"),r=function(){function e(e){this.element=n.createElement("div"),this.element.className="ace_layer ace_cursor-layer",e.appendChild(this.element),this.isVisible=!1,this.isBlinking=!0,this.blinkInterval=1e3,this.smoothBlinking=!1,this.cursors=[],this.cursor=this.addCursor(),n.addCssClass(this.element,"ace_hidden-cursors"),this.$updateCursors=this.$updateOpacity.bind(this)}return e.prototype.$updateOpacity=function(e){for(var t=this.cursors,l=t.length;l--;)n.setStyle(t[l].style,"opacity",e?"":"0")},e.prototype.$startCssAnimation=function(){for(var e=this.cursors,t=e.length;t--;)e[t].style.animationDuration=this.blinkInterval+"ms";this.$isAnimating=!0,setTimeout(function(){this.$isAnimating&&n.addCssClass(this.element,"ace_animate-blinking")}.bind(this))},e.prototype.$stopCssAnimation=function(){this.$isAnimating=!1,n.removeCssClass(this.element,"ace_animate-blinking")},e.prototype.setPadding=function(e){this.$padding=e},e.prototype.setSession=function(e){this.session=e},e.prototype.setBlinking=function(e){e!=this.isBlinking&&(this.isBlinking=e,this.restartTimer())},e.prototype.setBlinkInterval=function(e){e!=this.blinkInterval&&(this.blinkInterval=e,this.restartTimer())},e.prototype.setSmoothBlinking=function(e){e!=this.smoothBlinking&&(this.smoothBlinking=e,n.setCssClass(this.element,"ace_smooth-blinking",e),this.$updateCursors(!0),this.restartTimer())},e.prototype.addCursor=function(){var e=n.createElement("div");return e.className="ace_cursor",this.element.appendChild(e),this.cursors.push(e),e},e.prototype.removeCursor=function(){if(this.cursors.length>1){var e=this.cursors.pop();return e.parentNode.removeChild(e),e}},e.prototype.hideCursor=function(){this.isVisible=!1,n.addCssClass(this.element,"ace_hidden-cursors"),this.restartTimer()},e.prototype.showCursor=function(){this.isVisible=!0,n.removeCssClass(this.element,"ace_hidden-cursors"),this.restartTimer()},e.prototype.restartTimer=function(){var e=this.$updateCursors;if(clearInterval(this.intervalId),clearTimeout(this.timeoutId),this.$stopCssAnimation(),this.smoothBlinking&&(this.$isSmoothBlinking=!1,n.removeCssClass(this.element,"ace_smooth-blinking")),e(!0),this.isBlinking&&this.blinkInterval&&this.isVisible)if(this.smoothBlinking&&(this.$isSmoothBlinking=!0,setTimeout(function(){this.$isSmoothBlinking&&n.addCssClass(this.element,"ace_smooth-blinking")}.bind(this))),n.HAS_CSS_ANIMATION)this.$startCssAnimation();else{var t=function(){this.timeoutId=setTimeout((function(){e(!1)}),.6*this.blinkInterval)}.bind(this);this.intervalId=setInterval((function(){e(!0),t()}),this.blinkInterval),t()}else this.$stopCssAnimation()},e.prototype.getPixelPosition=function(e,t){if(!this.config||!this.session)return{left:0,top:0};e||(e=this.session.selection.getCursor());var l=this.session.documentToScreenPosition(e);return{left:this.$padding+(this.session.$bidiHandler.isBidiRow(l.row,e.row)?this.session.$bidiHandler.getPosLeft(l.column):l.column*this.config.characterWidth),top:(l.row-(t?this.config.firstRowScreen:0))*this.config.lineHeight}},e.prototype.isCursorInView=function(e,t){return e.top>=0&&e.tope.height+e.offset||o.top<0)&&l>1)){var i=this.cursors[r++]||this.addCursor(),s=i.style;this.drawCursor?this.drawCursor(i,o,e,t[l],this.session):this.isCursorInView(o,e)?(n.setStyle(s,"display","block"),n.translate(i,o.left,o.top),n.setStyle(s,"width",Math.round(e.characterWidth)+"px"),n.setStyle(s,"height",e.lineHeight+"px")):n.setStyle(s,"display","none")}}for(;this.cursors.length>r;)this.removeCursor();var c=this.session.getOverwrite();this.$setOverwrite(c),this.$pixelPos=o,this.restartTimer()},e.prototype.$setOverwrite=function(e){e!=this.overwrite&&(this.overwrite=e,e?n.addCssClass(this.element,"ace_overwrite-cursors"):n.removeCssClass(this.element,"ace_overwrite-cursors"))},e.prototype.destroy=function(){clearInterval(this.intervalId),clearTimeout(this.timeoutId)},e}();r.prototype.$padding=0,r.prototype.drawCursor=null,t.Cursor=r})),ace.define("ace/scrollbar",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/event","ace/lib/event_emitter"],(function(e,t,l){"use strict";var n,r=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var l in t)Object.prototype.hasOwnProperty.call(t,l)&&(e[l]=t[l])})(e,t)},function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function l(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(l.prototype=t.prototype,new l)}),a=e("./lib/oop"),o=e("./lib/dom"),i=e("./lib/event"),s=e("./lib/event_emitter").EventEmitter,c=function(){function e(e,t){this.element=o.createElement("div"),this.element.className="ace_scrollbar ace_scrollbar"+t,this.inner=o.createElement("div"),this.inner.className="ace_scrollbar-inner",this.inner.textContent="\xa0",this.element.appendChild(this.inner),e.appendChild(this.element),this.setVisible(!1),this.skipEvent=!1,i.addListener(this.element,"scroll",this.onScroll.bind(this)),i.addListener(this.element,"mousedown",i.preventDefault)}return e.prototype.setVisible=function(e){this.element.style.display=e?"":"none",this.isVisible=e,this.coeff=1},e}();a.implement(c.prototype,s);var u=function(e){function t(t,l){var n=e.call(this,t,"-v")||this;return n.scrollTop=0,n.scrollHeight=0,l.$scrollbarWidth=n.width=o.scrollbarWidth(t.ownerDocument),n.inner.style.width=n.element.style.width=(n.width||15)+5+"px",n.$minWidth=0,n}return r(t,e),t.prototype.onScroll=function(){if(!this.skipEvent){if(this.scrollTop=this.element.scrollTop,1!=this.coeff){var e=this.element.clientHeight/this.scrollHeight;this.scrollTop=this.scrollTop*(1-e)/(this.coeff-e)}this._emit("scroll",{data:this.scrollTop})}this.skipEvent=!1},t.prototype.getWidth=function(){return Math.max(this.isVisible?this.width:0,this.$minWidth||0)},t.prototype.setHeight=function(e){this.element.style.height=e+"px"},t.prototype.setScrollHeight=function(e){this.scrollHeight=e,e>32768?(this.coeff=32768/e,e=32768):1!=this.coeff&&(this.coeff=1),this.inner.style.height=e+"px"},t.prototype.setScrollTop=function(e){this.scrollTop!=e&&(this.skipEvent=!0,this.scrollTop=e,this.element.scrollTop=e*this.coeff)},t}(c);u.prototype.setInnerHeight=u.prototype.setScrollHeight;var d=function(e){function t(t,l){var n=e.call(this,t,"-h")||this;return n.scrollLeft=0,n.height=l.$scrollbarWidth,n.inner.style.height=n.element.style.height=(n.height||15)+5+"px",n}return r(t,e),t.prototype.onScroll=function(){this.skipEvent||(this.scrollLeft=this.element.scrollLeft,this._emit("scroll",{data:this.scrollLeft})),this.skipEvent=!1},t.prototype.getHeight=function(){return this.isVisible?this.height:0},t.prototype.setWidth=function(e){this.element.style.width=e+"px"},t.prototype.setInnerWidth=function(e){this.inner.style.width=e+"px"},t.prototype.setScrollWidth=function(e){this.inner.style.width=e+"px"},t.prototype.setScrollLeft=function(e){this.scrollLeft!=e&&(this.skipEvent=!0,this.scrollLeft=this.element.scrollLeft=e)},t}(c);t.ScrollBar=u,t.ScrollBarV=u,t.ScrollBarH=d,t.VScrollBar=u,t.HScrollBar=d})),ace.define("ace/scrollbar_custom",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/event","ace/lib/event_emitter"],(function(e,t,l){"use strict";var n,r=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var l in t)Object.prototype.hasOwnProperty.call(t,l)&&(e[l]=t[l])})(e,t)},function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function l(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(l.prototype=t.prototype,new l)}),a=e("./lib/oop"),o=e("./lib/dom"),i=e("./lib/event"),s=e("./lib/event_emitter").EventEmitter;o.importCssString(".ace_editor>.ace_sb-v div, .ace_editor>.ace_sb-h div{\n position: absolute;\n background: rgba(128, 128, 128, 0.6);\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n border: 1px solid #bbb;\n border-radius: 2px;\n z-index: 8;\n}\n.ace_editor>.ace_sb-v, .ace_editor>.ace_sb-h {\n position: absolute;\n z-index: 6;\n background: none;\n overflow: hidden!important;\n}\n.ace_editor>.ace_sb-v {\n z-index: 6;\n right: 0;\n top: 0;\n width: 12px;\n}\n.ace_editor>.ace_sb-v div {\n z-index: 8;\n right: 0;\n width: 100%;\n}\n.ace_editor>.ace_sb-h {\n bottom: 0;\n left: 0;\n height: 12px;\n}\n.ace_editor>.ace_sb-h div {\n bottom: 0;\n height: 100%;\n}\n.ace_editor>.ace_sb_grabbed {\n z-index: 8;\n background: #000;\n}","ace_scrollbar.css",!1);var c=function(){function e(e,t){this.element=o.createElement("div"),this.element.className="ace_sb"+t,this.inner=o.createElement("div"),this.inner.className="",this.element.appendChild(this.inner),this.VScrollWidth=12,this.HScrollHeight=12,e.appendChild(this.element),this.setVisible(!1),this.skipEvent=!1,i.addMultiMouseDownListener(this.element,[500,300,300],this,"onMouseDown")}return e.prototype.setVisible=function(e){this.element.style.display=e?"":"none",this.isVisible=e,this.coeff=1},e}();a.implement(c.prototype,s);var u=function(e){function t(t,l){var n=e.call(this,t,"-v")||this;return n.scrollTop=0,n.scrollHeight=0,n.parent=t,n.width=n.VScrollWidth,n.renderer=l,n.inner.style.width=n.element.style.width=(n.width||15)+"px",n.$minWidth=0,n}return r(t,e),t.prototype.onMouseDown=function(e,t){if("mousedown"===e&&0===i.getButton(t)&&2!==t.detail){if(t.target===this.inner){var l=this,n=t.clientY,r=t.clientY,a=this.thumbTop;i.capture(this.inner,(function(e){n=e.clientY}),(function(){clearInterval(o)}));var o=setInterval((function(){if(void 0!==n){var e=l.scrollTopFromThumbTop(a+n-r);e!==l.scrollTop&&l._emit("scroll",{data:e})}}),20);return i.preventDefault(t)}var s=t.clientY-this.element.getBoundingClientRect().top-this.thumbHeight/2;return this._emit("scroll",{data:this.scrollTopFromThumbTop(s)}),i.preventDefault(t)}},t.prototype.getHeight=function(){return this.height},t.prototype.scrollTopFromThumbTop=function(e){var t=e*(this.pageHeight-this.viewHeight)/(this.slideHeight-this.thumbHeight);return(t>>=0)<0?t=0:t>this.pageHeight-this.viewHeight&&(t=this.pageHeight-this.viewHeight),t},t.prototype.getWidth=function(){return Math.max(this.isVisible?this.width:0,this.$minWidth||0)},t.prototype.setHeight=function(e){this.height=Math.max(0,e),this.slideHeight=this.height,this.viewHeight=this.height,this.setScrollHeight(this.pageHeight,!0)},t.prototype.setScrollHeight=function(e,t){(this.pageHeight!==e||t)&&(this.pageHeight=e,this.thumbHeight=this.slideHeight*this.viewHeight/this.pageHeight,this.thumbHeight>this.slideHeight&&(this.thumbHeight=this.slideHeight),this.thumbHeight<15&&(this.thumbHeight=15),this.inner.style.height=this.thumbHeight+"px",this.scrollTop>this.pageHeight-this.viewHeight&&(this.scrollTop=this.pageHeight-this.viewHeight,this.scrollTop<0&&(this.scrollTop=0),this._emit("scroll",{data:this.scrollTop})))},t.prototype.setScrollTop=function(e){this.scrollTop=e,e<0&&(e=0),this.thumbTop=e*(this.slideHeight-this.thumbHeight)/(this.pageHeight-this.viewHeight),this.inner.style.top=this.thumbTop+"px"},t}(c);u.prototype.setInnerHeight=u.prototype.setScrollHeight;var d=function(e){function t(t,l){var n=e.call(this,t,"-h")||this;return n.scrollLeft=0,n.scrollWidth=0,n.height=n.HScrollHeight,n.inner.style.height=n.element.style.height=(n.height||12)+"px",n.renderer=l,n}return r(t,e),t.prototype.onMouseDown=function(e,t){if("mousedown"===e&&0===i.getButton(t)&&2!==t.detail){if(t.target===this.inner){var l=this,n=t.clientX,r=t.clientX,a=this.thumbLeft;i.capture(this.inner,(function(e){n=e.clientX}),(function(){clearInterval(o)}));var o=setInterval((function(){if(void 0!==n){var e=l.scrollLeftFromThumbLeft(a+n-r);e!==l.scrollLeft&&l._emit("scroll",{data:e})}}),20);return i.preventDefault(t)}var s=t.clientX-this.element.getBoundingClientRect().left-this.thumbWidth/2;return this._emit("scroll",{data:this.scrollLeftFromThumbLeft(s)}),i.preventDefault(t)}},t.prototype.getHeight=function(){return this.isVisible?this.height:0},t.prototype.scrollLeftFromThumbLeft=function(e){var t=e*(this.pageWidth-this.viewWidth)/(this.slideWidth-this.thumbWidth);return(t>>=0)<0?t=0:t>this.pageWidth-this.viewWidth&&(t=this.pageWidth-this.viewWidth),t},t.prototype.setWidth=function(e){this.width=Math.max(0,e),this.element.style.width=this.width+"px",this.slideWidth=this.width,this.viewWidth=this.width,this.setScrollWidth(this.pageWidth,!0)},t.prototype.setScrollWidth=function(e,t){(this.pageWidth!==e||t)&&(this.pageWidth=e,this.thumbWidth=this.slideWidth*this.viewWidth/this.pageWidth,this.thumbWidth>this.slideWidth&&(this.thumbWidth=this.slideWidth),this.thumbWidth<15&&(this.thumbWidth=15),this.inner.style.width=this.thumbWidth+"px",this.scrollLeft>this.pageWidth-this.viewWidth&&(this.scrollLeft=this.pageWidth-this.viewWidth,this.scrollLeft<0&&(this.scrollLeft=0),this._emit("scroll",{data:this.scrollLeft})))},t.prototype.setScrollLeft=function(e){this.scrollLeft=e,e<0&&(e=0),this.thumbLeft=e*(this.slideWidth-this.thumbWidth)/(this.pageWidth-this.viewWidth),this.inner.style.left=this.thumbLeft+"px"},t}(c);d.prototype.setInnerWidth=d.prototype.setScrollWidth,t.ScrollBar=u,t.ScrollBarV=u,t.ScrollBarH=d,t.VScrollBar=u,t.HScrollBar=d})),ace.define("ace/renderloop",["require","exports","module","ace/lib/event"],(function(e,t,l){"use strict";var n=e("./lib/event"),r=function(){function e(e,t){this.onRender=e,this.pending=!1,this.changes=0,this.$recursionLimit=2,this.window=t||window;var l=this;this._flush=function(e){l.pending=!1;var t=l.changes;if(t&&(n.blockIdle(100),l.changes=0,l.onRender(t)),l.changes){if(l.$recursionLimit--<0)return;l.schedule()}else l.$recursionLimit=2}}return e.prototype.schedule=function(e){this.changes=this.changes|e,this.changes&&!this.pending&&(n.nextFrame(this._flush),this.pending=!0)},e.prototype.clear=function(e){var t=this.changes;return this.changes=0,t},e}();t.RenderLoop=r})),ace.define("ace/layer/font_metrics",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/lang","ace/lib/event","ace/lib/useragent","ace/lib/event_emitter"],(function(e,t,l){var n=e("../lib/oop"),r=e("../lib/dom"),a=e("../lib/lang"),o=e("../lib/event"),i=e("../lib/useragent"),s=e("../lib/event_emitter").EventEmitter,c="function"==typeof ResizeObserver,u=200,d=function(){function e(e){this.el=r.createElement("div"),this.$setMeasureNodeStyles(this.el.style,!0),this.$main=r.createElement("div"),this.$setMeasureNodeStyles(this.$main.style),this.$measureNode=r.createElement("div"),this.$setMeasureNodeStyles(this.$measureNode.style),this.el.appendChild(this.$main),this.el.appendChild(this.$measureNode),e.appendChild(this.el),this.$measureNode.textContent=a.stringRepeat("X",512),this.$characterSize={width:0,height:0},c?this.$addObserver():this.checkForSizeChanges()}return e.prototype.$setMeasureNodeStyles=function(e,t){e.width=e.height="auto",e.left=e.top="0px",e.visibility="hidden",e.position="absolute",e.whiteSpace="pre",i.isIE<8?e["font-family"]="inherit":e.font="inherit",e.overflow=t?"hidden":"visible"},e.prototype.checkForSizeChanges=function(e){if(void 0===e&&(e=this.$measureSizes()),e&&(this.$characterSize.width!==e.width||this.$characterSize.height!==e.height)){this.$measureNode.style.fontWeight="bold";var t=this.$measureSizes();this.$measureNode.style.fontWeight="",this.$characterSize=e,this.charSizes=Object.create(null),this.allowBoldFonts=t&&t.width===e.width&&t.height===e.height,this._emit("changeCharacterSize",{data:e})}},e.prototype.$addObserver=function(){var e=this;this.$observer=new window.ResizeObserver((function(t){e.checkForSizeChanges()})),this.$observer.observe(this.$measureNode)},e.prototype.$pollSizeChanges=function(){if(this.$pollSizeChangesTimer||this.$observer)return this.$pollSizeChangesTimer;var e=this;return this.$pollSizeChangesTimer=o.onIdle((function t(){e.checkForSizeChanges(),o.onIdle(t,500)}),500)},e.prototype.setPolling=function(e){e?this.$pollSizeChanges():this.$pollSizeChangesTimer&&(clearInterval(this.$pollSizeChangesTimer),this.$pollSizeChangesTimer=0)},e.prototype.$measureSizes=function(e){var t={height:(e||this.$measureNode).clientHeight,width:(e||this.$measureNode).clientWidth/512};return 0===t.width||0===t.height?null:t},e.prototype.$measureCharWidth=function(e){return this.$main.textContent=a.stringRepeat(e,512),this.$main.getBoundingClientRect().width/512},e.prototype.getCharacterWidth=function(e){var t=this.charSizes[e];return void 0===t&&(t=this.charSizes[e]=this.$measureCharWidth(e)/this.$characterSize.width),t},e.prototype.destroy=function(){clearInterval(this.$pollSizeChangesTimer),this.$observer&&this.$observer.disconnect(),this.el&&this.el.parentNode&&this.el.parentNode.removeChild(this.el)},e.prototype.$getZoom=function(e){return e&&e.parentElement?(Number(window.getComputedStyle(e).zoom)||1)*this.$getZoom(e.parentElement):1},e.prototype.$initTransformMeasureNodes=function(){var e=function(e,t){return["div",{style:"position: absolute;top:"+e+"px;left:"+t+"px;"}]};this.els=r.buildDom([e(0,0),e(u,0),e(0,u),e(u,u)],this.el)},e.prototype.transformCoordinates=function(e,t){e&&(e=a(1/this.$getZoom(this.el),e));function l(e,t,l){var n=e[1]*t[0]-e[0]*t[1];return[(-t[1]*l[0]+t[0]*l[1])/n,(+e[1]*l[0]-e[0]*l[1])/n]}function n(e,t){return[e[0]-t[0],e[1]-t[1]]}function r(e,t){return[e[0]+t[0],e[1]+t[1]]}function a(e,t){return[e*t[0],e*t[1]]}function o(e){var t=e.getBoundingClientRect();return[t.left,t.top]}this.els||this.$initTransformMeasureNodes();var i=o(this.els[0]),s=o(this.els[1]),c=o(this.els[2]),d=o(this.els[3]),f=l(n(d,s),n(d,c),n(r(s,c),r(d,i))),p=a(1+f[0],n(s,i)),h=a(1+f[1],n(c,i));if(t){var m=t,g=f[0]*m[0]/u+f[1]*m[1]/u+1,y=r(a(m[0],p),a(m[1],h));return r(a(1/g/u,y),i)}var v=n(e,i),b=l(n(p,a(f[0],v)),n(h,a(f[1],v)),v);return a(u,b)},e}();d.prototype.$characterSize={width:0,height:0},n.implement(d.prototype,s),t.FontMetrics=d})),ace.define("ace/css/editor-css",["require","exports","module"],(function(e,t,l){l.exports='\n.ace_br1 {border-top-left-radius : 3px;}\n.ace_br2 {border-top-right-radius : 3px;}\n.ace_br3 {border-top-left-radius : 3px; border-top-right-radius: 3px;}\n.ace_br4 {border-bottom-right-radius: 3px;}\n.ace_br5 {border-top-left-radius : 3px; border-bottom-right-radius: 3px;}\n.ace_br6 {border-top-right-radius : 3px; border-bottom-right-radius: 3px;}\n.ace_br7 {border-top-left-radius : 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px;}\n.ace_br8 {border-bottom-left-radius : 3px;}\n.ace_br9 {border-top-left-radius : 3px; border-bottom-left-radius: 3px;}\n.ace_br10{border-top-right-radius : 3px; border-bottom-left-radius: 3px;}\n.ace_br11{border-top-left-radius : 3px; border-top-right-radius: 3px; border-bottom-left-radius: 3px;}\n.ace_br12{border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}\n.ace_br13{border-top-left-radius : 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}\n.ace_br14{border-top-right-radius : 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}\n.ace_br15{border-top-left-radius : 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}\n\n\n.ace_editor {\n position: relative;\n overflow: hidden;\n padding: 0;\n font: 12px/normal \'Monaco\', \'Menlo\', \'Ubuntu Mono\', \'Consolas\', \'Source Code Pro\', \'source-code-pro\', monospace;\n direction: ltr;\n text-align: left;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n forced-color-adjust: none;\n}\n\n.ace_scroller {\n position: absolute;\n overflow: hidden;\n top: 0;\n bottom: 0;\n background-color: inherit;\n -ms-user-select: none;\n -moz-user-select: none;\n -webkit-user-select: none;\n user-select: none;\n cursor: text;\n}\n\n.ace_content {\n position: absolute;\n box-sizing: border-box;\n min-width: 100%;\n contain: style size layout;\n font-variant-ligatures: no-common-ligatures;\n}\n.ace_invisible {\n font-variant-ligatures: none;\n}\n\n.ace_keyboard-focus:focus {\n box-shadow: inset 0 0 0 2px #5E9ED6;\n outline: none;\n}\n\n.ace_dragging .ace_scroller:before{\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n content: \'\';\n background: rgba(250, 250, 250, 0.01);\n z-index: 1000;\n}\n.ace_dragging.ace_dark .ace_scroller:before{\n background: rgba(0, 0, 0, 0.01);\n}\n\n.ace_gutter {\n position: absolute;\n overflow : hidden;\n width: auto;\n top: 0;\n bottom: 0;\n left: 0;\n cursor: default;\n z-index: 4;\n -ms-user-select: none;\n -moz-user-select: none;\n -webkit-user-select: none;\n user-select: none;\n contain: style size layout;\n}\n\n.ace_gutter-active-line {\n position: absolute;\n left: 0;\n right: 0;\n}\n\n.ace_scroller.ace_scroll-left:after {\n content: "";\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n box-shadow: 17px 0 16px -16px rgba(0, 0, 0, 0.4) inset;\n pointer-events: none;\n}\n\n.ace_gutter-cell, .ace_gutter-cell_svg-icons {\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n padding-left: 19px;\n padding-right: 6px;\n background-repeat: no-repeat;\n}\n\n.ace_gutter-cell_svg-icons .ace_gutter_annotation {\n margin-left: -14px;\n float: left;\n}\n\n.ace_gutter-cell .ace_gutter_annotation {\n margin-left: -19px;\n float: left;\n}\n\n.ace_gutter-cell.ace_error, .ace_icon.ace_error, .ace_icon.ace_error_fold, .ace_gutter-cell.ace_security, .ace_icon.ace_security, .ace_icon.ace_security_fold {\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAABOFBMVEX/////////QRswFAb/Ui4wFAYwFAYwFAaWGAfDRymzOSH/PxswFAb/SiUwFAYwFAbUPRvjQiDllog5HhHdRybsTi3/Tyv9Tir+Syj/UC3////XurebMBIwFAb/RSHbPx/gUzfdwL3kzMivKBAwFAbbvbnhPx66NhowFAYwFAaZJg8wFAaxKBDZurf/RB6mMxb/SCMwFAYwFAbxQB3+RB4wFAb/Qhy4Oh+4QifbNRcwFAYwFAYwFAb/QRzdNhgwFAYwFAbav7v/Uy7oaE68MBK5LxLewr/r2NXewLswFAaxJw4wFAbkPRy2PyYwFAaxKhLm1tMwFAazPiQwFAaUGAb/QBrfOx3bvrv/VC/maE4wFAbRPBq6MRO8Qynew8Dp2tjfwb0wFAbx6eju5+by6uns4uH9/f36+vr/GkHjAAAAYnRSTlMAGt+64rnWu/bo8eAA4InH3+DwoN7j4eLi4xP99Nfg4+b+/u9B/eDs1MD1mO7+4PHg2MXa347g7vDizMLN4eG+Pv7i5evs/v79yu7S3/DV7/498Yv24eH+4ufQ3Ozu/v7+y13sRqwAAADLSURBVHjaZc/XDsFgGIBhtDrshlitmk2IrbHFqL2pvXf/+78DPokj7+Fz9qpU/9UXJIlhmPaTaQ6QPaz0mm+5gwkgovcV6GZzd5JtCQwgsxoHOvJO15kleRLAnMgHFIESUEPmawB9ngmelTtipwwfASilxOLyiV5UVUyVAfbG0cCPHig+GBkzAENHS0AstVF6bacZIOzgLmxsHbt2OecNgJC83JERmePUYq8ARGkJx6XtFsdddBQgZE2nPR6CICZhawjA4Fb/chv+399kfR+MMMDGOQAAAABJRU5ErkJggg==");\n background-repeat: no-repeat;\n background-position: 2px center;\n}\n\n.ace_gutter-cell.ace_warning, .ace_icon.ace_warning, .ace_icon.ace_warning_fold {\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAmVBMVEX///8AAAD///8AAAAAAABPSzb/5sAAAAB/blH/73z/ulkAAAAAAAD85pkAAAAAAAACAgP/vGz/rkDerGbGrV7/pkQICAf////e0IsAAAD/oED/qTvhrnUAAAD/yHD/njcAAADuv2r/nz//oTj/p064oGf/zHAAAAA9Nir/tFIAAAD/tlTiuWf/tkIAAACynXEAAAAAAAAtIRW7zBpBAAAAM3RSTlMAABR1m7RXO8Ln31Z36zT+neXe5OzooRDfn+TZ4p3h2hTf4t3k3ucyrN1K5+Xaks52Sfs9CXgrAAAAjklEQVR42o3PbQ+CIBQFYEwboPhSYgoYunIqqLn6/z8uYdH8Vmdnu9vz4WwXgN/xTPRD2+sgOcZjsge/whXZgUaYYvT8QnuJaUrjrHUQreGczuEafQCO/SJTufTbroWsPgsllVhq3wJEk2jUSzX3CUEDJC84707djRc5MTAQxoLgupWRwW6UB5fS++NV8AbOZgnsC7BpEAAAAABJRU5ErkJggg==");\n background-repeat: no-repeat;\n background-position: 2px center;\n}\n\n.ace_gutter-cell.ace_info, .ace_icon.ace_info, .ace_gutter-cell.ace_hint, .ace_icon.ace_hint {\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAAAAAA6mKC9AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAAJ0Uk5TAAB2k804AAAAPklEQVQY02NgIB68QuO3tiLznjAwpKTgNyDbMegwisCHZUETUZV0ZqOquBpXj2rtnpSJT1AEnnRmL2OgGgAAIKkRQap2htgAAAAASUVORK5CYII=");\n background-repeat: no-repeat;\n background-position: 2px center;\n}\n\n.ace_dark .ace_gutter-cell.ace_info, .ace_dark .ace_icon.ace_info, .ace_dark .ace_gutter-cell.ace_hint, .ace_dark .ace_icon.ace_hint {\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQBAMAAADt3eJSAAAAJFBMVEUAAAChoaGAgIAqKiq+vr6tra1ZWVmUlJSbm5s8PDxubm56enrdgzg3AAAAAXRSTlMAQObYZgAAAClJREFUeNpjYMAPdsMYHegyJZFQBlsUlMFVCWUYKkAZMxZAGdxlDMQBAG+TBP4B6RyJAAAAAElFTkSuQmCC");\n}\n\n.ace_icon_svg.ace_error {\n -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyMCAxNiI+CjxnIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlPSJyZWQiIHNoYXBlLXJlbmRlcmluZz0iZ2VvbWV0cmljUHJlY2lzaW9uIj4KPGNpcmNsZSBmaWxsPSJub25lIiBjeD0iOCIgY3k9IjgiIHI9IjciIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz4KPGxpbmUgeDE9IjExIiB5MT0iNSIgeDI9IjUiIHkyPSIxMSIvPgo8bGluZSB4MT0iMTEiIHkxPSIxMSIgeDI9IjUiIHkyPSI1Ii8+CjwvZz4KPC9zdmc+");\n background-color: crimson;\n}\n.ace_icon_svg.ace_security {\n -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMjAgMTYiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgICA8ZyBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZT0iZGFya29yYW5nZSIgZmlsbD0ibm9uZSIgc2hhcGUtcmVuZGVyaW5nPSJnZW9tZXRyaWNQcmVjaXNpb24iPgogICAgICAgIDxwYXRoIGNsYXNzPSJzdHJva2UtbGluZWpvaW4tcm91bmQiIGQ9Ik04IDE0LjgzMDdDOCAxNC44MzA3IDIgMTIuOTA0NyAyIDguMDg5OTJWMy4yNjU0OEM1LjMxIDMuMjY1NDggNy45ODk5OSAxLjM0OTE4IDcuOTg5OTkgMS4zNDkxOEM3Ljk4OTk5IDEuMzQ5MTggMTAuNjkgMy4yNjU0OCAxNCAzLjI2NTQ4VjguMDg5OTJDMTQgMTIuOTA0NyA4IDE0LjgzMDcgOCAxNC44MzA3WiIvPgogICAgICAgIDxwYXRoIGQ9Ik0yIDguMDg5OTJWMy4yNjU0OEM1LjMxIDMuMjY1NDggNy45ODk5OSAxLjM0OTE4IDcuOTg5OTkgMS4zNDkxOCIvPgogICAgICAgIDxwYXRoIGQ9Ik0xMy45OSA4LjA4OTkyVjMuMjY1NDhDMTAuNjggMy4yNjU0OCA4IDEuMzQ5MTggOCAxLjM0OTE4Ii8+CiAgICAgICAgPHBhdGggY2xhc3M9InN0cm9rZS1saW5lam9pbi1yb3VuZCIgZD0iTTggNFY5Ii8+CiAgICAgICAgPHBhdGggY2xhc3M9InN0cm9rZS1saW5lam9pbi1yb3VuZCIgZD0iTTggMTBWMTIiLz4KICAgIDwvZz4KPC9zdmc+");\n background-color: crimson;\n}\n.ace_icon_svg.ace_warning {\n -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyMCAxNiI+CjxnIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlPSJkYXJrb3JhbmdlIiBzaGFwZS1yZW5kZXJpbmc9Imdlb21ldHJpY1ByZWNpc2lvbiI+Cjxwb2x5Z29uIHN0cm9rZS1saW5lam9pbj0icm91bmQiIGZpbGw9Im5vbmUiIHBvaW50cz0iOCAxIDE1IDE1IDEgMTUgOCAxIi8+CjxyZWN0IHg9IjgiIHk9IjEyIiB3aWR0aD0iMC4wMSIgaGVpZ2h0PSIwLjAxIi8+CjxsaW5lIHgxPSI4IiB5MT0iNiIgeDI9IjgiIHkyPSIxMCIvPgo8L2c+Cjwvc3ZnPg==");\n background-color: darkorange;\n}\n.ace_icon_svg.ace_info {\n -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyMCAxNiI+CjxnIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlPSJibHVlIiBzaGFwZS1yZW5kZXJpbmc9Imdlb21ldHJpY1ByZWNpc2lvbiI+CjxjaXJjbGUgZmlsbD0ibm9uZSIgY3g9IjgiIGN5PSI4IiByPSI3IiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+Cjxwb2x5bGluZSBwb2ludHM9IjggMTEgOCA4Ii8+Cjxwb2x5bGluZSBwb2ludHM9IjkgOCA2IDgiLz4KPGxpbmUgeDE9IjEwIiB5MT0iMTEiIHgyPSI2IiB5Mj0iMTEiLz4KPHJlY3QgeD0iOCIgeT0iNSIgd2lkdGg9IjAuMDEiIGhlaWdodD0iMC4wMSIvPgo8L2c+Cjwvc3ZnPg==");\n background-color: royalblue;\n}\n.ace_icon_svg.ace_hint {\n -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMjAgMTYiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgICA8ZyBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZT0ic2lsdmVyIiBmaWxsPSJub25lIiBzaGFwZS1yZW5kZXJpbmc9Imdlb21ldHJpY1ByZWNpc2lvbiI+CiAgICAgICAgPHBhdGggY2xhc3M9InN0cm9rZS1saW5lam9pbi1yb3VuZCIgZD0iTTYgMTRIMTAiLz4KICAgICAgICA8cGF0aCBkPSJNOCAxMUg5QzkgOS40NzAwMiAxMiA4LjU0MDAyIDEyIDUuNzYwMDJDMTIuMDIgNC40MDAwMiAxMS4zOSAzLjM2MDAyIDEwLjQzIDIuNjcwMDJDOSAxLjY0MDAyIDcuMDAwMDEgMS42NDAwMiA1LjU3MDAxIDIuNjcwMDJDNC42MTAwMSAzLjM2MDAyIDMuOTggNC40MDAwMiA0IDUuNzYwMDJDNCA4LjU0MDAyIDcuMDAwMDEgOS40NzAwMiA3LjAwMDAxIDExSDhaIi8+CiAgICA8L2c+Cjwvc3ZnPg==");\n background-color: silver;\n}\n\n.ace_icon_svg.ace_error_fold {\n -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyMCAxNiIgZmlsbD0ibm9uZSI+CiAgPHBhdGggZD0ibSAxOC45Mjk4NTEsNy44Mjk4MDc2IGMgMC4xNDYzNTMsNi4zMzc0NjA0IC02LjMyMzE0Nyw3Ljc3Nzg0NDQgLTcuNDc3OTEyLDcuNzc3ODQ0NCAtMi4xMDcyNzI2LC0wLjEyODc1IDUuMTE3Njc4LDAuMzU2MjQ5IDUuMDUxNjk4LC03Ljg3MDA2MTggLTAuNjA0NjcyLC04LjAwMzk3MzQ5IC03LjA3NzI3MDYsLTcuNTYzMTE4OSAtNC44NTczLC03LjQzMDM5NTU2IDEuNjA2LC0wLjExNTE0MjI1IDYuODk3NDg1LDEuMjYyNTQ1OTYgNy4yODM1MTQsNy41MjI2MTI5NiB6IiBmaWxsPSJjcmltc29uIiBzdHJva2Utd2lkdGg9IjIiLz4KICA8cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0ibSA4LjExNDc1NjIsMi4wNTI5ODI4IGMgMy4zNDkxNjk4LDAgNi4wNjQxMzI4LDIuNjc2ODYyNyA2LjA2NDEzMjgsNS45Nzg5NTMgMCwzLjMwMjExMjIgLTIuNzE0OTYzLDUuOTc4OTIwMiAtNi4wNjQxMzI4LDUuOTc4OTIwMiAtMy4zNDkxNDczLDAgLTYuMDY0MTc3MiwtMi42NzY4MDggLTYuMDY0MTc3MiwtNS45Nzg5MjAyIDAuMDA1MzksLTMuMjk5ODg2MSAyLjcxNzI2NTYsLTUuOTczNjQwOCA2LjA2NDE3NzIsLTUuOTc4OTUzIHogbSAwLC0xLjczNTgyNzE5IGMgLTQuMzIxNDgzNiwwIC03LjgyNDc0MDM4LDMuNDU0MDE4NDkgLTcuODI0NzQwMzgsNy43MTQ3ODAxOSAwLDQuMjYwNzI4MiAzLjUwMzI1Njc4LDcuNzE0NzQ1MiA3LjgyNDc0MDM4LDcuNzE0NzQ1MiA0LjMyMTQ0OTgsMCA3LjgyNDY5OTgsLTMuNDU0MDE3IDcuODI0Njk5OCwtNy43MTQ3NDUyIDAsLTIuMDQ2MDkxNCAtMC44MjQzOTIsLTQuMDA4MzY3MiAtMi4yOTE3NTYsLTUuNDU1MTc0NiBDIDEyLjE4MDIyNSwxLjEyOTk2NDggMTAuMTkwMDEzLDAuMzE3MTU1NjEgOC4xMTQ3NTYyLDAuMzE3MTU1NjEgWiBNIDYuOTM3NDU2Myw4LjI0MDU5ODUgNC42NzE4Njg1LDEwLjQ4NTg1MiA2LjAwODY4MTQsMTEuODc2NzI4IDguMzE3MDAzNSw5LjYwMDc5MTEgMTAuNjI1MzM3LDExLjg3NjcyOCAxMS45NjIxMzgsMTAuNDg1ODUyIDkuNjk2NTUwOCw4LjI0MDU5ODUgMTEuOTYyMTM4LDYuMDA2ODA2NiAxMC41NzMyNDYsNC42Mzc0MzM1IDguMzE3MDAzNSw2Ljg3MzQyOTcgNi4wNjA3NjA3LDQuNjM3NDMzNSA0LjY3MTg2ODUsNi4wMDY4MDY2IFoiIGZpbGw9ImNyaW1zb24iIHN0cm9rZS13aWR0aD0iMiIvPgo8L3N2Zz4=");\n background-color: crimson;\n}\n.ace_icon_svg.ace_security_fold {\n -webkit-mask-image: url("data:image/svg+xml;base64,CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB2aWV3Qm94PSIwIDAgMTcgMTQiIGZpbGw9Im5vbmUiPgogICAgPHBhdGggZD0iTTEwLjAwMDEgMTMuNjk5MkMxMC4wMDAxIDEzLjY5OTIgMTEuOTI0MSAxMy40NzYzIDEzIDEyLjY5OTJDMTQuNDEzOSAxMS42NzgxIDE2IDEwLjUgMTYuMTI1MSA2LjgxMTI2VjIuNTg5ODdDMTYuMTI1MSAyLjU0NzY4IDE2LjEyMjEgMi41MDYxOSAxNi4xMTY0IDIuNDY1NTlWMS43MTQ4NUgxNS4yNDE0TDE1LjIzMDcgMS43MTQ4NEwxNC42MjUxIDEuNjk5MjJWNi44MTEyM0MxNC42MjUxIDguNTEwNjEgMTQuNjI1MSA5LjQ2NDYxIDEyLjc4MjQgMTEuNzIxQzEyLjE1ODYgMTIuNDg0OCAxMC4wMDAxIDEzLjY5OTIgMTAuMDAwMSAxMy42OTkyWiIgZmlsbD0iY3JpbXNvbiIgc3Ryb2tlLXdpZHRoPSIyIi8+CiAgICA8cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTcuMzM2MDkgMC4zNjc0NzVDNy4wMzIxNCAwLjE1MjY1MiA2LjYyNTQ4IDAuMTUzNjE0IDYuMzIyNTMgMC4zNjk5OTdMNi4zMDg2OSAwLjM3OTU1NEM2LjI5NTUzIDAuMzg4NTg4IDYuMjczODggMC40MDMyNjYgNi4yNDQxNyAwLjQyMjc4OUM2LjE4NDcxIDAuNDYxODYgNi4wOTMyMSAwLjUyMDE3MSA1Ljk3MzEzIDAuNTkxMzczQzUuNzMyNTEgMC43MzQwNTkgNS4zNzk5IDAuOTI2ODY0IDQuOTQyNzkgMS4xMjAwOUM0LjA2MTQ0IDEuNTA5NyAyLjg3NTQxIDEuODgzNzcgMS41ODk4NCAxLjg4Mzc3SDAuNzE0ODQ0VjIuNzU4NzdWNi45ODAxNUMwLjcxNDg0NCA5LjQ5Mzc0IDIuMjg4NjYgMTEuMTk3MyAzLjcwMjU0IDEyLjIxODVDNC40MTg0NSAxMi43MzU1IDUuMTI4NzQgMTMuMTA1MyA1LjY1NzMzIDEzLjM0NTdDNS45MjI4NCAxMy40NjY0IDYuMTQ1NjYgMTMuNTU1OSA2LjMwNDY1IDEzLjYxNjFDNi4zODQyMyAxMy42NDYyIDYuNDQ4MDUgMTMuNjY5IDYuNDkzNDkgMTMuNjg0OEM2LjUxNjIyIDEzLjY5MjcgNi41MzQzOCAxMy42OTg5IDYuNTQ3NjQgMTMuNzAzM0w2LjU2MzgyIDEzLjcwODdMNi41NjkwOCAxMy43MTA0TDYuNTcwOTkgMTMuNzExTDYuODM5ODQgMTMuNzUzM0w2LjU3MjQyIDEzLjcxMTVDNi43NDYzMyAxMy43NjczIDYuOTMzMzUgMTMuNzY3MyA3LjEwNzI3IDEzLjcxMTVMNy4xMDg3IDEzLjcxMUw3LjExMDYxIDEzLjcxMDRMNy4xMTU4NyAxMy43MDg3TDcuMTMyMDUgMTMuNzAzM0M3LjE0NTMxIDEzLjY5ODkgNy4xNjM0NiAxMy42OTI3IDcuMTg2MTkgMTMuNjg0OEM3LjIzMTY0IDEzLjY2OSA3LjI5NTQ2IDEzLjY0NjIgNy4zNzUwMyAxMy42MTYxQzcuNTM0MDMgMTMuNTU1OSA3Ljc1Njg1IDEzLjQ2NjQgOC4wMjIzNiAxMy4zNDU3QzguNTUwOTUgMTMuMTA1MyA5LjI2MTIzIDEyLjczNTUgOS45NzcxNSAxMi4yMTg1QzExLjM5MSAxMS4xOTczIDEyLjk2NDggOS40OTM3NyAxMi45NjQ4IDYuOTgwMThWMi43NTg4QzEyLjk2NDggMi43MTY2IDEyLjk2MTkgMi42NzUxMSAxMi45NTYxIDIuNjM0NTFWMS44ODM3N0gxMi4wODExQzEyLjA3NzUgMS44ODM3NyAxMi4wNzQgMS44ODM3NyAxMi4wNzA0IDEuODgzNzdDMTAuNzk3OSAxLjg4MDA0IDkuNjE5NjIgMS41MTEwMiA4LjczODk0IDEuMTI0ODZDOC43MzUzNCAxLjEyMzI3IDguNzMxNzQgMS4xMjE2OCA4LjcyODE0IDEuMTIwMDlDOC4yOTEwMyAwLjkyNjg2NCA3LjkzODQyIDAuNzM0MDU5IDcuNjk3NzkgMC41OTEzNzNDNy41Nzc3MiAwLjUyMDE3MSA3LjQ4NjIyIDAuNDYxODYgNy40MjY3NiAwLjQyMjc4OUM3LjM5NzA1IDAuNDAzMjY2IDcuMzc1MzkgMC4zODg1ODggNy4zNjIyNCAwLjM3OTU1NEw3LjM0ODk2IDAuMzcwMzVDNy4zNDg5NiAwLjM3MDM1IDcuMzQ4NDcgMC4zNzAwMiA3LjM0NTYzIDAuMzc0MDU0TDcuMzM3NzkgMC4zNjg2NTlMNy4zMzYwOSAwLjM2NzQ3NVpNOC4wMzQ3MSAyLjcyNjkxQzguODYwNCAzLjA5MDYzIDkuOTYwNjYgMy40NjMwOSAxMS4yMDYxIDMuNTg5MDdWNi45ODAxNUgxMS4yMTQ4QzExLjIxNDggOC42Nzk1MyAxMC4xNjM3IDkuOTI1MDcgOC45NTI1NCAxMC43OTk4QzguMzU1OTUgMTEuMjMwNiA3Ljc1Mzc0IDExLjU0NTQgNy4yOTc5NiAxMS43NTI3QzcuMTE2NzEgMTEuODM1MSA2Ljk2MDYyIDExLjg5OTYgNi44Mzk4NCAxMS45NDY5QzYuNzE5MDYgMTEuODk5NiA2LjU2Mjk3IDExLjgzNTEgNi4zODE3MyAxMS43NTI3QzUuOTI1OTUgMTEuNTQ1NCA1LjMyMzczIDExLjIzMDYgNC43MjcxNSAxMC43OTk4QzMuNTE2MDMgOS45MjUwNyAyLjQ2NDg0IDguNjc5NTUgMi40NjQ4NCA2Ljk4MDE4VjMuNTg5MDlDMy43MTczOCAzLjQ2MjM5IDQuODIzMDggMy4wODYzOSA1LjY1MDMzIDIuNzIwNzFDNi4xNDIyOCAyLjUwMzI0IDYuNTQ0ODUgMi4yODUzNyA2LjgzMjU0IDIuMTE2MjRDNy4xMjE4MSAyLjI4NTM1IDcuNTI3IDIuNTAzNTIgOC4wMjE5NiAyLjcyMTMxQzguMDI2MiAyLjcyMzE3IDguMDMwNDUgMi43MjUwNCA4LjAzNDcxIDIuNzI2OTFaTTUuOTY0ODQgMy40MDE0N1Y3Ljc3NjQ3SDcuNzE0ODRWMy40MDE0N0g1Ljk2NDg0Wk01Ljk2NDg0IDEwLjQwMTVWOC42NTE0N0g3LjcxNDg0VjEwLjQwMTVINS45NjQ4NFoiIGZpbGw9ImNyaW1zb24iIHN0cm9rZS13aWR0aD0iMiIvPgo8L3N2Zz4=");\n background-color: crimson;\n}\n.ace_icon_svg.ace_warning_fold {\n -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAyMCAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0xNC43NzY5IDE0LjczMzdMOC42NTE5MiAyLjQ4MzY5QzguMzI5NDYgMS44Mzg3NyA3LjQwOTEzIDEuODM4NzcgNy4wODY2NyAyLjQ4MzY5TDAuOTYxNjY5IDE0LjczMzdDMC42NzA3NzUgMTUuMzE1NSAxLjA5MzgzIDE2IDEuNzQ0MjkgMTZIMTMuOTk0M0MxNC42NDQ4IDE2IDE1LjA2NzggMTUuMzE1NSAxNC43NzY5IDE0LjczMzdaTTMuMTYwMDcgMTQuMjVMNy44NjkyOSA0LjgzMTU2TDEyLjU3ODUgMTQuMjVIMy4xNjAwN1pNOC43NDQyOSAxMS42MjVWMTMuMzc1SDYuOTk0MjlWMTEuNjI1SDguNzQ0MjlaTTYuOTk0MjkgMTAuNzVWNy4yNUg4Ljc0NDI5VjEwLjc1SDYuOTk0MjlaIiBmaWxsPSIjRUM3MjExIi8+CjxwYXRoIGQ9Ik0xMS4xOTkxIDIuOTUyMzhDMTAuODgwOSAyLjMxNDY3IDEwLjM1MzcgMS44MDUyNiA5LjcwNTUgMS41MDlMMTEuMDQxIDEuMDY5NzhDMTEuNjg4MyAwLjk0OTgxNCAxMi4zMzcgMS4yNzI2MyAxMi42MzE3IDEuODYxNDFMMTcuNjEzNiAxMS44MTYxQzE4LjM1MjcgMTMuMjkyOSAxNy41OTM4IDE1LjA4MDQgMTYuMDE4IDE1LjU3NDVDMTYuNDA0NCAxNC40NTA3IDE2LjMyMzEgMTMuMjE4OCAxNS43OTI0IDEyLjE1NTVMMTEuMTk5MSAyLjk1MjM4WiIgZmlsbD0iI0VDNzIxMSIvPgo8L3N2Zz4=");\n background-color: darkorange;\n}\n\n.ace_scrollbar {\n contain: strict;\n position: absolute;\n right: 0;\n bottom: 0;\n z-index: 6;\n}\n\n.ace_scrollbar-inner {\n position: absolute;\n cursor: text;\n left: 0;\n top: 0;\n}\n\n.ace_scrollbar-v{\n overflow-x: hidden;\n overflow-y: scroll;\n top: 0;\n}\n\n.ace_scrollbar-h {\n overflow-x: scroll;\n overflow-y: hidden;\n left: 0;\n}\n\n.ace_print-margin {\n position: absolute;\n height: 100%;\n}\n\n.ace_text-input {\n position: absolute;\n z-index: 0;\n width: 0.5em;\n height: 1em;\n opacity: 0;\n background: transparent;\n -moz-appearance: none;\n appearance: none;\n border: none;\n resize: none;\n outline: none;\n overflow: hidden;\n font: inherit;\n padding: 0 1px;\n margin: 0 -1px;\n contain: strict;\n -ms-user-select: text;\n -moz-user-select: text;\n -webkit-user-select: text;\n user-select: text;\n /*with `pre-line` chrome inserts   instead of space*/\n white-space: pre!important;\n}\n.ace_text-input.ace_composition {\n background: transparent;\n color: inherit;\n z-index: 1000;\n opacity: 1;\n}\n.ace_composition_placeholder { color: transparent }\n.ace_composition_marker { \n border-bottom: 1px solid;\n position: absolute;\n border-radius: 0;\n margin-top: 1px;\n}\n\n[ace_nocontext=true] {\n transform: none!important;\n filter: none!important;\n clip-path: none!important;\n mask : none!important;\n contain: none!important;\n perspective: none!important;\n mix-blend-mode: initial!important;\n z-index: auto;\n}\n\n.ace_layer {\n z-index: 1;\n position: absolute;\n overflow: hidden;\n /* workaround for chrome bug https://github.com/ajaxorg/ace/issues/2312*/\n word-wrap: normal;\n white-space: pre;\n height: 100%;\n width: 100%;\n box-sizing: border-box;\n /* setting pointer-events: auto; on node under the mouse, which changes\n during scroll, will break mouse wheel scrolling in Safari */\n pointer-events: none;\n}\n\n.ace_gutter-layer {\n position: relative;\n width: auto;\n text-align: right;\n pointer-events: auto;\n height: 1000000px;\n contain: style size layout;\n}\n\n.ace_text-layer {\n font: inherit !important;\n position: absolute;\n height: 1000000px;\n width: 1000000px;\n contain: style size layout;\n}\n\n.ace_text-layer > .ace_line, .ace_text-layer > .ace_line_group {\n contain: style size layout;\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n}\n\n.ace_hidpi .ace_text-layer,\n.ace_hidpi .ace_gutter-layer,\n.ace_hidpi .ace_content,\n.ace_hidpi .ace_gutter {\n contain: strict;\n}\n.ace_hidpi .ace_text-layer > .ace_line, \n.ace_hidpi .ace_text-layer > .ace_line_group {\n contain: strict;\n}\n\n.ace_cjk {\n display: inline-block;\n text-align: center;\n}\n\n.ace_cursor-layer {\n z-index: 4;\n}\n\n.ace_cursor {\n z-index: 4;\n position: absolute;\n box-sizing: border-box;\n border-left: 2px solid;\n /* workaround for smooth cursor repaintng whole screen in chrome */\n transform: translatez(0);\n}\n\n.ace_multiselect .ace_cursor {\n border-left-width: 1px;\n}\n\n.ace_slim-cursors .ace_cursor {\n border-left-width: 1px;\n}\n\n.ace_overwrite-cursors .ace_cursor {\n border-left-width: 0;\n border-bottom: 1px solid;\n}\n\n.ace_hidden-cursors .ace_cursor {\n opacity: 0.2;\n}\n\n.ace_hasPlaceholder .ace_hidden-cursors .ace_cursor {\n opacity: 0;\n}\n\n.ace_smooth-blinking .ace_cursor {\n transition: opacity 0.18s;\n}\n\n.ace_animate-blinking .ace_cursor {\n animation-duration: 1000ms;\n animation-timing-function: step-end;\n animation-name: blink-ace-animate;\n animation-iteration-count: infinite;\n}\n\n.ace_animate-blinking.ace_smooth-blinking .ace_cursor {\n animation-duration: 1000ms;\n animation-timing-function: ease-in-out;\n animation-name: blink-ace-animate-smooth;\n}\n \n@keyframes blink-ace-animate {\n from, to { opacity: 1; }\n 60% { opacity: 0; }\n}\n\n@keyframes blink-ace-animate-smooth {\n from, to { opacity: 1; }\n 45% { opacity: 1; }\n 60% { opacity: 0; }\n 85% { opacity: 0; }\n}\n\n.ace_marker-layer .ace_step, .ace_marker-layer .ace_stack {\n position: absolute;\n z-index: 3;\n}\n\n.ace_marker-layer .ace_selection {\n position: absolute;\n z-index: 5;\n}\n\n.ace_marker-layer .ace_bracket {\n position: absolute;\n z-index: 6;\n}\n\n.ace_marker-layer .ace_error_bracket {\n position: absolute;\n border-bottom: 1px solid #DE5555;\n border-radius: 0;\n}\n\n.ace_marker-layer .ace_active-line {\n position: absolute;\n z-index: 2;\n}\n\n.ace_marker-layer .ace_selected-word {\n position: absolute;\n z-index: 4;\n box-sizing: border-box;\n}\n\n.ace_line .ace_fold {\n box-sizing: border-box;\n\n display: inline-block;\n height: 11px;\n margin-top: -2px;\n vertical-align: middle;\n\n background-image:\n url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAAJCAYAAADU6McMAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJpJREFUeNpi/P//PwOlgAXGYGRklAVSokD8GmjwY1wasKljQpYACtpCFeADcHVQfQyMQAwzwAZI3wJKvCLkfKBaMSClBlR7BOQikCFGQEErIH0VqkabiGCAqwUadAzZJRxQr/0gwiXIal8zQQPnNVTgJ1TdawL0T5gBIP1MUJNhBv2HKoQHHjqNrA4WO4zY0glyNKLT2KIfIMAAQsdgGiXvgnYAAAAASUVORK5CYII="),\n url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAA3CAYAAADNNiA5AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACJJREFUeNpi+P//fxgTAwPDBxDxD078RSX+YeEyDFMCIMAAI3INmXiwf2YAAAAASUVORK5CYII=");\n background-repeat: no-repeat, repeat-x;\n background-position: center center, top left;\n color: transparent;\n\n border: 1px solid black;\n border-radius: 2px;\n\n cursor: pointer;\n pointer-events: auto;\n}\n\n.ace_dark .ace_fold {\n}\n\n.ace_fold:hover{\n background-image:\n url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAAJCAYAAADU6McMAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJpJREFUeNpi/P//PwOlgAXGYGRklAVSokD8GmjwY1wasKljQpYACtpCFeADcHVQfQyMQAwzwAZI3wJKvCLkfKBaMSClBlR7BOQikCFGQEErIH0VqkabiGCAqwUadAzZJRxQr/0gwiXIal8zQQPnNVTgJ1TdawL0T5gBIP1MUJNhBv2HKoQHHjqNrA4WO4zY0glyNKLT2KIfIMAAQsdgGiXvgnYAAAAASUVORK5CYII="),\n url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAA3CAYAAADNNiA5AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACBJREFUeNpi+P//fz4TAwPDZxDxD5X4i5fLMEwJgAADAEPVDbjNw87ZAAAAAElFTkSuQmCC");\n}\n\n.ace_tooltip {\n background-color: #f5f5f5;\n border: 1px solid gray;\n border-radius: 1px;\n box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);\n color: black;\n padding: 3px 4px;\n position: fixed;\n z-index: 999999;\n box-sizing: border-box;\n cursor: default;\n white-space: pre-wrap;\n word-wrap: break-word;\n line-height: normal;\n font-style: normal;\n font-weight: normal;\n letter-spacing: normal;\n pointer-events: none;\n overflow: auto;\n max-width: min(33em, 66vw);\n overscroll-behavior: contain;\n}\n.ace_tooltip pre {\n white-space: pre-wrap;\n}\n\n.ace_tooltip.ace_dark {\n background-color: #636363;\n color: #fff;\n}\n\n.ace_tooltip:focus {\n outline: 1px solid #5E9ED6;\n}\n\n.ace_icon {\n display: inline-block;\n width: 18px;\n vertical-align: top;\n}\n\n.ace_icon_svg {\n display: inline-block;\n width: 12px;\n vertical-align: top;\n -webkit-mask-repeat: no-repeat;\n -webkit-mask-size: 12px;\n -webkit-mask-position: center;\n}\n\n.ace_folding-enabled > .ace_gutter-cell, .ace_folding-enabled > .ace_gutter-cell_svg-icons {\n padding-right: 13px;\n}\n\n.ace_fold-widget, .ace_custom-widget {\n box-sizing: border-box;\n\n margin: 0 -12px 0 1px;\n display: none;\n width: 11px;\n vertical-align: top;\n\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAANElEQVR42mWKsQ0AMAzC8ixLlrzQjzmBiEjp0A6WwBCSPgKAXoLkqSot7nN3yMwR7pZ32NzpKkVoDBUxKAAAAABJRU5ErkJggg==");\n background-repeat: no-repeat;\n background-position: center;\n\n border-radius: 3px;\n \n border: 1px solid transparent;\n cursor: pointer;\n pointer-events: auto;\n}\n\n.ace_custom-widget {\n background: none;\n}\n\n.ace_folding-enabled .ace_fold-widget {\n display: inline-block; \n}\n\n.ace_fold-widget.ace_end {\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAANElEQVR42m3HwQkAMAhD0YzsRchFKI7sAikeWkrxwScEB0nh5e7KTPWimZki4tYfVbX+MNl4pyZXejUO1QAAAABJRU5ErkJggg==");\n}\n\n.ace_fold-widget.ace_closed {\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAAGCAYAAAAG5SQMAAAAOUlEQVR42jXKwQkAMAgDwKwqKD4EwQ26sSOkVWjgIIHAzPiCgaqiqnJHZnKICBERHN194O5b9vbLuAVRL+l0YWnZAAAAAElFTkSuQmCCXA==");\n}\n\n.ace_fold-widget:hover {\n border: 1px solid rgba(0, 0, 0, 0.3);\n background-color: rgba(255, 255, 255, 0.2);\n box-shadow: 0 1px 1px rgba(255, 255, 255, 0.7);\n}\n\n.ace_fold-widget:active {\n border: 1px solid rgba(0, 0, 0, 0.4);\n background-color: rgba(0, 0, 0, 0.05);\n box-shadow: 0 1px 1px rgba(255, 255, 255, 0.8);\n}\n/**\n * Dark version for fold widgets\n */\n.ace_dark .ace_fold-widget {\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHklEQVQIW2P4//8/AzoGEQ7oGCaLLAhWiSwB146BAQCSTPYocqT0AAAAAElFTkSuQmCC");\n}\n.ace_dark .ace_fold-widget.ace_end {\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAH0lEQVQIW2P4//8/AxQ7wNjIAjDMgC4AxjCVKBirIAAF0kz2rlhxpAAAAABJRU5ErkJggg==");\n}\n.ace_dark .ace_fold-widget.ace_closed {\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAAFCAYAAACAcVaiAAAAHElEQVQIW2P4//+/AxAzgDADlOOAznHAKgPWAwARji8UIDTfQQAAAABJRU5ErkJggg==");\n}\n.ace_dark .ace_fold-widget:hover {\n box-shadow: 0 1px 1px rgba(255, 255, 255, 0.2);\n background-color: rgba(255, 255, 255, 0.1);\n}\n.ace_dark .ace_fold-widget:active {\n box-shadow: 0 1px 1px rgba(255, 255, 255, 0.2);\n}\n\n.ace_inline_button {\n border: 1px solid lightgray;\n display: inline-block;\n margin: -1px 8px;\n padding: 0 5px;\n pointer-events: auto;\n cursor: pointer;\n}\n.ace_inline_button:hover {\n border-color: gray;\n background: rgba(200,200,200,0.2);\n display: inline-block;\n pointer-events: auto;\n}\n\n.ace_fold-widget.ace_invalid {\n background-color: #FFB4B4;\n border-color: #DE5555;\n}\n\n.ace_fade-fold-widgets .ace_fold-widget {\n transition: opacity 0.4s ease 0.05s;\n opacity: 0;\n}\n\n.ace_fade-fold-widgets:hover .ace_fold-widget {\n transition: opacity 0.05s ease 0.05s;\n opacity:1;\n}\n\n.ace_underline {\n text-decoration: underline;\n}\n\n.ace_bold {\n font-weight: bold;\n}\n\n.ace_nobold .ace_bold {\n font-weight: normal;\n}\n\n.ace_italic {\n font-style: italic;\n}\n\n\n.ace_error-marker {\n background-color: rgba(255, 0, 0,0.2);\n position: absolute;\n z-index: 9;\n}\n\n.ace_highlight-marker {\n background-color: rgba(255, 255, 0,0.2);\n position: absolute;\n z-index: 8;\n}\n\n.ace_mobile-menu {\n position: absolute;\n line-height: 1.5;\n border-radius: 4px;\n -ms-user-select: none;\n -moz-user-select: none;\n -webkit-user-select: none;\n user-select: none;\n background: white;\n box-shadow: 1px 3px 2px grey;\n border: 1px solid #dcdcdc;\n color: black;\n}\n.ace_dark > .ace_mobile-menu {\n background: #333;\n color: #ccc;\n box-shadow: 1px 3px 2px grey;\n border: 1px solid #444;\n\n}\n.ace_mobile-button {\n padding: 2px;\n cursor: pointer;\n overflow: hidden;\n}\n.ace_mobile-button:hover {\n background-color: #eee;\n opacity:1;\n}\n.ace_mobile-button:active {\n background-color: #ddd;\n}\n\n.ace_placeholder {\n position: relative;\n font-family: arial;\n transform: scale(0.9);\n transform-origin: left;\n white-space: pre;\n opacity: 0.7;\n margin: 0 10px;\n z-index: 1;\n}\n\n.ace_ghost_text {\n opacity: 0.5;\n font-style: italic;\n}\n\n.ace_ghost_text_container > div {\n white-space: pre;\n}\n\n.ghost_text_line_wrapped::after {\n content: "\u21a9";\n position: absolute;\n}\n\n.ace_lineWidgetContainer.ace_ghost_text {\n margin: 0px 4px\n}\n\n.ace_screenreader-only {\n position:absolute;\n left:-10000px;\n top:auto;\n width:1px;\n height:1px;\n overflow:hidden;\n}\n\n.ace_hidden_token {\n display: none;\n}'})),ace.define("ace/layer/decorators",["require","exports","module","ace/lib/dom","ace/lib/oop","ace/lib/event_emitter"],(function(e,t,l){"use strict";var n=e("../lib/dom"),r=e("../lib/oop"),a=e("../lib/event_emitter").EventEmitter,o=function(){function e(e,t){this.renderer=t,this.pixelRatio=1,this.maxHeight=t.layerConfig.maxHeight,this.lineHeight=t.layerConfig.lineHeight,this.minDecorationHeight=2*this.pixelRatio|0,this.halfMinDecorationHeight=this.minDecorationHeight/2|0,this.colors={},this.colors.dark={error:"rgba(255, 18, 18, 1)",warning:"rgba(18, 136, 18, 1)",info:"rgba(18, 18, 136, 1)"},this.colors.light={error:"rgb(255,51,51)",warning:"rgb(32,133,72)",info:"rgb(35,68,138)"},this.setScrollBarV(e)}return e.prototype.$createCanvas=function(){this.canvas=n.createElement("canvas"),this.canvas.style.top="0px",this.canvas.style.right="0px",this.canvas.style.zIndex="7",this.canvas.style.position="absolute"},e.prototype.setScrollBarV=function(e){this.$createCanvas(),this.scrollbarV=e,e.element.appendChild(this.canvas),this.setDimensions()},e.prototype.$updateDecorators=function(e){if("function"===typeof this.canvas.getContext){var t=!0===this.renderer.theme.isDark?this.colors.dark:this.colors.light;this.setDimensions(e);var l=this.canvas.getContext("2d"),n=this.renderer.session.$annotations;if(l.clearRect(0,0,this.canvas.width,this.canvas.height),n){var r={info:1,warning:2,error:3};n.forEach((function(e){e.priority=r[e.type]||null})),n=n.sort((function(e,t){return e.priorityt.priority?1:0}));for(var a=0;athis.canvasHeight&&(d=this.canvasHeight-f);var p=d-f,h=d+f-p;l.fillStyle=t[n[a].type]||null,l.fillRect(0,p,Math.round(this.oneZoneWidth-1),h)}}var m=this.renderer.session.selection.getCursor();if(m){var g=Math.round(this.getVerticalOffsetForRow(m.row)*this.heightRatio);l.fillStyle="rgba(0, 0, 0, 0.5)",l.fillRect(0,g,this.canvasWidth,2)}}},e.prototype.getVerticalOffsetForRow=function(e){return e|=0,this.renderer.session.documentToScreenRow(e,0)*this.lineHeight},e.prototype.setDimensions=function(e){e=e||this.renderer.layerConfig,this.maxHeight=e.maxHeight,this.lineHeight=e.lineHeight,this.canvasHeight=e.height,this.canvasWidth=this.scrollbarV.width||this.canvasWidth,this.setZoneWidth(),this.canvas.width=this.canvasWidth,this.canvas.height=this.canvasHeight,this.maxHeighte&&(this.$changedLines.firstRow=e),this.$changedLines.lastRowthis.layerConfig.lastRow||this.$loop.schedule(this.CHANGE_LINES)},e.prototype.onChangeNewLineMode=function(){this.$loop.schedule(this.CHANGE_TEXT),this.$textLayer.$updateEolChar(),this.session.$bidiHandler.setEolChar(this.$textLayer.EOL_CHAR)},e.prototype.onChangeTabSize=function(){this.$loop.schedule(this.CHANGE_TEXT|this.CHANGE_MARKER),this.$textLayer.onChangeTabSize()},e.prototype.updateText=function(){this.$loop.schedule(this.CHANGE_TEXT)},e.prototype.updateFull=function(e){e?this.$renderChanges(this.CHANGE_FULL,!0):this.$loop.schedule(this.CHANGE_FULL)},e.prototype.updateFontSize=function(){this.$textLayer.checkForSizeChanges()},e.prototype.$updateSizeAsync=function(){this.$loop.pending?this.$size.$dirty=!0:this.onResize()},e.prototype.onResize=function(e,t,l,n){if(!(this.resizing>2)){this.resizing>0?this.resizing++:this.resizing=e?1:0;var r=this.container;n||(n=r.clientHeight||r.scrollHeight),!n&&this.$maxLines&&this.lineHeight>1&&(r.style.height&&"0px"!=r.style.height||(r.style.height="1px",n=r.clientHeight||r.scrollHeight)),l||(l=r.clientWidth||r.scrollWidth);var a=this.$updateCachedSize(e,t,l,n);if(this.$resizeTimer&&this.$resizeTimer.cancel(),!this.$size.scrollerHeight||!l&&!n)return this.resizing=0;e&&(this.$gutterLayer.$padding=null),e?this.$renderChanges(a|this.$changes,!0):this.$loop.schedule(a|this.$changes),this.resizing&&(this.resizing=0),this.scrollBarH.scrollLeft=this.scrollBarV.scrollTop=null,this.$customScrollbar&&this.$updateCustomScrollbar(!0)}},e.prototype.$updateCachedSize=function(e,t,l,n){n-=this.$extraHeight||0;var a=0,o=this.$size,i={width:o.width,height:o.height,scrollerHeight:o.scrollerHeight,scrollerWidth:o.scrollerWidth};if(n&&(e||o.height!=n)&&(o.height=n,a|=this.CHANGE_SIZE,o.scrollerHeight=o.height,this.$horizScroll&&(o.scrollerHeight-=this.scrollBarH.getHeight()),this.scrollBarV.setHeight(o.scrollerHeight),this.scrollBarV.element.style.bottom=this.scrollBarH.getHeight()+"px",a|=this.CHANGE_SCROLL),l&&(e||o.width!=l)){a|=this.CHANGE_SIZE,o.width=l,null==t&&(t=this.$showGutter?this.$gutter.offsetWidth:0),this.gutterWidth=t,r.setStyle(this.scrollBarH.element.style,"left",t+"px"),r.setStyle(this.scroller.style,"left",t+this.margin.left+"px"),o.scrollerWidth=Math.max(0,l-t-this.scrollBarV.getWidth()-this.margin.h),r.setStyle(this.$gutter.style,"left",this.margin.left+"px");var s=this.scrollBarV.getWidth()+"px";r.setStyle(this.scrollBarH.element.style,"right",s),r.setStyle(this.scroller.style,"right",s),r.setStyle(this.scroller.style,"bottom",this.scrollBarH.getHeight()),this.scrollBarH.setWidth(o.scrollerWidth),(this.session&&this.session.getUseWrapMode()&&this.adjustWrapLimit()||e)&&(a|=this.CHANGE_FULL)}return o.$dirty=!l||!n,a&&this._signal("resize",i),a},e.prototype.onGutterResize=function(e){var t=this.$showGutter?e:0;t!=this.gutterWidth&&(this.$changes|=this.$updateCachedSize(!0,t,this.$size.width,this.$size.height)),this.session.getUseWrapMode()&&this.adjustWrapLimit()||this.$size.$dirty?this.$loop.schedule(this.CHANGE_FULL):this.$computeLayerConfig()},e.prototype.adjustWrapLimit=function(){var e=this.$size.scrollerWidth-2*this.$padding,t=Math.floor(e/this.characterWidth);return this.session.adjustWrapLimit(t,this.$showPrintMargin&&this.$printMarginColumn)},e.prototype.setAnimatedScroll=function(e){this.setOption("animatedScroll",e)},e.prototype.getAnimatedScroll=function(){return this.$animatedScroll},e.prototype.setShowInvisibles=function(e){this.setOption("showInvisibles",e),this.session.$bidiHandler.setShowInvisibles(e)},e.prototype.getShowInvisibles=function(){return this.getOption("showInvisibles")},e.prototype.getDisplayIndentGuides=function(){return this.getOption("displayIndentGuides")},e.prototype.setDisplayIndentGuides=function(e){this.setOption("displayIndentGuides",e)},e.prototype.getHighlightIndentGuides=function(){return this.getOption("highlightIndentGuides")},e.prototype.setHighlightIndentGuides=function(e){this.setOption("highlightIndentGuides",e)},e.prototype.setShowPrintMargin=function(e){this.setOption("showPrintMargin",e)},e.prototype.getShowPrintMargin=function(){return this.getOption("showPrintMargin")},e.prototype.setPrintMarginColumn=function(e){this.setOption("printMarginColumn",e)},e.prototype.getPrintMarginColumn=function(){return this.getOption("printMarginColumn")},e.prototype.getShowGutter=function(){return this.getOption("showGutter")},e.prototype.setShowGutter=function(e){return this.setOption("showGutter",e)},e.prototype.getFadeFoldWidgets=function(){return this.getOption("fadeFoldWidgets")},e.prototype.setFadeFoldWidgets=function(e){this.setOption("fadeFoldWidgets",e)},e.prototype.setHighlightGutterLine=function(e){this.setOption("highlightGutterLine",e)},e.prototype.getHighlightGutterLine=function(){return this.getOption("highlightGutterLine")},e.prototype.$updatePrintMargin=function(){if(this.$showPrintMargin||this.$printMarginEl){if(!this.$printMarginEl){var e=r.createElement("div");e.className="ace_layer ace_print-margin-layer",this.$printMarginEl=r.createElement("div"),this.$printMarginEl.className="ace_print-margin",e.appendChild(this.$printMarginEl),this.content.insertBefore(e,this.content.firstChild)}var t=this.$printMarginEl.style;t.left=Math.round(this.characterWidth*this.$printMarginColumn+this.$padding)+"px",t.visibility=this.$showPrintMargin?"visible":"hidden",this.session&&-1==this.session.$wrap&&this.adjustWrapLimit()}},e.prototype.getContainerElement=function(){return this.container},e.prototype.getMouseEventTarget=function(){return this.scroller},e.prototype.getTextAreaContainer=function(){return this.container},e.prototype.$moveTextAreaToCursor=function(){if(!this.$isMousePressed){var e=this.textarea.style,t=this.$composition;if(this.$keepTextAreaAtCursor||t){var l=this.$cursorLayer.$pixelPos;if(l){t&&t.markerRange&&(l=this.$cursorLayer.getPixelPosition(t.markerRange.start,!0));var n=this.layerConfig,a=l.top,o=l.left;a-=n.offset;var i=t&&t.useTextareaForIME||w.isMobile?this.lineHeight:1;if(a<0||a>n.height-i)r.translate(this.textarea,0,0);else{var s=1,c=this.$size.height-i;if(t)if(t.useTextareaForIME){var u=this.textarea.value;s=this.characterWidth*this.session.$getStringScreenWidth(u)[0]}else a+=this.lineHeight+2;else a+=this.lineHeight;(o-=this.scrollLeft)>this.$size.scrollerWidth-s&&(o=this.$size.scrollerWidth-s),o+=this.gutterWidth+this.margin.left,r.setStyle(e,"height",i+"px"),r.setStyle(e,"width",s+"px"),r.translate(this.textarea,Math.min(o,this.$size.scrollerWidth-s),Math.min(a,c))}}}else r.translate(this.textarea,-100,0)}},e.prototype.getFirstVisibleRow=function(){return this.layerConfig.firstRow},e.prototype.getFirstFullyVisibleRow=function(){return this.layerConfig.firstRow+(0===this.layerConfig.offset?0:1)},e.prototype.getLastFullyVisibleRow=function(){var e=this.layerConfig,t=e.lastRow;return this.session.documentToScreenRow(t,0)*e.lineHeight-this.session.getScrollTop()>e.height-e.lineHeight?t-1:t},e.prototype.getLastVisibleRow=function(){return this.layerConfig.lastRow},e.prototype.setPadding=function(e){this.$padding=e,this.$textLayer.setPadding(e),this.$cursorLayer.setPadding(e),this.$markerFront.setPadding(e),this.$markerBack.setPadding(e),this.$loop.schedule(this.CHANGE_FULL),this.$updatePrintMargin()},e.prototype.setScrollMargin=function(e,t,l,n){var r=this.scrollMargin;r.top=0|e,r.bottom=0|t,r.right=0|n,r.left=0|l,r.v=r.top+r.bottom,r.h=r.left+r.right,r.top&&this.scrollTop<=0&&this.session&&this.session.setScrollTop(-r.top),this.updateFull()},e.prototype.setMargin=function(e,t,l,n){var r=this.margin;r.top=0|e,r.bottom=0|t,r.right=0|n,r.left=0|l,r.v=r.top+r.bottom,r.h=r.left+r.right,this.$updateCachedSize(!0,this.gutterWidth,this.$size.width,this.$size.height),this.updateFull()},e.prototype.getHScrollBarAlwaysVisible=function(){return this.$hScrollBarAlwaysVisible},e.prototype.setHScrollBarAlwaysVisible=function(e){this.setOption("hScrollBarAlwaysVisible",e)},e.prototype.getVScrollBarAlwaysVisible=function(){return this.$vScrollBarAlwaysVisible},e.prototype.setVScrollBarAlwaysVisible=function(e){this.setOption("vScrollBarAlwaysVisible",e)},e.prototype.$updateScrollBarV=function(){var e=this.layerConfig.maxHeight,t=this.$size.scrollerHeight;!this.$maxLines&&this.$scrollPastEnd&&(e-=(t-this.lineHeight)*this.$scrollPastEnd,this.scrollTop>e-t&&(e=this.scrollTop+t,this.scrollBarV.scrollTop=null)),this.scrollBarV.setScrollHeight(e+this.scrollMargin.v),this.scrollBarV.setScrollTop(this.scrollTop+this.scrollMargin.top)},e.prototype.$updateScrollBarH=function(){this.scrollBarH.setScrollWidth(this.layerConfig.width+2*this.$padding+this.scrollMargin.h),this.scrollBarH.setScrollLeft(this.scrollLeft+this.scrollMargin.left)},e.prototype.freeze=function(){this.$frozen=!0},e.prototype.unfreeze=function(){this.$frozen=!1},e.prototype.$renderChanges=function(e,t){if(this.$changes&&(e|=this.$changes,this.$changes=0),this.session&&this.container.offsetWidth&&!this.$frozen&&(e||t)){if(this.$size.$dirty)return this.$changes|=e,this.onResize(!0);this.lineHeight||this.$textLayer.checkForSizeChanges(),this._signal("beforeRender",e),this.session&&this.session.$bidiHandler&&this.session.$bidiHandler.updateCharacterWidths(this.$fontMetrics);var l=this.layerConfig;if(e&this.CHANGE_FULL||e&this.CHANGE_SIZE||e&this.CHANGE_TEXT||e&this.CHANGE_LINES||e&this.CHANGE_SCROLL||e&this.CHANGE_H_SCROLL){if(e|=this.$computeLayerConfig()|this.$loop.clear(),l.firstRow!=this.layerConfig.firstRow&&l.firstRowScreen==this.layerConfig.firstRowScreen){var n=this.scrollTop+(l.firstRow-Math.max(this.layerConfig.firstRow,0))*this.lineHeight;n>0&&(this.scrollTop=n,e|=this.CHANGE_SCROLL,e|=this.$computeLayerConfig()|this.$loop.clear())}l=this.layerConfig,this.$updateScrollBarV(),e&this.CHANGE_H_SCROLL&&this.$updateScrollBarH(),r.translate(this.content,-this.scrollLeft,-l.offset);var a=l.width+2*this.$padding+"px",o=l.minHeight+"px";r.setStyle(this.content.style,"width",a),r.setStyle(this.content.style,"height",o)}if(e&this.CHANGE_H_SCROLL&&(r.translate(this.content,-this.scrollLeft,-l.offset),this.scroller.className=this.scrollLeft<=0?"ace_scroller ":"ace_scroller ace_scroll-left ",this.enableKeyboardAccessibility&&(this.scroller.className+=this.keyboardFocusClassName)),e&this.CHANGE_FULL)return this.$changedLines=null,this.$textLayer.update(l),this.$showGutter&&this.$gutterLayer.update(l),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(l),this.$markerBack.update(l),this.$markerFront.update(l),this.$cursorLayer.update(l),this.$moveTextAreaToCursor(),void this._signal("afterRender",e);if(e&this.CHANGE_SCROLL)return this.$changedLines=null,e&this.CHANGE_TEXT||e&this.CHANGE_LINES?this.$textLayer.update(l):this.$textLayer.scrollLines(l),this.$showGutter&&(e&this.CHANGE_GUTTER||e&this.CHANGE_LINES?this.$gutterLayer.update(l):this.$gutterLayer.scrollLines(l)),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(l),this.$markerBack.update(l),this.$markerFront.update(l),this.$cursorLayer.update(l),this.$moveTextAreaToCursor(),void this._signal("afterRender",e);e&this.CHANGE_TEXT?(this.$changedLines=null,this.$textLayer.update(l),this.$showGutter&&this.$gutterLayer.update(l),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(l)):e&this.CHANGE_LINES?((this.$updateLines()||e&this.CHANGE_GUTTER&&this.$showGutter)&&this.$gutterLayer.update(l),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(l)):e&this.CHANGE_TEXT||e&this.CHANGE_GUTTER?(this.$showGutter&&this.$gutterLayer.update(l),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(l)):e&this.CHANGE_CURSOR&&(this.$highlightGutterLine&&this.$gutterLayer.updateLineHighlight(l),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(l)),e&this.CHANGE_CURSOR&&(this.$cursorLayer.update(l),this.$moveTextAreaToCursor()),e&(this.CHANGE_MARKER|this.CHANGE_MARKER_FRONT)&&this.$markerFront.update(l),e&(this.CHANGE_MARKER|this.CHANGE_MARKER_BACK)&&this.$markerBack.update(l),this._signal("afterRender",e)}else this.$changes|=e},e.prototype.$autosize=function(){var e=this.session.getScreenLength()*this.lineHeight,t=this.$maxLines*this.lineHeight,l=Math.min(t,Math.max((this.$minLines||1)*this.lineHeight,e))+this.scrollMargin.v+(this.$extraHeight||0);this.$horizScroll&&(l+=this.scrollBarH.getHeight()),this.$maxPixelHeight&&l>this.$maxPixelHeight&&(l=this.$maxPixelHeight);var n=!(l<=2*this.lineHeight)&&e>t;if(l!=this.desiredHeight||this.$size.height!=this.desiredHeight||n!=this.$vScroll){n!=this.$vScroll&&(this.$vScroll=n,this.scrollBarV.setVisible(n));var r=this.container.clientWidth;this.container.style.height=l+"px",this.$updateCachedSize(!0,this.$gutterWidth,r,l),this.desiredHeight=l,this._signal("autosize")}},e.prototype.$computeLayerConfig=function(){var e=this.session,t=this.$size,l=t.height<=2*this.lineHeight,n=this.session.getScreenLength()*this.lineHeight,r=this.$getLongestLine(),a=!l&&(this.$hScrollBarAlwaysVisible||t.scrollerWidth-r-2*this.$padding<0),o=this.$horizScroll!==a;o&&(this.$horizScroll=a,this.scrollBarH.setVisible(a));var i=this.$vScroll;this.$maxLines&&this.lineHeight>1&&(this.$autosize(),l=t.height<=2*this.lineHeight);var s=t.scrollerHeight+this.lineHeight,c=!this.$maxLines&&this.$scrollPastEnd?(t.scrollerHeight-this.lineHeight)*this.$scrollPastEnd:0;n+=c;var u=this.scrollMargin;this.session.setScrollTop(Math.max(-u.top,Math.min(this.scrollTop,n-t.scrollerHeight+u.bottom))),this.session.setScrollLeft(Math.max(-u.left,Math.min(this.scrollLeft,r+2*this.$padding-t.scrollerWidth+u.right)));var d=!l&&(this.$vScrollBarAlwaysVisible||t.scrollerHeight-n+c<0||this.scrollTop>u.top),f=i!==d;f&&(this.$vScroll=d,this.scrollBarV.setVisible(d));var p,h,m=this.scrollTop%this.lineHeight,g=Math.ceil(s/this.lineHeight)-1,y=Math.max(0,Math.round((this.scrollTop-m)/this.lineHeight)),v=y+g,b=this.lineHeight;y=e.screenToDocumentRow(y,0);var w=e.getFoldLine(y);w&&(y=w.start.row),p=e.documentToScreenRow(y,0),h=e.getRowLength(y)*b,v=Math.min(e.screenToDocumentRow(v,0),e.getLength()-1),s=t.scrollerHeight+e.getRowLength(v)*b+h,(m=this.scrollTop-p*b)<0&&p>0&&(p=Math.max(0,p+Math.floor(m/b)),m=this.scrollTop-p*b);var x=0;return(this.layerConfig.width!=r||o)&&(x=this.CHANGE_H_SCROLL),(o||f)&&(x|=this.$updateCachedSize(!0,this.gutterWidth,t.width,t.height),this._signal("scrollbarVisibilityChanged"),f&&(r=this.$getLongestLine())),this.layerConfig={width:r,padding:this.$padding,firstRow:y,firstRowScreen:p,lastRow:v,lineHeight:b,characterWidth:this.characterWidth,minHeight:s,maxHeight:n,offset:m,gutterOffset:b?Math.max(0,Math.ceil((m+t.height-t.scrollerHeight)/b)):0,height:this.$size.scrollerHeight},this.session.$bidiHandler&&this.session.$bidiHandler.setContentWidth(r-this.$padding),x},e.prototype.$updateLines=function(){if(this.$changedLines){var e=this.$changedLines.firstRow,t=this.$changedLines.lastRow;this.$changedLines=null;var l=this.layerConfig;if(!(e>l.lastRow+1)&&!(tthis.$textLayer.MAX_LINE_LENGTH&&(e=this.$textLayer.MAX_LINE_LENGTH+30),Math.max(this.$size.scrollerWidth-2*this.$padding,Math.round(e*this.characterWidth))},e.prototype.updateFrontMarkers=function(){this.$markerFront.setMarkers(this.session.getMarkers(!0)),this.$loop.schedule(this.CHANGE_MARKER_FRONT)},e.prototype.updateBackMarkers=function(){this.$markerBack.setMarkers(this.session.getMarkers()),this.$loop.schedule(this.CHANGE_MARKER_BACK)},e.prototype.addGutterDecoration=function(e,t){this.$gutterLayer.addGutterDecoration(e,t)},e.prototype.removeGutterDecoration=function(e,t){this.$gutterLayer.removeGutterDecoration(e,t)},e.prototype.updateBreakpoints=function(e){this._rows=e,this.$loop.schedule(this.CHANGE_GUTTER)},e.prototype.setAnnotations=function(e){this.$gutterLayer.setAnnotations(e),this.$loop.schedule(this.CHANGE_GUTTER)},e.prototype.updateCursor=function(){this.$loop.schedule(this.CHANGE_CURSOR)},e.prototype.hideCursor=function(){this.$cursorLayer.hideCursor()},e.prototype.showCursor=function(){this.$cursorLayer.showCursor()},e.prototype.scrollSelectionIntoView=function(e,t,l){this.scrollCursorIntoView(e,l),this.scrollCursorIntoView(t,l)},e.prototype.scrollCursorIntoView=function(e,t,l){if(0!==this.$size.scrollerHeight){var n=this.$cursorLayer.getPixelPosition(e),r=n.left,a=n.top,o=l&&l.top||0,i=l&&l.bottom||0;this.$scrollAnimation&&(this.$stopAnimation=!0);var s=this.$scrollAnimation?this.session.getScrollTop():this.scrollTop;s+o>a?(t&&s+o>a+this.lineHeight&&(a-=t*this.$size.scrollerHeight),0===a&&(a=-this.scrollMargin.top),this.session.setScrollTop(a)):s+this.$size.scrollerHeight-i=1-this.scrollMargin.top||(t>0&&this.session.getScrollTop()+this.$size.scrollerHeight-this.layerConfig.maxHeight<-1+this.scrollMargin.bottom||(e<0&&this.session.getScrollLeft()>=1-this.scrollMargin.left||(e>0&&this.session.getScrollLeft()+this.$size.scrollerWidth-this.layerConfig.width<-1+this.scrollMargin.right||void 0)))},e.prototype.pixelToScreenCoordinates=function(e,t){var l;if(this.$hasCssTransforms){l={top:0,left:0};var n=this.$fontMetrics.transformCoordinates([e,t]);e=n[1]-this.gutterWidth-this.margin.left,t=n[0]}else l=this.scroller.getBoundingClientRect();var r=e+this.scrollLeft-l.left-this.$padding,a=r/this.characterWidth,o=Math.floor((t+this.scrollTop-l.top)/this.lineHeight),i=this.$blockCursor?Math.floor(a):Math.round(a);return{row:o,column:i,side:a-i>0?1:-1,offsetX:r}},e.prototype.screenToTextCoordinates=function(e,t){var l;if(this.$hasCssTransforms){l={top:0,left:0};var n=this.$fontMetrics.transformCoordinates([e,t]);e=n[1]-this.gutterWidth-this.margin.left,t=n[0]}else l=this.scroller.getBoundingClientRect();var r=e+this.scrollLeft-l.left-this.$padding,a=r/this.characterWidth,o=this.$blockCursor?Math.floor(a):Math.round(a),i=Math.floor((t+this.scrollTop-l.top)/this.lineHeight);return this.session.screenToDocumentPosition(i,Math.max(o,0),r)},e.prototype.textToScreenCoordinates=function(e,t){var l=this.scroller.getBoundingClientRect(),n=this.session.documentToScreenPosition(e,t),r=this.$padding+(this.session.$bidiHandler.isBidiRow(n.row,e)?this.session.$bidiHandler.getPosLeft(n.column):Math.round(n.column*this.characterWidth)),a=n.row*this.lineHeight;return{pageX:l.left+r-this.scrollLeft,pageY:l.top+a-this.scrollTop}},e.prototype.visualizeFocus=function(){r.addCssClass(this.container,"ace_focus")},e.prototype.visualizeBlur=function(){r.removeCssClass(this.container,"ace_focus")},e.prototype.showComposition=function(e){this.$composition=e,e.cssText||(e.cssText=this.textarea.style.cssText),void 0==e.useTextareaForIME&&(e.useTextareaForIME=this.$useTextareaForIME),this.$useTextareaForIME?(r.addCssClass(this.textarea,"ace_composition"),this.textarea.style.cssText="",this.$moveTextAreaToCursor(),this.$cursorLayer.element.style.display="none"):e.markerId=this.session.addMarker(e.markerRange,"ace_composition_marker","text")},e.prototype.setCompositionText=function(e){var t=this.session.selection.cursor;this.addToken(e,"composition_placeholder",t.row,t.column),this.$moveTextAreaToCursor()},e.prototype.hideComposition=function(){if(this.$composition){this.$composition.markerId&&this.session.removeMarker(this.$composition.markerId),r.removeCssClass(this.textarea,"ace_composition"),this.textarea.style.cssText=this.$composition.cssText;var e=this.session.selection.cursor;this.removeExtraToken(e.row,e.column),this.$composition=null,this.$cursorLayer.element.style.display=""}},e.prototype.setGhostText=function(e,t){var l=this.session.selection.cursor,n=t||{row:l.row,column:l.column};this.removeGhostText();var a=this.$calculateWrappedTextChunks(e,n);this.addToken(a[0].text,"ghost_text",n.row,n.column),this.$ghostText={text:e,position:{row:n.row,column:n.column}};var o=r.createElement("div");if(a.length>1){var i,s=this.hideTokensAfterPosition(n.row,n.column);a.slice(1).forEach((function(e){var t=r.createElement("div"),l=r.createElement("span");l.className="ace_ghost_text",e.wrapped&&(t.className="ghost_text_line_wrapped"),0===e.text.length&&(e.text=" "),l.appendChild(r.createTextNode(e.text)),t.appendChild(l),o.appendChild(t),i=t})),s.forEach((function(e){var t=r.createElement("span");x(e.type)||(t.className="ace_"+e.type.replace(/\./g," ace_")),t.appendChild(r.createTextNode(e.value)),i.appendChild(t)})),this.$ghostTextWidget={el:o,row:n.row,column:n.column,className:"ace_ghost_text_container"},this.session.widgetManager.addLineWidget(this.$ghostTextWidget);var c=this.$cursorLayer.getPixelPosition(n,!0),u=this.container.getBoundingClientRect().height,d=a.length*this.lineHeight;if(d0){var c=0;s.push(r[o].length);for(var u=0;u1||Math.abs(e.$size.height-n)>1?e.$resizeTimer.delay():e.$resizeTimer.cancel()})),this.$resizeObserver.observe(this.container)}},e}();k.prototype.CHANGE_CURSOR=1,k.prototype.CHANGE_MARKER=2,k.prototype.CHANGE_GUTTER=4,k.prototype.CHANGE_SCROLL=8,k.prototype.CHANGE_LINES=16,k.prototype.CHANGE_TEXT=32,k.prototype.CHANGE_SIZE=64,k.prototype.CHANGE_MARKER_BACK=128,k.prototype.CHANGE_MARKER_FRONT=256,k.prototype.CHANGE_FULL=512,k.prototype.CHANGE_H_SCROLL=1024,k.prototype.$changes=0,k.prototype.$padding=null,k.prototype.$frozen=!1,k.prototype.STEPS=8,n.implement(k.prototype,y),o.defineOptions(k.prototype,"renderer",{useResizeObserver:{set:function(e){!e&&this.$resizeObserver?(this.$resizeObserver.disconnect(),this.$resizeTimer.cancel(),this.$resizeTimer=this.$resizeObserver=null):e&&!this.$resizeObserver&&this.$addResizeObserver()}},animatedScroll:{initialValue:!1},showInvisibles:{set:function(e){this.$textLayer.setShowInvisibles(e)&&this.$loop.schedule(this.CHANGE_TEXT)},initialValue:!1},showPrintMargin:{set:function(){this.$updatePrintMargin()},initialValue:!0},printMarginColumn:{set:function(){this.$updatePrintMargin()},initialValue:80},printMargin:{set:function(e){"number"==typeof e&&(this.$printMarginColumn=e),this.$showPrintMargin=!!e,this.$updatePrintMargin()},get:function(){return this.$showPrintMargin&&this.$printMarginColumn}},showGutter:{set:function(e){this.$gutter.style.display=e?"block":"none",this.$loop.schedule(this.CHANGE_FULL),this.onGutterResize()},initialValue:!0},useSvgGutterIcons:{set:function(e){this.$gutterLayer.$useSvgGutterIcons=e},initialValue:!1},showFoldedAnnotations:{set:function(e){this.$gutterLayer.$showFoldedAnnotations=e},initialValue:!1},fadeFoldWidgets:{set:function(e){r.setCssClass(this.$gutter,"ace_fade-fold-widgets",e)},initialValue:!1},showFoldWidgets:{set:function(e){this.$gutterLayer.setShowFoldWidgets(e),this.$loop.schedule(this.CHANGE_GUTTER)},initialValue:!0},displayIndentGuides:{set:function(e){this.$textLayer.setDisplayIndentGuides(e)&&this.$loop.schedule(this.CHANGE_TEXT)},initialValue:!0},highlightIndentGuides:{set:function(e){1==this.$textLayer.setHighlightIndentGuides(e)?this.$textLayer.$highlightIndentGuide():this.$textLayer.$clearActiveIndentGuide(this.$textLayer.$lines.cells)},initialValue:!0},highlightGutterLine:{set:function(e){this.$gutterLayer.setHighlightGutterLine(e),this.$loop.schedule(this.CHANGE_GUTTER)},initialValue:!0},hScrollBarAlwaysVisible:{set:function(e){this.$hScrollBarAlwaysVisible&&this.$horizScroll||this.$loop.schedule(this.CHANGE_SCROLL)},initialValue:!1},vScrollBarAlwaysVisible:{set:function(e){this.$vScrollBarAlwaysVisible&&this.$vScroll||this.$loop.schedule(this.CHANGE_SCROLL)},initialValue:!1},fontSize:{set:function(e){"number"==typeof e&&(e+="px"),this.container.style.fontSize=e,this.updateFontSize()},initialValue:12},fontFamily:{set:function(e){this.container.style.fontFamily=e,this.updateFontSize()}},maxLines:{set:function(e){this.updateFull()}},minLines:{set:function(e){this.$minLines<562949953421311||(this.$minLines=0),this.updateFull()}},maxPixelHeight:{set:function(e){this.updateFull()},initialValue:0},scrollPastEnd:{set:function(e){e=+e||0,this.$scrollPastEnd!=e&&(this.$scrollPastEnd=e,this.$loop.schedule(this.CHANGE_SCROLL))},initialValue:0,handlesSet:!0},fixedWidthGutter:{set:function(e){this.$gutterLayer.$fixedWidth=!!e,this.$loop.schedule(this.CHANGE_GUTTER)}},customScrollbar:{set:function(e){this.$updateCustomScrollbar(e)},initialValue:!1},theme:{set:function(e){this.setTheme(e)},get:function(){return this.$themeId||this.theme},initialValue:"./theme/textmate",handlesSet:!0},hasCssTransforms:{},useTextareaForIME:{initialValue:!w.isMobile&&!w.isIE}}),t.VirtualRenderer=k})),ace.define("ace/worker/worker_client",["require","exports","module","ace/lib/oop","ace/lib/net","ace/lib/event_emitter","ace/config"],(function(e,t,l){"use strict";var n=e("../lib/oop"),r=e("../lib/net"),a=e("../lib/event_emitter").EventEmitter,o=e("../config");function i(e){if("undefined"==typeof Worker)return{postMessage:function(){},terminate:function(){}};if(o.get("loadWorkerFromBlob")){var t=function(e){var t="importScripts('"+r.qualifyURL(e)+"');";try{return new Blob([t],{type:"application/javascript"})}catch(e){var l=new(window.BlobBuilder||window.WebKitBlobBuilder||window.MozBlobBuilder);return l.append(t),l.getBlob("application/javascript")}}(e),l=(window.URL||window.webkitURL).createObjectURL(t);return new Worker(l)}return new Worker(e)}var s=function(e){e.postMessage||(e=this.$createWorkerFromOldConfig.apply(this,arguments)),this.$worker=e,this.$sendDeltaQueue=this.$sendDeltaQueue.bind(this),this.changeListener=this.changeListener.bind(this),this.onMessage=this.onMessage.bind(this),this.callbackId=1,this.callbacks={},this.$worker.onmessage=this.onMessage};(function(){n.implement(this,a),this.$createWorkerFromOldConfig=function(t,l,n,r,a){if(e.nameToUrl&&!e.toUrl&&(e.toUrl=e.nameToUrl),o.get("packaged")||!e.toUrl)r=r||o.moduleUrl(l,"worker");else{var s=this.$normalizePath;r=r||s(e.toUrl("ace/worker/worker.js",null,"_"));var c={};t.forEach((function(t){c[t]=s(e.toUrl(t,null,"_").replace(/(\.js)?(\?.*)?$/,""))}))}return this.$worker=i(r),a&&this.send("importScripts",a),this.$worker.postMessage({init:!0,tlns:c,module:l,classname:n}),this.$worker},this.onMessage=function(e){var t=e.data;switch(t.type){case"event":this._signal(t.name,{data:t.data});break;case"call":var l=this.callbacks[t.id];l&&(l(t.data),delete this.callbacks[t.id]);break;case"error":this.reportError(t.data);break;case"log":window.console&&console.log&&console.log.apply(console,t.data)}},this.reportError=function(e){window.console&&console.error&&console.error(e)},this.$normalizePath=function(e){return r.qualifyURL(e)},this.terminate=function(){this._signal("terminate",{}),this.deltaQueue=null,this.$worker.terminate(),this.$worker.onerror=function(e){e.preventDefault()},this.$worker=null,this.$doc&&this.$doc.off("change",this.changeListener),this.$doc=null},this.send=function(e,t){this.$worker.postMessage({command:e,args:t})},this.call=function(e,t,l){if(l){var n=this.callbackId++;this.callbacks[n]=l,t.push(n)}this.send(e,t)},this.emit=function(e,t){try{t.data&&t.data.err&&(t.data.err={message:t.data.err.message,stack:t.data.err.stack,code:t.data.err.code}),this.$worker&&this.$worker.postMessage({event:e,data:{data:t.data}})}catch(e){console.error(e.stack)}},this.attachToDocument=function(e){this.$doc&&this.terminate(),this.$doc=e,this.call("setValue",[e.getValue()]),e.on("change",this.changeListener,!0)},this.changeListener=function(e){this.deltaQueue||(this.deltaQueue=[],setTimeout(this.$sendDeltaQueue,0)),"insert"==e.action?this.deltaQueue.push(e.start,e.lines):this.deltaQueue.push(e.start,e.end)},this.$sendDeltaQueue=function(){var e=this.deltaQueue;e&&(this.deltaQueue=null,e.length>50&&e.length>this.$doc.getLength()>>1?this.call("setValue",[this.$doc.getValue()]):this.emit("change",{data:e}))}}).call(s.prototype);t.UIWorkerClient=function(e,t,l){var n=null,r=!1,i=Object.create(a),c=[],u=new s({messageBuffer:c,terminate:function(){},postMessage:function(e){c.push(e),n&&(r?setTimeout(d):d())}});u.setEmitSync=function(e){r=e};var d=function(){var e=c.shift();e.command?n[e.command].apply(n,e.args):e.event&&i._signal(e.event,e.data)};return i.postMessage=function(e){u.onMessage({data:e})},i.callback=function(e,t){this.postMessage({type:"call",id:t,data:e})},i.emit=function(e,t){this.postMessage({type:"event",name:e,data:t})},o.loadModule(["worker",t],(function(e){for(n=new e[l](i);c.length;)d()})),u},t.WorkerClient=s,t.createWorker=i})),ace.define("ace/placeholder",["require","exports","module","ace/range","ace/lib/event_emitter","ace/lib/oop"],(function(e,t,l){"use strict";var n=e("./range").Range,r=e("./lib/event_emitter").EventEmitter,a=e("./lib/oop"),o=function(){function e(e,t,l,n,r,a){var o=this;this.length=t,this.session=e,this.doc=e.getDocument(),this.mainClass=r,this.othersClass=a,this.$onUpdate=this.onUpdate.bind(this),this.doc.on("change",this.$onUpdate,!0),this.$others=n,this.$onCursorChange=function(){setTimeout((function(){o.onCursorChange()}))},this.$pos=l;var i=e.getUndoManager().$undoStack||e.getUndoManager().$undostack||{length:-1};this.$undoStackDepth=i.length,this.setup(),e.selection.on("changeCursor",this.$onCursorChange)}return e.prototype.setup=function(){var e=this,t=this.doc,l=this.session;this.selectionBefore=l.selection.toJSON(),l.selection.inMultiSelectMode&&l.selection.toSingleRange(),this.pos=t.createAnchor(this.$pos.row,this.$pos.column);var r=this.pos;r.$insertRight=!0,r.detach(),r.markerId=l.addMarker(new n(r.row,r.column,r.row,r.column+this.length),this.mainClass,null,!1),this.others=[],this.$others.forEach((function(l){var n=t.createAnchor(l.row,l.column);n.$insertRight=!0,n.detach(),e.others.push(n)})),l.setUndoSelect(!1)},e.prototype.showOtherMarkers=function(){if(!this.othersActive){var e=this.session,t=this;this.othersActive=!0,this.others.forEach((function(l){l.markerId=e.addMarker(new n(l.row,l.column,l.row,l.column+t.length),t.othersClass,null,!1)}))}},e.prototype.hideOtherMarkers=function(){if(this.othersActive){this.othersActive=!1;for(var e=0;e=this.pos.column&&t.start.column<=this.pos.column+this.length+1,a=t.start.column-this.pos.column;if(this.updateAnchors(e),r&&(this.length+=l),r&&!this.session.$fromUndo)if("insert"===e.action)for(var o=this.others.length-1;o>=0;o--){var i={row:(s=this.others[o]).row,column:s.column+a};this.doc.insertMergedLines(i,e.lines)}else if("remove"===e.action)for(o=this.others.length-1;o>=0;o--){var s;i={row:(s=this.others[o]).row,column:s.column+a};this.doc.remove(new n(i.row,i.column,i.row,i.column-l))}this.$updating=!1,this.updateMarkers()}},e.prototype.updateAnchors=function(e){this.pos.onChange(e);for(var t=this.others.length;t--;)this.others[t].onChange(e);this.updateMarkers()},e.prototype.updateMarkers=function(){if(!this.$updating){var e=this,t=this.session,l=function(l,r){t.removeMarker(l.markerId),l.markerId=t.addMarker(new n(l.row,l.column,l.row,l.column+e.length),r,null,!1)};l(this.pos,this.mainClass);for(var r=this.others.length;r--;)l(this.others[r],this.othersClass)}},e.prototype.onCursorChange=function(e){if(!this.$updating&&this.session){var t=this.session.selection.getCursor();t.row===this.pos.row&&t.column>=this.pos.column&&t.column<=this.pos.column+this.length?(this.showOtherMarkers(),this._emit("cursorEnter",e)):(this.hideOtherMarkers(),this._emit("cursorLeave",e))}},e.prototype.detach=function(){this.session.removeMarker(this.pos&&this.pos.markerId),this.hideOtherMarkers(),this.doc.off("change",this.$onUpdate),this.session.selection.off("changeCursor",this.$onCursorChange),this.session.setUndoSelect(!0),this.session=null},e.prototype.cancel=function(){if(-1!==this.$undoStackDepth){for(var e=this.session.getUndoManager(),t=(e.$undoStack||e.$undostack).length-this.$undoStackDepth,l=0;l1?e.multiSelect.joinSelections():e.multiSelect.splitIntoLines()},bindKey:{win:"Ctrl-Alt-L",mac:"Ctrl-Alt-L"},readOnly:!0},{name:"splitSelectionIntoLines",description:"Split into lines",exec:function(e){e.multiSelect.splitIntoLines()},readOnly:!0},{name:"alignCursors",description:"Align cursors",exec:function(e){e.alignCursors()},bindKey:{win:"Ctrl-Alt-A",mac:"Ctrl-Alt-A"},scrollIntoView:"cursor"},{name:"findAll",description:"Find all",exec:function(e){e.findAll()},bindKey:{win:"Ctrl-Alt-K",mac:"Ctrl-Alt-G"},scrollIntoView:"cursor",readOnly:!0}],t.multiSelectCommands=[{name:"singleSelection",description:"Single selection",bindKey:"esc",exec:function(e){e.exitMultiSelectMode()},scrollIntoView:"cursor",readOnly:!0,isAvailable:function(e){return e&&e.inMultiSelectMode}}];var n=e("../keyboard/hash_handler").HashHandler;t.keyboardHandler=new n(t.multiSelectCommands)})),ace.define("ace/multi_select",["require","exports","module","ace/range_list","ace/range","ace/selection","ace/mouse/multi_select_handler","ace/lib/event","ace/lib/lang","ace/commands/multi_select_commands","ace/search","ace/edit_session","ace/editor","ace/config"],(function(e,t,l){var n=e("./range_list").RangeList,r=e("./range").Range,a=e("./selection").Selection,o=e("./mouse/multi_select_handler").onMouseDown,i=e("./lib/event"),s=e("./lib/lang"),c=e("./commands/multi_select_commands");t.commands=c.defaultCommands.concat(c.multiSelectCommands);var u=new(0,e("./search").Search);var d=e("./edit_session").EditSession;(function(){this.getSelectionMarkers=function(){return this.$selectionMarkers}}).call(d.prototype),function(){this.ranges=null,this.rangeList=null,this.addRange=function(e,t){if(e){if(!this.inMultiSelectMode&&0===this.rangeCount){var l=this.toOrientedRange();if(this.rangeList.add(l),this.rangeList.add(e),2!=this.rangeList.ranges.length)return this.rangeList.removeAll(),t||this.fromOrientedRange(e);this.rangeList.removeAll(),this.rangeList.add(l),this.$onAddRange(l)}e.cursor||(e.cursor=e.end);var n=this.rangeList.add(e);return this.$onAddRange(e),n.length&&this.$onRemoveRange(n),this.rangeCount>1&&!this.inMultiSelectMode&&(this._signal("multiSelect"),this.inMultiSelectMode=!0,this.session.$undoSelect=!1,this.rangeList.attach(this.session)),t||this.fromOrientedRange(e)}},this.toSingleRange=function(e){e=e||this.ranges[0];var t=this.rangeList.removeAll();t.length&&this.$onRemoveRange(t),e&&this.fromOrientedRange(e)},this.substractPoint=function(e){var t=this.rangeList.substractPoint(e);if(t)return this.$onRemoveRange(t),t[0]},this.mergeOverlappingRanges=function(){var e=this.rangeList.merge();e.length&&this.$onRemoveRange(e)},this.$onAddRange=function(e){this.rangeCount=this.rangeList.ranges.length,this.ranges.unshift(e),this._signal("addRange",{range:e})},this.$onRemoveRange=function(e){if(this.rangeCount=this.rangeList.ranges.length,1==this.rangeCount&&this.inMultiSelectMode){var t=this.rangeList.ranges.pop();e.push(t),this.rangeCount=0}for(var l=e.length;l--;){var n=this.ranges.indexOf(e[l]);this.ranges.splice(n,1)}this._signal("removeRange",{ranges:e}),0===this.rangeCount&&this.inMultiSelectMode&&(this.inMultiSelectMode=!1,this._signal("singleSelect"),this.session.$undoSelect=!0,this.rangeList.detach(this.session)),(t=t||this.ranges[0])&&!t.isEqual(this.getRange())&&this.fromOrientedRange(t)},this.$initRangeList=function(){this.rangeList||(this.rangeList=new n,this.ranges=[],this.rangeCount=0)},this.getAllRanges=function(){return this.rangeCount?this.rangeList.ranges.concat():[this.getRange()]},this.splitIntoLines=function(){for(var e=this.ranges.length?this.ranges:[this.getRange()],t=[],l=0;l1){var e=this.rangeList.ranges,t=e[e.length-1],l=r.fromPoints(e[0].start,t.end);this.toSingleRange(),this.setSelectionRange(l,t.cursor==t.start)}else{var n=this.session.documentToScreenPosition(this.cursor),a=this.session.documentToScreenPosition(this.anchor);this.rectangularRangeBlock(n,a).forEach(this.addRange,this)}},this.rectangularRangeBlock=function(e,t,l){var n=[],a=e.column0;)v--;if(v>0)for(var b=0;n[b].isEmpty();)b++;for(var w=v;w>=b;w--)n[w].isEmpty()&&n.splice(w,1)}return n}}.call(a.prototype);var f=e("./editor").Editor;function p(e){e.$multiselectOnSessionChange||(e.$onAddRange=e.$onAddRange.bind(e),e.$onRemoveRange=e.$onRemoveRange.bind(e),e.$onMultiSelect=e.$onMultiSelect.bind(e),e.$onSingleSelect=e.$onSingleSelect.bind(e),e.$multiselectOnSessionChange=t.onSessionChange.bind(e),e.$checkMultiselectChange=e.$checkMultiselectChange.bind(e),e.$multiselectOnSessionChange(e),e.on("changeSession",e.$multiselectOnSessionChange),e.on("mousedown",o),e.commands.addCommands(c.defaultCommands),function(e){if(!e.textInput)return;var t=e.textInput.getElement(),l=!1;function n(t){l&&(e.renderer.setMouseCursor(""),l=!1)}i.addListener(t,"keydown",(function(t){var r=18==t.keyCode&&!(t.ctrlKey||t.shiftKey||t.metaKey);e.$blockSelectEnabled&&r?l||(e.renderer.setMouseCursor("crosshair"),l=!0):l&&n()}),e),i.addListener(t,"keyup",n,e),i.addListener(t,"blur",n,e)}(e))}(function(){this.updateSelectionMarkers=function(){this.renderer.updateCursor(),this.renderer.updateBackMarkers()},this.addSelectionMarker=function(e){e.cursor||(e.cursor=e.end);var t=this.getSelectionStyle();return e.marker=this.session.addMarker(e,"ace_selection",t),this.session.$selectionMarkers.push(e),this.session.selectionMarkerCount=this.session.$selectionMarkers.length,e},this.removeSelectionMarker=function(e){if(e.marker){this.session.removeMarker(e.marker);var t=this.session.$selectionMarkers.indexOf(e);-1!=t&&this.session.$selectionMarkers.splice(t,1),this.session.selectionMarkerCount=this.session.$selectionMarkers.length}},this.removeSelectionMarkers=function(e){for(var t=this.session.$selectionMarkers,l=e.length;l--;){var n=e[l];if(n.marker){this.session.removeMarker(n.marker);var r=t.indexOf(n);-1!=r&&t.splice(r,1)}}this.session.selectionMarkerCount=t.length},this.$onAddRange=function(e){this.addSelectionMarker(e.range),this.renderer.updateCursor(),this.renderer.updateBackMarkers()},this.$onRemoveRange=function(e){this.removeSelectionMarkers(e.ranges),this.renderer.updateCursor(),this.renderer.updateBackMarkers()},this.$onMultiSelect=function(e){this.inMultiSelectMode||(this.inMultiSelectMode=!0,this.setStyle("ace_multiselect"),this.keyBinding.addKeyboardHandler(c.keyboardHandler),this.commands.setDefaultHandler("exec",this.$onMultiSelectExec),this.renderer.updateCursor(),this.renderer.updateBackMarkers())},this.$onSingleSelect=function(e){this.session.multiSelect.inVirtualMode||(this.inMultiSelectMode=!1,this.unsetStyle("ace_multiselect"),this.keyBinding.removeKeyboardHandler(c.keyboardHandler),this.commands.removeDefaultHandler("exec",this.$onMultiSelectExec),this.renderer.updateCursor(),this.renderer.updateBackMarkers(),this._emit("changeSelection"))},this.$onMultiSelectExec=function(e){var t=e.command,l=e.editor;if(l.multiSelect){if(t.multiSelectAction)"forEach"==t.multiSelectAction?n=l.forEachSelection(t,e.args):"forEachLine"==t.multiSelectAction?n=l.forEachSelection(t,e.args,!0):"single"==t.multiSelectAction?(l.exitMultiSelectMode(),n=t.exec(l,e.args||{})):n=t.multiSelectAction(l,e.args||{});else{var n=t.exec(l,e.args||{});l.multiSelect.addRange(l.multiSelect.toOrientedRange()),l.multiSelect.mergeOverlappingRanges()}return n}},this.forEachSelection=function(e,t,l){if(!this.inVirtualSelectionMode){var n,r=l&&l.keepOrder,o=1==l||l&&l.$byLines,i=this.session,s=this.selection,c=s.rangeList,u=(r?s:c).ranges;if(!u.length)return e.exec?e.exec(this,t||{}):e(this,t||{});var d=s._eventRegistry;s._eventRegistry={};var f=new a(i);this.inVirtualSelectionMode=!0;for(var p=u.length;p--;){if(o)for(;p>0&&u[p].start.row==u[p-1].end.row;)p--;f.fromOrientedRange(u[p]),f.index=p,this.selection=i.selection=f;var h=e.exec?e.exec(this,t||{}):e(this,t||{});n||void 0===h||(n=h),f.toOrientedRange(u[p])}f.detach(),this.selection=i.selection=s,this.inVirtualSelectionMode=!1,s._eventRegistry=d,s.mergeOverlappingRanges(),s.ranges[0]&&s.fromOrientedRange(s.ranges[0]);var m=this.renderer.$scrollAnimation;return this.onCursorChange(),this.onSelectionChange(),m&&m.from==m.to&&this.renderer.animateScrolling(m.from),n}},this.exitMultiSelectMode=function(){this.inMultiSelectMode&&!this.inVirtualSelectionMode&&this.multiSelect.toSingleRange()},this.getSelectedText=function(){var e="";if(this.inMultiSelectMode&&!this.inVirtualSelectionMode){for(var t=this.multiSelect.rangeList.ranges,l=[],n=0;no&&(o=l.column),nu?e.insert(n,s.stringRepeat(" ",a-u)):e.remove(new r(n.row,n.column,n.row,n.column-a+u)),t.start.column=t.end.column=o,t.start.row=t.end.row=n.row,t.cursor=t.end})),t.fromOrientedRange(l[0]),this.renderer.updateCursor(),this.renderer.updateBackMarkers()}else{var u=this.selection.getRange(),d=u.start.row,f=u.end.row,p=d==f;if(p){var h,m=this.session.getLength();do{h=this.session.getLine(f)}while(/[=:]/.test(h)&&++f0);d<0&&(d=0),f>=m&&(f=m-1)}var g=this.session.removeFullLines(d,f);g=this.$reAlignText(g,p),this.session.insert({row:d,column:0},g.join("\n")+"\n"),p||(u.start.column=0,u.end.column=g[g.length-1].length),this.selection.setRange(u)}},this.$reAlignText=function(e,t){var l,n,r,a=!0,o=!0;return e.map((function(e){var t=e.match(/(\s*)(.*?)(\s*)([=:].*)/);return t?null==l?(l=t[1].length,n=t[2].length,r=t[3].length,t):(l+n+r!=t[1].length+t[2].length+t[3].length&&(o=!1),l!=t[1].length&&(a=!1),l>t[1].length&&(l=t[1].length),nt[3].length&&(r=t[3].length),t):[e]})).map(t?c:a?o?function(e){return e[2]?i(l+n-e[2].length)+e[2]+i(r)+e[4].replace(/^([=:])\s+/,"$1 "):e[0]}:c:function(e){return e[2]?i(l)+e[2]+i(r)+e[4].replace(/^([=:])\s+/,"$1 "):e[0]});function i(e){return s.stringRepeat(" ",e)}function c(e){return e[2]?i(l)+e[2]+i(n-e[2].length+r)+e[4].replace(/^([=:])\s+/,"$1 "):e[0]}}}).call(f.prototype),t.onSessionChange=function(e){var t=e.session;t&&!t.multiSelect&&(t.$selectionMarkers=[],t.selection.$initRangeList(),t.multiSelect=t.selection),this.multiSelect=t&&t.multiSelect;var l=e.oldSession;l&&(l.multiSelect.off("addRange",this.$onAddRange),l.multiSelect.off("removeRange",this.$onRemoveRange),l.multiSelect.off("multiSelect",this.$onMultiSelect),l.multiSelect.off("singleSelect",this.$onSingleSelect),l.multiSelect.lead.off("change",this.$checkMultiselectChange),l.multiSelect.anchor.off("change",this.$checkMultiselectChange)),t&&(t.multiSelect.on("addRange",this.$onAddRange),t.multiSelect.on("removeRange",this.$onRemoveRange),t.multiSelect.on("multiSelect",this.$onMultiSelect),t.multiSelect.on("singleSelect",this.$onSingleSelect),t.multiSelect.lead.on("change",this.$checkMultiselectChange),t.multiSelect.anchor.on("change",this.$checkMultiselectChange)),t&&this.inMultiSelectMode!=t.selection.inMultiSelectMode&&(t.selection.inMultiSelectMode?this.$onMultiSelect():this.$onSingleSelect())},t.MultiSelect=p,e("./config").defineOptions(f.prototype,"editor",{enableMultiselect:{set:function(e){p(this),e?this.on("mousedown",o):this.off("mousedown",o)},value:!0},enableBlockSelect:{set:function(e){this.$blockSelectEnabled=e},value:!0}})})),ace.define("ace/mode/folding/fold_mode",["require","exports","module","ace/range"],(function(e,t,l){"use strict";var n=e("../../range").Range,r=t.FoldMode=function(){};(function(){this.foldingStartMarker=null,this.foldingStopMarker=null,this.getFoldWidget=function(e,t,l){var n=e.getLine(l);return this.foldingStartMarker.test(n)?"start":"markbeginend"==t&&this.foldingStopMarker&&this.foldingStopMarker.test(n)?"end":""},this.getFoldWidgetRange=function(e,t,l){return null},this.indentationBlock=function(e,t,l){var r=/\S/,a=e.getLine(t),o=a.search(r);if(-1!=o){for(var i=l||a.length,s=e.getLength(),c=t,u=t;++tc){var p=e.getLine(u).length;return new n(c,i,u,p)}}},this.openingBracketBlock=function(e,t,l,r,a){var o={row:l,column:r+1},i=e.$findClosingBracket(t,o,a);if(i){var s=e.foldWidgets[i.row];return null==s&&(s=e.getFoldWidget(i.row)),"start"==s&&i.row>o.row&&(i.row--,i.column=e.getLine(i.row).length),n.fromPoints(o,i)}},this.closingBracketBlock=function(e,t,l,r,a){var o={row:l,column:r},i=e.$findOpeningBracket(t,o);if(i)return i.column++,o.column--,n.fromPoints(i,o)}}).call(r.prototype)})),ace.define("ace/ext/error_marker",["require","exports","module","ace/lib/dom","ace/range","ace/config"],(function(e,t,l){"use strict";var n=e("../lib/dom"),r=e("../range").Range,a=e("../config").nls;t.showErrorMarker=function(e,t){var l=e.session,o=e.getCursorPosition(),i=o.row,s=l.widgetManager.getWidgetsAtRow(i).filter((function(e){return"errorMarker"==e.type}))[0];s?s.destroy():i-=t;var c,u=function(e,t,l){var n=e.getAnnotations().sort(r.comparePoints);if(n.length){var a=function(e,t,l){for(var n=0,r=e.length-1;n<=r;){var a=n+r>>1,o=l(t,e[a]);if(o>0)n=a+1;else{if(!(o<0))return a;r=a-1}}return-(n+1)}(n,{row:t,column:-1},r.comparePoints);a<0&&(a=-a-1),a>=n.length?a=l>0?0:n.length-1:0===a&&l<0&&(a=n.length-1);var o=n[a];if(o&&l){if(o.row===t){do{o=n[a+=l]}while(o&&o.row===t);if(!o)return n.slice()}var i=[];t=o.row;do{i[l<0?"unshift":"push"](o),o=n[a+=l]}while(o&&o.row==t);return i.length&&i}}}(l,i,t);if(u){var d=u[0];o.column=(d.pos&&"number"!=typeof d.column?d.pos.sc:d.column)||0,o.row=d.row,c=e.renderer.$gutterLayer.$annotations[o.row]}else{if(s)return;c={displayText:[a("error-marker.good-state","Looks good!")],className:"ace_ok"}}e.session.unfold(o.row),e.selection.moveToPosition(o);var f={row:o.row,fixedWidth:!0,coverGutter:!0,el:n.createElement("div"),type:"errorMarker"},p=f.el.appendChild(n.createElement("div")),h=f.el.appendChild(n.createElement("div"));h.className="error_widget_arrow "+c.className;var m=e.renderer.$cursorLayer.getPixelPosition(o).left;h.style.left=m+e.renderer.gutterWidth-5+"px",f.el.className="error_widget_wrapper",p.className="error_widget "+c.className,c.displayText.forEach((function(e,t){p.appendChild(n.createTextNode(e)),t-1?r([l]):l}},"0efece4c8cb91e128a85":function(e,t,l){"use strict";e.exports=l("82c3e6e6e3fe41af700d")},"0f1fbb008f1f4b1cb29f":function(e,t,l){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sidecar=void 0;var n=l("98bae3dbabd51089d613"),r=n.__importStar(l("8af190b70a6bc55c6f1b")),a=l("862e5deb50b025a332c2");t.sidecar=function(e,t){var l=function(){return t};return function(o){var i=(0,a.useSidecar)(e,o.sideCar),s=i[0];return i[1]&&t?l:s?r.createElement(s,n.__assign({},o)):null}}},"0f29a1925f6bdf1729f9":function(e,t,l){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var l in e)if(Object.prototype.hasOwnProperty.call(e,l)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,l):{};n.get||n.set?Object.defineProperty(t,l,n):t[l]=e[l]}return t.default=e,t}(l("8af190b70a6bc55c6f1b")),r=c(l("777de14c6d9da9d6bb40")),a=l("d7dd51e1bf6bfc2c9c3d"),o=l("999b8422c18ed8d20c8d"),i=l("771ac8d3f39d68e91f97"),s=c(l("c780dee00d7495ff9921"));function c(e){return e&&e.__esModule?e:{default:e}}function u(e){return(u="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function d(){return(d=Object.assign||function(e){for(var t=1;t2&&void 0!==arguments[2]&&arguments[2];n.inTimeTravelling?n.inTimeTravelling=!1:o(e,t,l)};return n.unlisten=a.listen(i),i(a.location,a.action,!0),n}var r,a,i;return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&m(e,t)}(l,e),r=l,(a=[{key:"componentWillUnmount",value:function(){this.unlisten(),this.unsubscribe()}},{key:"render",value:function(){var e=this.props,t=e.history,l=e.children;return n.default.createElement(o.Router,{history:t},l)}}])&&f(r.prototype,a),i&&f(r,i),l}(n.PureComponent);l.propTypes={store:r.default.shape({getState:r.default.func.isRequired,subscribe:r.default.func.isRequired}).isRequired,history:r.default.shape({action:r.default.string.isRequired,listen:r.default.func.isRequired,location:r.default.object.isRequired,push:r.default.func.isRequired}).isRequired,basename:r.default.string,children:r.default.oneOfType([r.default.func,r.default.node]),onLocationChanged:r.default.func.isRequired};var c=function(e){var t=e.context||a.ReactReduxContext;if(null==t)throw"Please upgrade to react-redux v6";return n.default.createElement(t.Consumer,null,(function(t){var r=t.store;return n.default.createElement(l,d({store:r},e))}))};return c.propTypes={context:r.default.object},(0,a.connect)(null,(function(e){return{onLocationChanged:function(t,l,n){return e((0,i.onLocationChanged)(t,l,n))}}}))(c)};t.default=g},"0f66df16e5c6dfd09b24":function(e,t,l){var n=l("bb0df5ce6c5b19bdda4f");"string"===typeof n&&(n=[[e.i,n,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};l("1e4534d1d62a11482e97")(n,r);n.locals&&(e.exports=n.locals)},"0faf69db168b748d5a31":function(e,t,l){Object.defineProperty(t,"__esModule",{value:!0});var n=l("db86d8470315e76725af"),r=l("bc9d99ff713fa8e834f8"),a=l("6b00f1d7fb6bde96d1bc"),o=l("9174bba9c88261cec9dc"),i=l("cd8759ea01a7b1164d0a"),s=l("47546cd28c3fe3537e51"),c=l("2a21c78968ea1e434b1f"),u=function(e){function t(t){return void 0===t&&(t={}),e.call(this,o.BrowserBackend,t)||this}return n.__extends(t,e),t.prototype.showReportDialog=function(e){void 0===e&&(e={}),a.getGlobalObject().document&&(this._isEnabled()?i.injectReportDialog(n.__assign(n.__assign({},e),{dsn:e.dsn||this.getDsn()})):a.logger.error("Trying to call showReportDialog with Sentry Client disabled"))},t.prototype._prepareEvent=function(t,l,r){return t.platform=t.platform||"javascript",t.sdk=n.__assign(n.__assign({},t.sdk),{name:c.SDK_NAME,packages:n.__spread(t.sdk&&t.sdk.packages||[],[{name:"npm:@sentry/browser",version:c.SDK_VERSION}]),version:c.SDK_VERSION}),e.prototype._prepareEvent.call(this,t,l,r)},t.prototype._sendEvent=function(t){var l=this.getIntegration(s.Breadcrumbs);l&&l.addSentryBreadcrumb(t),e.prototype._sendEvent.call(this,t)},t}(r.BaseClient);t.BrowserClient=u},1:function(e,t,l){l("5b15df55c1316f23e9d0"),e.exports=l("8b703812aa8ae3c41814")},"104a77cbd36d80b5c379":function(e,t,l){"use strict";function n(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var l=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=l){var n,r,a,o,i=[],s=!0,c=!1;try{if(a=(l=l.call(e)).next,0===t){if(Object(l)!==l)return;s=!1}else for(;!(s=(n=a.call(l)).done)&&(i.push(n.value),i.length!==t);s=!0);}catch(e){c=!0,r=e}finally{try{if(!s&&null!=l.return&&(o=l.return(),Object(o)!==o))return}finally{if(c)throw r}}return i}}(e,t)||r(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function r(e,t){if(e){if("string"==typeof e)return a(e,t);var l={}.toString.call(e).slice(8,-1);return"Object"===l&&e.constructor&&(l=e.constructor.name),"Map"===l||"Set"===l?Array.from(e):"Arguments"===l||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(l)?a(e,t):void 0}}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var l=0,n=Array(t);l=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,i=!0,s=!1;return{s:function(){l=l.call(e)},n:function(){var e=l.next();return i=e.done,e},e:function(e){s=!0,o=e},f:function(){try{i||null==l.return||l.return()}finally{if(s)throw o}}}}(d(t));try{var s=function(){var r=a.value;p.call(e,r)||r===l||c(e,r,{get:function(){return t[r]},enumerable:!(n=u(t,r))||n.enumerable})};for(i.s();!(a=i.n()).done;)s()}catch(e){i.e(e)}finally{i.f()}}return e},m={};!function(e,t){for(var l in t)c(e,l,{get:t[l],enumerable:!0})}(m,{useId:function(){return w}}),e.exports=(i=m,h(c({},"__esModule",{value:!0}),i));var g=function(e,t,l){return l=null!=e?s(f(e)):{},h(!t&&e&&e.__esModule?l:c(l,"default",{value:e,enumerable:!0}),e)}(l("8af190b70a6bc55c6f1b")),y=l("648137dd78243ecf2736"),v=g[" useId ".trim().toString()]||function(){},b=0;function w(e){var t=n(g.useState(v()),2),l=t[0],r=t[1];return(0,y.useLayoutEffect)((function(){e||r((function(e){return null!==e&&void 0!==e?e:String(b++)}))}),[e]),e||(l?"radix-".concat(l):"")}},"1071238d53a57e392963":function(e,t,l){"use strict";var n=l("8e6d34d5e2b1c9c449c0");t.__esModule=!0,t.default=void 0;var r,a=n(l("2c62cf50f9b98ad5e2af")),o=n(l("84ed169f5b76a6b15fc0")),i=n(l("b912ecc4473ae8a2ff0b")),s=n(l("1b43b4f548a0c483d331")),c=g(l("8af190b70a6bc55c6f1b")),u=g(l("5f91333870c355d2b6da")),d=n(l("98ff46c7263b262e631d")),f=n(l("a4ff8f03a4755a589ed2")),p=n(l("7a010f9aa2c4e96b972e")),h=["onEnter","onEntering","onEntered","onExit","onExiting","className","children","dimension","getDimensionValue"];function m(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,l=new WeakMap;return(m=function(e){return e?l:t})(e)}function g(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==typeof e&&"function"!==typeof e)return{default:e};var l=m(t);if(l&&l.has(e))return l.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}return n.default=e,l&&l.set(e,n),n}var y={height:["marginTop","marginBottom"],width:["marginLeft","marginRight"]};function v(e,t){var l=t["offset"+e[0].toUpperCase()+e.slice(1)],n=y[e];return l+parseInt((0,s.default)(t,n[0]),10)+parseInt((0,s.default)(t,n[1]),10)}var b=((r={})[u.EXITED]="collapse",r[u.EXITING]="collapsing",r[u.ENTERING]="collapsing",r[u.ENTERED]="collapse show",r),w={in:!1,timeout:300,mountOnEnter:!1,unmountOnExit:!1,appear:!1,getDimensionValue:v},x=c.default.forwardRef((function(e,t){var l=e.onEnter,n=e.onEntering,r=e.onEntered,s=e.onExit,m=e.onExiting,g=e.className,y=e.children,w=e.dimension,x=void 0===w?"height":w,k=e.getDimensionValue,S=void 0===k?v:k,C=(0,o.default)(e,h),O="function"===typeof x?x():x,M=(0,c.useMemo)((function(){return(0,f.default)((function(e){e.style[O]="0"}),l)}),[O,l]),_=(0,c.useMemo)((function(){return(0,f.default)((function(e){var t="scroll"+O[0].toUpperCase()+O.slice(1);e.style[O]=e[t]+"px"}),n)}),[O,n]),E=(0,c.useMemo)((function(){return(0,f.default)((function(e){e.style[O]=null}),r)}),[O,r]),P=(0,c.useMemo)((function(){return(0,f.default)((function(e){e.style[O]=S(O,e)+"px",(0,p.default)(e)}),s)}),[s,S,O]),A=(0,c.useMemo)((function(){return(0,f.default)((function(e){e.style[O]=null}),m)}),[O,m]);return c.default.createElement(u.default,(0,a.default)({ref:t,addEndListener:d.default},C,{"aria-expanded":C.role?C.in:null,onEnter:M,onEntering:_,onEntered:E,onExit:P,onExiting:A}),(function(e,t){return c.default.cloneElement(y,(0,a.default)({},t,{className:(0,i.default)(g,y.props.className,b[e],"width"===O&&"width")}))}))}));x.defaultProps=w;var k=x;t.default=k,e.exports=t.default},"109738e805c8a89d97e4":function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),function(e){e.Explicit="explicitly_set",e.Sampler="client_sampler",e.Rate="client_rate",e.Inheritance="inheritance"}(t.TransactionSamplingMethod||(t.TransactionSamplingMethod={}))},"10ad4cc8dd5b77f7ecbc":function(e,t,l){"use strict";var n=l("b15c440f0d3f3cc34316"),r=l("9a611c5d0941005b06eb"),a=l("dbb172cb24bfdfce9a83");e.exports=function(){return a(n,r,arguments)}},"10db0fc2442b6a3d5a39":function(e,t,l){Object.defineProperty(t,"__esModule",{value:!0});var n=l("db86d8470315e76725af"),r=l("bc9d99ff713fa8e834f8"),a=l("e588b22a82c241e9c56a"),o=l("6b00f1d7fb6bde96d1bc"),i=l("c5ca75090a5831d34eba"),s=l("cd8759ea01a7b1164d0a"),c=function(){function e(t){this.name=e.id,this._onErrorHandlerInstalled=!1,this._onUnhandledRejectionHandlerInstalled=!1,this._options=n.__assign({onerror:!0,onunhandledrejection:!0},t)}return e.prototype.setupOnce=function(){Error.stackTraceLimit=50,this._options.onerror&&(o.logger.log("Global Handler attached: onerror"),this._installGlobalOnErrorHandler()),this._options.onunhandledrejection&&(o.logger.log("Global Handler attached: onunhandledrejection"),this._installGlobalOnUnhandledRejectionHandler())},e.prototype._installGlobalOnErrorHandler=function(){var t=this;this._onErrorHandlerInstalled||(o.addInstrumentationHandler({callback:function(l){var n=l.error,a=r.getCurrentHub(),c=a.getIntegration(e),u=n&&!0===n.__sentry_own_request__;if(c&&!s.shouldIgnoreOnError()&&!u){var d=a.getClient(),f=o.isPrimitive(n)?t._eventFromIncompleteOnError(l.msg,l.url,l.line,l.column):t._enhanceEventWithInitialFrame(i.eventFromUnknownInput(n,void 0,{attachStacktrace:d&&d.getOptions().attachStacktrace,rejection:!1}),l.url,l.line,l.column);o.addExceptionMechanism(f,{handled:!1,type:"onerror"}),a.captureEvent(f,{originalException:n})}},type:"error"}),this._onErrorHandlerInstalled=!0)},e.prototype._installGlobalOnUnhandledRejectionHandler=function(){var t=this;this._onUnhandledRejectionHandlerInstalled||(o.addInstrumentationHandler({callback:function(l){var n=l;try{"reason"in l?n=l.reason:"detail"in l&&"reason"in l.detail&&(n=l.detail.reason)}catch(e){}var c=r.getCurrentHub(),u=c.getIntegration(e),d=n&&!0===n.__sentry_own_request__;if(!u||s.shouldIgnoreOnError()||d)return!0;var f=c.getClient(),p=o.isPrimitive(n)?t._eventFromRejectionWithPrimitive(n):i.eventFromUnknownInput(n,void 0,{attachStacktrace:f&&f.getOptions().attachStacktrace,rejection:!0});p.level=a.Severity.Error,o.addExceptionMechanism(p,{handled:!1,type:"onunhandledrejection"}),c.captureEvent(p,{originalException:n})},type:"unhandledrejection"}),this._onUnhandledRejectionHandlerInstalled=!0)},e.prototype._eventFromIncompleteOnError=function(e,t,l,n){var r,a=o.isErrorEvent(e)?e.message:e;if(o.isString(a)){var i=a.match(/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i);i&&(r=i[1],a=i[2])}var s={exception:{values:[{type:r||"Error",value:a}]}};return this._enhanceEventWithInitialFrame(s,t,l,n)},e.prototype._eventFromRejectionWithPrimitive=function(e){return{exception:{values:[{type:"UnhandledRejection",value:"Non-Error promise rejection captured with value: "+String(e)}]}}},e.prototype._enhanceEventWithInitialFrame=function(e,t,l,n){e.exception=e.exception||{},e.exception.values=e.exception.values||[],e.exception.values[0]=e.exception.values[0]||{},e.exception.values[0].stacktrace=e.exception.values[0].stacktrace||{},e.exception.values[0].stacktrace.frames=e.exception.values[0].stacktrace.frames||[];var r=isNaN(parseInt(n,10))?void 0:n,a=isNaN(parseInt(l,10))?void 0:l,i=o.isString(t)&&t.length>0?t:o.getLocationHref();return 0===e.exception.values[0].stacktrace.frames.length&&e.exception.values[0].stacktrace.frames.push({colno:r,filename:i,function:"?",in_app:!0,lineno:a}),e},e.id="GlobalHandlers",e}();t.GlobalHandlers=c},"10fa21b44717d82288e9":function(e,t,l){"use strict";var n=l("8e6d34d5e2b1c9c449c0");t.__esModule=!0,t.default=function(e,t){var l=void 0===t?{}:t,n=l.displayName,d=void 0===n?(m=e,m[0].toUpperCase()+(0,i.default)(m).slice(1)):n,f=l.Component,p=l.defaultProps,h=s.default.forwardRef((function(t,l){var n=t.className,i=t.bsPrefix,d=t.as,p=void 0===d?f||"div":d,h=(0,a.default)(t,u),m=(0,c.useBootstrapPrefix)(i,e);return s.default.createElement(p,(0,r.default)({ref:l,className:(0,o.default)(n,m)},h))}));var m;return h.defaultProps=p,h.displayName=d,h};var r=n(l("2c62cf50f9b98ad5e2af")),a=n(l("84ed169f5b76a6b15fc0")),o=n(l("b912ecc4473ae8a2ff0b")),i=n(l("29c9401d02b1d3ec0c97")),s=n(l("8af190b70a6bc55c6f1b")),c=l("de45080f617146192f27"),u=["className","bsPrefix","as"];e.exports=t.default},"11552bc244f4e0ecb3a5":function(e,t){e.exports={}},"115c5b40c21caec63178":function(e,t,l){var n,r;void 0===(r="function"===typeof(n=function(e,t,l){return function(e,t,l,n,r,a){function o(e){return"number"==typeof e&&!isNaN(e)}var i=this;if(i.version=function(){return"1.9.3"},i.options={useEasing:!0,useGrouping:!0,separator:",",decimal:".",easingFn:function(e,t,l,n){return l*(1-Math.pow(2,-10*e/n))*1024/1023+t},formattingFn:function(e){var t,l,n,r,a,o,s=e<0;if(e=Math.abs(e).toFixed(i.decimals),l=(t=(e+="").split("."))[0],n=t.length>1?i.options.decimal+t[1]:"",i.options.useGrouping){for(r="",a=0,o=l.length;ai.endVal,i.frameVal=i.startVal,i.initialized=!0,!0):(i.error="[CountUp] startVal ("+t+") or endVal ("+l+") is not a number",!1)):(i.error="[CountUp] target is null or undefined",!1))},i.printValue=function(e){var t=i.options.formattingFn(e);"INPUT"===i.d.tagName?this.d.value=t:"text"===i.d.tagName||"tspan"===i.d.tagName?this.d.textContent=t:this.d.innerHTML=t},i.count=function(e){i.startTime||(i.startTime=e),i.timestamp=e;var t=e-i.startTime;i.remaining=i.duration-t,i.options.useEasing?i.countDown?i.frameVal=i.startVal-i.options.easingFn(t,0,i.startVal-i.endVal,i.duration):i.frameVal=i.options.easingFn(t,i.startVal,i.endVal-i.startVal,i.duration):i.countDown?i.frameVal=i.startVal-(i.startVal-i.endVal)*(t/i.duration):i.frameVal=i.startVal+(i.endVal-i.startVal)*(t/i.duration),i.countDown?i.frameVal=i.frameVali.endVal?i.endVal:i.frameVal,i.frameVal=Math.round(i.frameVal*i.dec)/i.dec,i.printValue(i.frameVal),ti.endVal,i.rAF=requestAnimationFrame(i.count))}},i.initialize()&&i.printValue(i.startVal)}})?n.call(t,l,t,e):n)||(e.exports=r)},"11671841bf1bc15de6db":function(e,t){e.exports="data:image/svg+xml,%3C?xml version='1.0' encoding='utf-8'?%3E %3C!-- Generator: Adobe Illustrator 25.2.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --%3E %3Csvg version='1.1' id='svg4209' inkscape:version='0.48.5 r10040' sodipodi:docname='IconoAlergenoCrustaceo-Crustaceans.svg' xmlns:cc='http://creativecommons.org/ns%23' xmlns:dc='http://purl.org/dc/elements/1.1/' xmlns:inkscape='http://www.inkscape.org/namespaces/inkscape' xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns%23' xmlns:sodipodi='http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd' xmlns:svg='http://www.w3.org/2000/svg' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 262.2 372' style='enable-background:new 0 0 262.2 372;' xml:space='preserve'%3E %3Cstyle type='text/css'%3E .st0%7Bfill:%231CB6F1;stroke:%231CB6F1;stroke-width:3;stroke-linecap:round;stroke-linejoin:round;%7D .st1%7Bfill:%23FFFFFF;stroke:%23FFFFFF;stroke-width:0.2788;stroke-miterlimit:22.3065;%7D .st2%7Bfill:%23FFFFFF;stroke:%23FFFFFF;stroke-width:0.2581;stroke-miterlimit:22.3065;%7D %3C/style%3E %3Csodipodi:namedview bordercolor='%23666666' borderopacity='1.0' id='base' inkscape:current-layer='layer1' inkscape:cx='619.5751' inkscape:cy='785.62964' inkscape:document-units='px' inkscape:pageopacity='0.0' inkscape:pageshadow='2' inkscape:window-height='924' inkscape:window-maximized='1' inkscape:window-width='1280' inkscape:window-x='0' inkscape:window-y='28' inkscape:zoom='0.22792898' pagecolor='%23ffffff' showgrid='false'%3E %3C/sodipodi:namedview%3E %3Cg id='layer1' transform='translate(0,-680.31494)' inkscape:groupmode='layer' inkscape:label='Capa 1'%3E %3Cg id='g5335' transform='matrix(5.5766335,0,0,5.5766335,-1227.1285,-1253.3571)'%3E %3Cg id='g5308'%3E %3Cpath id='path3230-2-8-5' sodipodi:cx='21.573027' sodipodi:cy='29.287827' sodipodi:rx='18.363815' sodipodi:ry='18.720394' sodipodi:type='arc' class='st0' d=' M262.7,375.7c0,10.6-8.6,19.1-19.1,19.1s-19.1-8.6-19.1-19.1c0-10.6,8.6-19.1,19.1-19.1S262.7,365.1,262.7,375.7z'/%3E %3Cg id='g5283'%3E %3Cpath id='path4196' inkscape:connector-curvature='0' sodipodi:nodetypes='cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc' class='st1' d=' M250.2,378.7l-0.2,2l-0.3,0.9c-0.1,0.4-0.2,0.7-0.4,1c-0.2,0.2-0.5,0.5-0.7,0.7l-1.2,0.9l-1,0.6l-0.7,0.4l-1.5,0l-0.8,0 c-0.7,0-1.5,0-2.2,0c-0.8-0.3-1.5-0.9-2.3-1.3l-1.3-1.1l-0.4-0.9l-0.3-1.5l-0.2-2.1l0.2-0.9l0.3-0.5l0.3-0.4l0.4-0.8l0.7-1.6 l0.4-0.5l0.6-0.5l0.7-0.4l0.3-0.3l0.2-0.2l0.1-0.2l0.1-0.4l0.1-0.3l0.4-0.1l0.4,0.1l0.4,0.3l0.4,0.1l0.4-0.1l0.3,0 c0.1,0,0.1,0,0.1,0.1l0.1,0l0.1,0l0-0.1l0.1,0l0.1-0.1l0.2,0l0.3,0l0.2,0l0.2,0l0.2,0l0.2-0.1l0.3-0.2l0.1,0l0.1-0.1l0.2-0.1 l0.2,0l0.2,0.1l0.1,0.2l0.1,0.4l0.1,0.1l0.3,0.3l0.6,0.3l0.4,0.2l0.4,0.3l0.2,0.2l0.3,0.5l0.1,0.2l0.2,0.5l0.3,0.7l0.1,0.3 l0.3,0.7l0.4,0.5l0.3,0.5l0.1,0.1l0.1,0.3L250.2,378.7z'/%3E %3Cg id='g4106' transform='translate(178.21525,347.36256)'%3E %3Cpath id='path4198' inkscape:connector-curvature='0' sodipodi:nodetypes='ccccccccccccccccccccccccccccccccccccccccccccccccccccc' class='st1' d=' M58.5,29.3l0.3-0.4h0l0.1-0.2l0.3-0.9l0.3-0.8l-1.5-1.1l0.3-0.4l0.2-0.6l0-1l-0.2-1l0.7-0.4l1-0.8l1.1-1.2l0.6-1.2l0.2-1.2 c0-0.3,0-0.5-0.1-1l-0.1-0.5l-0.3,0.6L61,17.9l-0.6,0.7l-0.5,0.6l-0.6,0.5l-0.6,0.4l-0.4,0.2l0-0.9l0.3-1.8l0.6-1.4l0.5-1.3 L59,15.5L58.1,16l-0.5,0.3L57,17l-0.5,0.7l-0.5,0.7l-0.5,1.1L55,20.9l-0.1,1l0,0.8l0.1,1.1l0.2,0.7l0.2,0.7l0.3,0.4l0.3,0.3 l0.3,0.2l0.3,0.5l0.2,0.4l0.4,0.8l0.5,0.6l0.3,0.4l0.3,0.3l0.2,0.2C58.5,29.2,58.4,29.2,58.5,29.3L58.5,29.3z'/%3E %3Cpath id='path4200' inkscape:connector-curvature='0' class='st1' d='M58.5,29.4l-0.7-0.2L57.2,29l-0.6-0.1l-0.3-0.1l-0.3,0 l-0.2,0l-0.1,0.1l-0.1,0.1L55.5,29l-0.1,0.1l-0.1,0.1l0,0.1l0,0.2l0.1,0.2l0.2,0.2l0.2,0.2l0.3,0.2l0.4,0.2l0.3,0.2l0.3,0.2 l0.7,0.3l-0.7,0.1l-0.7,0.1l-0.6,0.1l-0.4,0.1l-0.2,0.1l-0.2,0.2L55,32L55,32.2l0,0.2l0.1,0.2l0.2,0.1l0.3,0.1L56,33l0.3,0 l0.4,0l0.5,0l0.4,0l0.4,0l0.1,0L57.9,33l-0.3,0.1l-0.5,0.2l-0.5,0.3l-0.2,0.2l-0.2,0.2l-0.3,0.3l-0.2,0.3l-0.1,0.2l0,0.3 l0.1,0.2l0.1,0.2l0.1,0.1l0.2,0.1l0.2,0l0.2,0l0.3-0.1l0.2-0.1l0.3-0.2l0.3-0.2l0.2-0.1l0.3-0.1l0.4-0.1l0.3-0.1l0.1,0 l-0.2,0.1L58.3,35L58,35.3l-0.1,0.2l-0.2,0.3l-0.2,0.3l-0.1,0.3l0,0.2l0,0.2l0.1,0.2l0.2,0.2l0.1,0.1l0.1,0l0.1,0.1l0.2,0 l0.2-0.1l0.2-0.1l0.3-0.3l0.2-0.2l0.5-0.3l0.3-0.1l0.1,0L59.8,36l-0.3-0.2l-0.2-0.2l-0.2-0.3L59,35.1l-0.3-0.7L58.6,34 l-0.2-0.8l0-0.3l-0.2-1.2l0-0.6l0-0.8l0-0.2l0,0l0-0.1l0-0.2l0.1-0.3L58.5,29.4L58.5,29.4z'/%3E %3Cpath id='path4202' inkscape:connector-curvature='0' sodipodi:nodetypes='ccccccccccccccccccccccccccccccccc' class='st1' d=' M53.7,27.6l0.1,0.2l0.2,0.3l0.2,0.3l0.2,0.2l0.2,0.2l0.1,0.1l0.1,0.1l0.1,0.1l0.1,0l0.2,0l0.2-0.1l0.2-0.2l0.1-0.2l0-0.2 L55.4,28l-0.2-0.2l-0.3-0.4l-0.4-0.5l-0.2-0.4l-0.1-0.2L54,26.2l-0.1-0.1l-0.2,0l-0.2,0.1l-0.1,0.1l0,0.2l0,0.2l0.1,0.2 l0.1,0.3l0.1,0.2l0.1,0.1L53.7,27.6z'/%3E %3Cpath id='path4204' inkscape:connector-curvature='0' class='st1' d='M53,23.9l0,0.2l0,0.2l0,0.3l0,0.3l0,0.2l0,0.3l0,0.2 l0,0.1l0.1,0.1l0.1,0.1l0.1,0l0.1,0l0.1,0l0.1,0l0.1-0.1l0-0.1l0-0.1l0-0.1l0-0.1l0,0l-0.1-0.2l-0.1-0.4l-0.1-0.2l0-0.1 l-0.1-0.3l-0.1-0.3l-0.1-0.2l0-0.1l0,0l-0.1,0.1l0,0.1L53,23.9L53,23.9z'/%3E %3Cpath id='path4206' inkscape:connector-curvature='0' class='st1' d='M51.6,27.5L51.6,27.5l-0.1,0.2l0,0.2l0,0.2l0,0.3l0,0.2 l0,0.2l0,0.2l0.1,0.2l0.1,0.2l0.1,0.1l0,0.1l0.1,0.1l0.1,0.1l0.1,0l0.1,0l0,0l0.1-0.1l0.1-0.1l0-0.1l0-0.1l0-0.2l-0.1-0.1 l-0.2-0.4L52,28.4l-0.1-0.5l-0.1-0.3L51.6,27.5L51.6,27.5L51.6,27.5z'/%3E %3Cpath id='path4208' inkscape:connector-curvature='0' sodipodi:nodetypes='cccccccccccccccccccccccccccccccccccc' class='st2' d=' M53,31.4l-0.2-0.2l-0.2-0.1l-0.2-0.2l-0.1-0.1l-0.1-0.2l-0.1-0.2l0-0.1l0-0.2l0.1-0.1l0.1-0.1c0.1-0.1,0.1-0.1,0.2-0.1l0.2,0.1 l0.3,0.3l0.3,0.2l0.4,0.2l0.5,0.3l0.3,0.2l0.1,0l0.1,0.1l0.1,0.1l0,0.1l0,0.1l0,0.1l-0.1,0.1l-0.1,0.1L54.7,32L54.6,32l-0.1,0 l-0.2,0l-0.1,0l-0.3-0.1l-0.3-0.2l-0.3-0.2l-0.2-0.1L53,31.4z'/%3E %3Cpath id='path3330' inkscape:connector-curvature='0' sodipodi:nodetypes='cccccccccccccccc' class='st1' d='M55.5,37.4 l0.3-0.7c0.1-0.1,0.1-0.1,0.1-0.4c-0.1-0.2-0.1-0.2-0.1-0.3c-0.1-0.2-0.2-0.2-0.3-0.2c-0.2-0.1-0.3,0-0.4,0 c-0.2,0.1-0.3,0.2-0.4,0.3l-0.4,1l-0.1,0.6l-0.1,0.7l0.1,0.4l0.3,0.2l0.3-0.1l0.1-0.2l0.3-0.8L55.5,37.4z'/%3E %3Cpath id='path4100' inkscape:connector-curvature='0' sodipodi:nodetypes='ccccccccccccccccccccccccccc' class='st1' d=' M54.5,39.4l0.1-0.1l0.1,0l0.1,0l0.2,0l0.1,0.1l0.1,0.1l0,0.1l0.1,0.2l0,0.2l0.1,0.3l0.1,0.3l0.1,0.3l0.1,0.3l0.1,0.2l0.1,0.1 v0.1l-0.1,0l-0.2-0.1l-0.2-0.1L55.2,41L55,40.7l-0.3-0.4l-0.1-0.2l-0.1-0.3l0-0.2L54.5,39.4z'/%3E %3Cpath id='path4102' inkscape:connector-curvature='0' sodipodi:nodetypes='ccccccccccccccccccccccccccccc' class='st1' d=' M59.1,40.3L59.1,40.3l0.2-0.1l0.1-0.1l0.2,0l0.3,0.1l0.3,0.1l0.2,0.1l0.3,0.1l0.2,0l0.3,0.1l0.2,0.1l0.1,0.1l0,0.1l-0.1,0 l-0.1,0l-0.1,0l-0.2,0l-0.2,0l-0.2,0h-0.3l-0.2,0l-0.3,0l-0.2,0l-0.3-0.1l-0.2-0.1l-0.1-0.1L59.1,40.3L59.1,40.3z'/%3E %3Cpath id='path4104' inkscape:connector-curvature='0' class='st1' d='M58.2,38.8l0-0.2l0-0.2v-0.1l0-0.1v-0.1l0-0.1l0-0.1 l-0.1-0.2L58,37.6l-0.2-0.1l-0.1-0.1h-0.1l-0.1,0l-0.1,0.1l-0.2,0.1l-0.1,0.2l0,0.1l0,0.2l0,0.3l0,0.3l0,0.3l0.1,0.3l0.1,0.3 l0.2,0.2l0.2,0.3l0.3,0.1l0.2,0.1l0.2,0.1l0.2,0l0.1,0l0.1-0.1l0.1-0.1l0-0.1l0-0.2l-0.1-0.2l-0.2-0.3l-0.2-0.2l-0.1-0.2 l-0.1-0.1L58.2,38.8z'/%3E %3C/g%3E %3Cg id='g4106-5' transform='matrix(-1,0,0,1,308.89974,347.52368)'%3E %3Cpath id='path4198-9' inkscape:connector-curvature='0' sodipodi:nodetypes='ccccccccccccccccccccccccccccccccccccccccccccccccccccc' class='st1' d=' M58.5,29.3l0.3-0.4h0l0.1-0.2l0.3-0.9l0.3-0.8l-1.5-1.1l0.3-0.4l0.2-0.6l0-1l-0.2-1l0.7-0.4l1-0.8l1.1-1.2l0.6-1.2l0.2-1.2 c0-0.3,0-0.5-0.1-1l-0.1-0.5l-0.3,0.6L61,17.9l-0.6,0.7l-0.5,0.6l-0.6,0.5l-0.6,0.4l-0.4,0.2l0-0.9l0.3-1.8l0.6-1.4l0.5-1.3 L59,15.5L58.1,16l-0.5,0.3L57,17l-0.5,0.7l-0.5,0.7l-0.5,1.1L55,20.9l-0.1,1l0,0.8l0.1,1.1l0.2,0.7l0.2,0.7l0.3,0.4l0.3,0.3 l0.3,0.2l0.3,0.5l0.2,0.4l0.4,0.8l0.5,0.6l0.3,0.4l0.3,0.3l0.2,0.2C58.5,29.2,58.4,29.2,58.5,29.3L58.5,29.3z'/%3E %3Cpath id='path4200-7' inkscape:connector-curvature='0' class='st1' d='M58.5,29.4l-0.7-0.2L57.2,29l-0.6-0.1l-0.3-0.1l-0.3,0 l-0.2,0l-0.1,0.1l-0.1,0.1L55.5,29l-0.1,0.1l-0.1,0.1l0,0.1l0,0.2l0.1,0.2l0.2,0.2l0.2,0.2l0.3,0.2l0.4,0.2l0.3,0.2l0.3,0.2 l0.7,0.3l-0.7,0.1l-0.7,0.1l-0.6,0.1l-0.4,0.1l-0.2,0.1l-0.2,0.2L55,32L55,32.2l0,0.2l0.1,0.2l0.2,0.1l0.3,0.1L56,33l0.3,0 l0.4,0l0.5,0l0.4,0l0.4,0l0.1,0L57.9,33l-0.3,0.1l-0.5,0.2l-0.5,0.3l-0.2,0.2l-0.2,0.2l-0.3,0.3l-0.2,0.3l-0.1,0.2l0,0.3 l0.1,0.2l0.1,0.2l0.1,0.1l0.2,0.1l0.2,0l0.2,0l0.3-0.1l0.2-0.1l0.3-0.2l0.3-0.2l0.2-0.1l0.3-0.1l0.4-0.1l0.3-0.1l0.1,0 l-0.2,0.1L58.3,35L58,35.3l-0.1,0.2l-0.2,0.3l-0.2,0.3l-0.1,0.3l0,0.2l0,0.2l0.1,0.2l0.2,0.2l0.1,0.1l0.1,0l0.1,0.1l0.2,0 l0.2-0.1l0.2-0.1l0.3-0.3l0.2-0.2l0.5-0.3l0.3-0.1l0.1,0L59.8,36l-0.3-0.2l-0.2-0.2l-0.2-0.3L59,35.1l-0.3-0.7L58.6,34 l-0.2-0.8l0-0.3l-0.2-1.2l0-0.6l0-0.8l0-0.2l0,0l0-0.1l0-0.2l0.1-0.3L58.5,29.4L58.5,29.4z'/%3E %3Cpath id='path4202-7' inkscape:connector-curvature='0' sodipodi:nodetypes='ccccccccccccccccccccccccccccccccc' class='st1' d=' M53.7,27.6l0.1,0.2l0.2,0.3l0.2,0.3l0.2,0.2l0.2,0.2l0.1,0.1l0.1,0.1l0.1,0.1l0.1,0l0.2,0l0.2-0.1l0.2-0.2l0.1-0.2l0-0.2 L55.4,28l-0.2-0.2l-0.3-0.4l-0.4-0.5l-0.2-0.4l-0.1-0.2L54,26.2l-0.1-0.1l-0.2,0l-0.2,0.1l-0.1,0.1l0,0.2l0,0.2l0.1,0.2 l0.1,0.3l0.1,0.2l0.1,0.1L53.7,27.6z'/%3E %3Cpath id='path4204-7' inkscape:connector-curvature='0' class='st1' d='M53,23.9l0,0.2l0,0.2l0,0.3l0,0.3l0,0.2l0,0.3l0,0.2 l0,0.1l0.1,0.1l0.1,0.1l0.1,0l0.1,0l0.1,0l0.1,0l0.1-0.1l0-0.1l0-0.1l0-0.1l0-0.1l0,0l-0.1-0.2l-0.1-0.4l-0.1-0.2l0-0.1 l-0.1-0.3l-0.1-0.3l-0.1-0.2l0-0.1l0,0l-0.1,0.1l0,0.1L53,23.9L53,23.9z'/%3E %3Cpath id='path4206-9' inkscape:connector-curvature='0' class='st1' d='M51.6,27.5L51.6,27.5l-0.1,0.2l0,0.2l0,0.2l0,0.3l0,0.2 l0,0.2l0,0.2l0.1,0.2l0.1,0.2l0.1,0.1l0,0.1l0.1,0.1l0.1,0.1l0.1,0l0.1,0l0,0l0.1-0.1l0.1-0.1l0-0.1l0-0.1l0-0.2l-0.1-0.1 l-0.2-0.4L52,28.4l-0.1-0.5l-0.1-0.3L51.6,27.5L51.6,27.5L51.6,27.5z'/%3E %3Cpath id='path4208-4' inkscape:connector-curvature='0' sodipodi:nodetypes='cccccccccccccccccccccccccccccccccccc' class='st2' d=' M53,31.4l-0.2-0.2l-0.2-0.1l-0.2-0.2l-0.1-0.1l-0.1-0.2l-0.1-0.2l0-0.1l0-0.2l0.1-0.1l0.1-0.1c0.1-0.1,0.1-0.1,0.2-0.1l0.2,0.1 l0.3,0.3l0.3,0.2l0.4,0.2l0.5,0.3l0.3,0.2l0.1,0l0.1,0.1l0.1,0.1l0,0.1l0,0.1l0,0.1l-0.1,0.1l-0.1,0.1L54.7,32L54.6,32l-0.1,0 l-0.2,0l-0.1,0l-0.3-0.1l-0.3-0.2l-0.3-0.2l-0.2-0.1L53,31.4z'/%3E %3Cpath id='path3330-2' inkscape:connector-curvature='0' sodipodi:nodetypes='cccccccccccccccc' class='st1' d='M55.5,37.4 l0.3-0.7c0.1-0.1,0.1-0.1,0.1-0.4c-0.1-0.2-0.1-0.2-0.1-0.3c-0.1-0.2-0.2-0.2-0.3-0.2c-0.2-0.1-0.3,0-0.4,0 c-0.2,0.1-0.3,0.2-0.4,0.3l-0.4,1l-0.1,0.6l-0.1,0.7l0.1,0.4l0.3,0.2l0.3-0.1l0.1-0.2l0.3-0.8L55.5,37.4z'/%3E %3Cpath id='path4100-2' inkscape:connector-curvature='0' sodipodi:nodetypes='ccccccccccccccccccccccccccc' class='st1' d=' M54.5,39.4l0.1-0.1l0.1,0l0.1,0l0.2,0l0.1,0.1l0.1,0.1l0,0.1l0.1,0.2l0,0.2l0.1,0.3l0.1,0.3l0.1,0.3l0.1,0.3l0.1,0.2l0.1,0.1 v0.1l-0.1,0l-0.2-0.1l-0.2-0.1L55.2,41L55,40.7l-0.3-0.4l-0.1-0.2l-0.1-0.3l0-0.2L54.5,39.4z'/%3E %3Cpath id='path4102-2' inkscape:connector-curvature='0' sodipodi:nodetypes='ccccccccccccccccccccccccccccc' class='st1' d=' M59.1,40.3L59.1,40.3l0.2-0.1l0.1-0.1l0.2,0l0.3,0.1l0.3,0.1l0.2,0.1l0.3,0.1l0.2,0l0.3,0.1l0.2,0.1l0.1,0.1l0,0.1l-0.1,0 l-0.1,0l-0.1,0l-0.2,0l-0.2,0l-0.2,0h-0.3l-0.2,0l-0.3,0l-0.2,0l-0.3-0.1l-0.2-0.1l-0.1-0.1L59.1,40.3L59.1,40.3z'/%3E %3Cpath id='path4104-2' inkscape:connector-curvature='0' class='st1' d='M58.2,38.8l0-0.2l0-0.2v-0.1l0-0.1v-0.1l0-0.1l0-0.1 l-0.1-0.2L58,37.6l-0.2-0.1l-0.1-0.1h-0.1l-0.1,0l-0.1,0.1l-0.2,0.1l-0.1,0.2l0,0.1l0,0.2l0,0.3l0,0.3l0,0.3l0.1,0.3l0.1,0.3 l0.2,0.2l0.2,0.3l0.3,0.1l0.2,0.1l0.2,0.1l0.2,0l0.1,0l0.1-0.1l0.1-0.1l0-0.1l0-0.2l-0.1-0.2l-0.2-0.3l-0.2-0.2l-0.1-0.2 l-0.1-0.1L58.2,38.8z'/%3E %3C/g%3E %3C/g%3E %3C/g%3E %3C/g%3E %3C/g%3E %3C/svg%3E"},"11a98db3c51babc3db90":function(e,t,l){var n=l("26c39cb762137d8c05c9");e.exports=function(e,t,l){if(n(e),void 0===t)return e;switch(l){case 1:return function(l){return e.call(t,l)};case 2:return function(l,n){return e.call(t,l,n)};case 3:return function(l,n,r){return e.call(t,l,n,r)}}return function(){return e.apply(t,arguments)}}},"11abfd16c046ca2e4177":function(e,t,l){"use strict";t.__esModule=!0,t.default=void 0;s(l("eceb6721e8f5f2e84237"));var n=s(l("442a938a1deb7b295738")),r=s(l("fd23ab03a1691ca81318")),a=s(l("8af190b70a6bc55c6f1b")),o=s(l("5f91333870c355d2b6da")),i=(l("e004da710c9e11bf4181"),l("4ced2fa2b55e2153c1a2"));function s(e){return e&&e.__esModule?e:{default:e}}function c(){return(c=Object.assign||function(e){for(var t=1;t=0||(r[l]=e[l]);return r}(e,["classNames"]));return a.default.createElement(o.default,c({},t,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},r}(a.default.Component);d.defaultProps={classNames:""},d.propTypes={};var f=d;t.default=f,e.exports=t.default},"11c375811d2cabbba50b":function(e,t,l){"use strict";var n=l("83406643bfb209d249f4"),r={};function a(e,t,l,n,r,a,o,i){if(!e){var s;if(void 0===t)s=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[l,n,r,a,o,i],u=0;(s=new Error(t.replace(/%s/g,(function(){return c[u++]})))).name="Invariant Violation"}throw s.framesToPop=1,s}}e.exports=function(e,t,l){var o=[],i={mixins:"DEFINE_MANY",statics:"DEFINE_MANY",propTypes:"DEFINE_MANY",contextTypes:"DEFINE_MANY",childContextTypes:"DEFINE_MANY",getDefaultProps:"DEFINE_MANY_MERGED",getInitialState:"DEFINE_MANY_MERGED",getChildContext:"DEFINE_MANY_MERGED",render:"DEFINE_ONCE",componentWillMount:"DEFINE_MANY",componentDidMount:"DEFINE_MANY",componentWillReceiveProps:"DEFINE_MANY",shouldComponentUpdate:"DEFINE_ONCE",componentWillUpdate:"DEFINE_MANY",componentDidUpdate:"DEFINE_MANY",componentWillUnmount:"DEFINE_MANY",UNSAFE_componentWillMount:"DEFINE_MANY",UNSAFE_componentWillReceiveProps:"DEFINE_MANY",UNSAFE_componentWillUpdate:"DEFINE_MANY",updateComponent:"OVERRIDE_BASE"},s={getDerivedStateFromProps:"DEFINE_MANY_MERGED"},c={displayName:function(e,t){e.displayName=t},mixins:function(e,t){if(t)for(var l=0;le.current);return(0,n.useEffect)(()=>(e.current=!0,()=>{e.current=!1}),[]),t.current};var n=l("8af190b70a6bc55c6f1b")},"12a89895698111384243":function(e,t,l){var n=l("fb5206efd338cf6482ca");"string"===typeof n&&(n=[[e.i,n,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};l("1e4534d1d62a11482e97")(n,r);n.locals&&(e.exports=n.locals)},"12ba4fef039ee145f0aa":function(e,t,l){"use strict";e.exports=l("d8280c05257ef9350d6e")},"134c7b94417fd09c6163":function(e,t,l){var n=l("0dd5c6afeb5423285b0e"),r=l("14163c8a75271b496bd5"),a=l("ee5b68c26f3207524545"),o=l("42bf560546df394379e1"),i=l("e91d7740780a9b1194f0")("engine.io-client:polling-xhr"),s=l("92ff0e14e095cc72ae83");function c(){}function u(e){if(r.call(this,e),this.requestTimeout=e.requestTimeout,this.extraHeaders=e.extraHeaders,"undefined"!==typeof location){var t="https:"===location.protocol,l=location.port;l||(l=t?443:80),this.xd="undefined"!==typeof location&&e.hostname!==location.hostname||l!==e.port,this.xs=e.secure!==t}}function d(e){this.method=e.method||"GET",this.uri=e.uri,this.xd=!!e.xd,this.xs=!!e.xs,this.async=!1!==e.async,this.data=void 0!==e.data?e.data:null,this.agent=e.agent,this.isBinary=e.isBinary,this.supportsBinary=e.supportsBinary,this.enablesXDR=e.enablesXDR,this.withCredentials=e.withCredentials,this.requestTimeout=e.requestTimeout,this.pfx=e.pfx,this.key=e.key,this.passphrase=e.passphrase,this.cert=e.cert,this.ca=e.ca,this.ciphers=e.ciphers,this.rejectUnauthorized=e.rejectUnauthorized,this.extraHeaders=e.extraHeaders,this.create()}if(e.exports=u,e.exports.Request=d,o(u,r),u.prototype.supportsBinary=!0,u.prototype.request=function(e){return(e=e||{}).uri=this.uri(),e.xd=this.xd,e.xs=this.xs,e.agent=this.agent||!1,e.supportsBinary=this.supportsBinary,e.enablesXDR=this.enablesXDR,e.withCredentials=this.withCredentials,e.pfx=this.pfx,e.key=this.key,e.passphrase=this.passphrase,e.cert=this.cert,e.ca=this.ca,e.ciphers=this.ciphers,e.rejectUnauthorized=this.rejectUnauthorized,e.requestTimeout=this.requestTimeout,e.extraHeaders=this.extraHeaders,new d(e)},u.prototype.doWrite=function(e,t){var l="string"!==typeof e&&void 0!==e,n=this.request({method:"POST",data:e,isBinary:l}),r=this;n.on("success",t),n.on("error",(function(e){r.onError("xhr post error",e)})),this.sendXhr=n},u.prototype.doPoll=function(){i("xhr poll");var e=this.request(),t=this;e.on("data",(function(e){t.onData(e)})),e.on("error",(function(e){t.onError("xhr poll error",e)})),this.pollXhr=e},a(d.prototype),d.prototype.create=function(){var e={agent:this.agent,xdomain:this.xd,xscheme:this.xs,enablesXDR:this.enablesXDR};e.pfx=this.pfx,e.key=this.key,e.passphrase=this.passphrase,e.cert=this.cert,e.ca=this.ca,e.ciphers=this.ciphers,e.rejectUnauthorized=this.rejectUnauthorized;var t=this.xhr=new n(e),l=this;try{i("xhr open %s: %s",this.method,this.uri),t.open(this.method,this.uri,this.async);try{if(this.extraHeaders)for(var r in t.setDisableHeaderCheck&&t.setDisableHeaderCheck(!0),this.extraHeaders)this.extraHeaders.hasOwnProperty(r)&&t.setRequestHeader(r,this.extraHeaders[r])}catch(e){}if("POST"===this.method)try{this.isBinary?t.setRequestHeader("Content-type","application/octet-stream"):t.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch(e){}try{t.setRequestHeader("Accept","*/*")}catch(e){}"withCredentials"in t&&(t.withCredentials=this.withCredentials),this.requestTimeout&&(t.timeout=this.requestTimeout),this.hasXDR()?(t.onload=function(){l.onLoad()},t.onerror=function(){l.onError(t.responseText)}):t.onreadystatechange=function(){if(2===t.readyState)try{var e=t.getResponseHeader("Content-Type");(l.supportsBinary&&"application/octet-stream"===e||"application/octet-stream; charset=UTF-8"===e)&&(t.responseType="arraybuffer")}catch(e){}4===t.readyState&&(200===t.status||1223===t.status?l.onLoad():setTimeout((function(){l.onError("number"===typeof t.status?t.status:0)}),0))},i("xhr data %s",this.data),t.send(this.data)}catch(e){return void setTimeout((function(){l.onError(e)}),0)}"undefined"!==typeof document&&(this.index=d.requestsCount++,d.requests[this.index]=this)},d.prototype.onSuccess=function(){this.emit("success"),this.cleanup()},d.prototype.onData=function(e){this.emit("data",e),this.onSuccess()},d.prototype.onError=function(e){this.emit("error",e),this.cleanup(!0)},d.prototype.cleanup=function(e){if("undefined"!==typeof this.xhr&&null!==this.xhr){if(this.hasXDR()?this.xhr.onload=this.xhr.onerror=c:this.xhr.onreadystatechange=c,e)try{this.xhr.abort()}catch(e){}"undefined"!==typeof document&&delete d.requests[this.index],this.xhr=null}},d.prototype.onLoad=function(){var e;try{var t;try{t=this.xhr.getResponseHeader("Content-Type")}catch(e){}e=("application/octet-stream"===t||"application/octet-stream; charset=UTF-8"===t)&&this.xhr.response||this.xhr.responseText}catch(e){this.onError(e)}null!=e&&this.onData(e)},d.prototype.hasXDR=function(){return"undefined"!==typeof XDomainRequest&&!this.xs&&this.enablesXDR},d.prototype.abort=function(){this.cleanup()},d.requestsCount=0,d.requests={},"undefined"!==typeof document)if("function"===typeof attachEvent)attachEvent("onunload",f);else if("function"===typeof addEventListener){addEventListener("onpagehide"in s?"pagehide":"unload",f,!1)}function f(){for(var e in d.requests)d.requests.hasOwnProperty(e)&&d.requests[e].abort()}},"138cff574f9a51e92314":function(e,t,l){var n=l("7ae52036d1906f8c617e").default;e.exports=function(e){if(null!=e){var t=e["function"==typeof Symbol&&Symbol.iterator||"@@iterator"],l=0;if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length))return{next:function(){return e&&l>=e.length&&(e=void 0),{value:e&&e[l++],done:!e}}}}throw new TypeError(n(e)+" is not iterable")},e.exports.__esModule=!0,e.exports.default=e.exports},"138fb2a9a7cb34ee0bae":function(e,t,l){"use strict";function n(e){return e&&"object"==typeof e&&"default"in e?e.default:e}Object.defineProperty(t,"__esModule",{value:!0});var r=l("999b8422c18ed8d20c8d"),a=n(l("8af190b70a6bc55c6f1b")),o=l("12ba4fef039ee145f0aa");l("93a3863410c4fe4141fc"),l("de2cf1827168a807d23d");var i=n(l("bcc48bccf3d2407d611c"));function s(){return(s=Object.assign||function(e){for(var t=1;te.length)&&(t=e.length);for(var l=0,n=Array(t);l=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,i=!1;return{s:function(){l=l.call(e)},n:function(){var e=l.next();return o=e.done,e},e:function(e){i=!0,a=e},f:function(){try{o||null==l.return||l.return()}finally{if(i)throw a}}}}(y(t));try{var o=function(){var a=r.value;b.call(e,a)||a===l||m(e,a,{get:function(){return t[a]},enumerable:!(n=g(t,a))||n.enumerable})};for(a.s();!(r=a.n()).done;)o()}catch(e){a.e(e)}finally{a.f()}}return e},x={};!function(e,t){for(var l in t)m(e,l,{get:t[l],enumerable:!0})}(x,{createContext:function(){return C},createContextScope:function(){return O}}),e.exports=(p=x,w(m({},"__esModule",{value:!0}),p));var k=function(e,t,l){return l=null!=e?h(v(e)):{},w(!t&&e&&e.__esModule?l:m(l,"default",{value:e,enumerable:!0}),e)}(l("8af190b70a6bc55c6f1b")),S=l("8567b23b9e7b28835bab");function C(e,t){var l=k.createContext(t),r=function(e){var t=e.children,r=c(e,n),a=k.useMemo((function(){return r}),Object.values(r));return(0,S.jsx)(l.Provider,{value:a,children:t})};return r.displayName=e+"Provider",[r,function(n){var r=k.useContext(l);if(r)return r;if(void 0!==t)return t;throw new Error("`".concat(n,"` must be used within `").concat(e,"`"))}]}function O(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],l=[];function n(t,n){var a=k.createContext(n),o=l.length;l=[].concat(s(l),[n]);var i=function(t){var l,n=t.scope,i=t.children,s=c(t,r),u=(null===n||void 0===n||null===(l=n[e])||void 0===l?void 0:l[o])||a,d=k.useMemo((function(){return s}),Object.values(s));return(0,S.jsx)(u.Provider,{value:d,children:i})};return i.displayName=t+"Provider",[i,function(l,r){var i,s=(null===r||void 0===r||null===(i=r[e])||void 0===i?void 0:i[o])||a,c=k.useContext(s);if(c)return c;if(void 0!==n)return n;throw new Error("`".concat(l,"` must be used within `").concat(t,"`"))}]}var a=function(){var t=l.map((function(e){return k.createContext(e)}));return function(l){var n=(null===l||void 0===l?void 0:l[e])||t;return k.useMemo((function(){return i({},"__scope".concat(e),o(o({},l),{},i({},e,n)))}),[l,n])}};return a.scopeName=e,[n,M.apply(void 0,[a].concat(s(t)))]}function M(){for(var e=arguments.length,t=new Array(e),l=0;lo)return e;return f},t.findNextRangeIndex=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1,l=e.findIndex((function(e,l){return l>t&&!1!==e.autoFocus&&!e.disabled}));return-1!==l?l:e.findIndex((function(e){return!1!==e.autoFocus&&!e.disabled}))},t.getMonthDisplayRange=function(e,t,l){var n=(0,u.default)(e,t),a=(0,c.default)(e,t),d=(0,s.default)(n,t),f=(0,i.default)(a,t);l&&(0,o.default)(f,d)<=34&&(f=(0,r.default)(f,7));return{start:d,end:f,startDateOfMonth:n,endDateOfMonth:a}},t.generateStyles=function(e){return e.length?e.filter((function(e){return Boolean(e)})).reduce((function(e,t){return Object.keys(t).forEach((function(l){e[l]=(0,n.default)(e[l],t[l])})),e}),{}):{}};var n=d(l("b912ecc4473ae8a2ff0b")),r=d(l("9de5dd223b8226f1c87e")),a=d(l("ab7ef49ce316cf04ab2d")),o=d(l("539995344e27d3fecf4e")),i=d(l("633c5e86e878ea3e6220")),s=d(l("e32bb17020e5847d985b")),c=d(l("8e55cc070aae49a69fe9")),u=d(l("0906dffb33e3ccf67736"));function d(e){return e&&e.__esModule?e:{default:e}}},"14ad46f36176c022aa5d":function(e,t,l){"use strict";t.__esModule=!0,t.default=t.EXITING=t.ENTERED=t.ENTERING=t.EXITED=t.UNMOUNTED=void 0;var n=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var l in e)if(Object.prototype.hasOwnProperty.call(e,l)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,l):{};n.get||n.set?Object.defineProperty(t,l,n):t[l]=e[l]}return t.default=e,t}(l("a612258e94a9cc364367")),r=i(l("8af190b70a6bc55c6f1b")),a=i(l("63f14ac74ce296f77f4d")),o=l("aa5f5aa112e9aad64e6a");l("990ff7a574b13f6b5b14");function i(e){return e&&e.__esModule?e:{default:e}}t.UNMOUNTED="unmounted";t.EXITED="exited";t.ENTERING="entering";t.ENTERED="entered";t.EXITING="exiting";var s=function(e){var t,l;function n(t,l){var n;n=e.call(this,t,l)||this;var r,a=l.transitionGroup,o=a&&!a.isMounting?t.enter:t.appear;return n.appearStatus=null,t.in?o?(r="exited",n.appearStatus="entering"):r="entered":r=t.unmountOnExit||t.mountOnEnter?"unmounted":"exited",n.state={status:r},n.nextCallback=null,n}l=e,(t=n).prototype=Object.create(l.prototype),t.prototype.constructor=t,t.__proto__=l;var o=n.prototype;return o.getChildContext=function(){return{transitionGroup:null}},n.getDerivedStateFromProps=function(e,t){return e.in&&"unmounted"===t.status?{status:"exited"}:null},o.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},o.componentDidUpdate=function(e){var t=null;if(e!==this.props){var l=this.state.status;this.props.in?"entering"!==l&&"entered"!==l&&(t="entering"):"entering"!==l&&"entered"!==l||(t="exiting")}this.updateStatus(!1,t)},o.componentWillUnmount=function(){this.cancelNextCallback()},o.getTimeouts=function(){var e,t,l,n=this.props.timeout;return e=t=l=n,null!=n&&"number"!==typeof n&&(e=n.exit,t=n.enter,l=void 0!==n.appear?n.appear:t),{exit:e,enter:t,appear:l}},o.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t){this.cancelNextCallback();var l=a.default.findDOMNode(this);"entering"===t?this.performEnter(l,e):this.performExit(l)}else this.props.unmountOnExit&&"exited"===this.state.status&&this.setState({status:"unmounted"})},o.performEnter=function(e,t){var l=this,n=this.props.enter,r=this.context.transitionGroup?this.context.transitionGroup.isMounting:t,a=this.getTimeouts(),o=r?a.appear:a.enter;t||n?(this.props.onEnter(e,r),this.safeSetState({status:"entering"},(function(){l.props.onEntering(e,r),l.onTransitionEnd(e,o,(function(){l.safeSetState({status:"entered"},(function(){l.props.onEntered(e,r)}))}))}))):this.safeSetState({status:"entered"},(function(){l.props.onEntered(e)}))},o.performExit=function(e){var t=this,l=this.props.exit,n=this.getTimeouts();l?(this.props.onExit(e),this.safeSetState({status:"exiting"},(function(){t.props.onExiting(e),t.onTransitionEnd(e,n.exit,(function(){t.safeSetState({status:"exited"},(function(){t.props.onExited(e)}))}))}))):this.safeSetState({status:"exited"},(function(){t.props.onExited(e)}))},o.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},o.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},o.setNextCallback=function(e){var t=this,l=!0;return this.nextCallback=function(n){l&&(l=!1,t.nextCallback=null,e(n))},this.nextCallback.cancel=function(){l=!1},this.nextCallback},o.onTransitionEnd=function(e,t,l){this.setNextCallback(l);var n=null==t&&!this.props.addEndListener;e&&!n?(this.props.addEndListener&&this.props.addEndListener(e,this.nextCallback),null!=t&&setTimeout(this.nextCallback,t)):setTimeout(this.nextCallback,0)},o.render=function(){var e=this.state.status;if("unmounted"===e)return null;var t=this.props,l=t.children,n=function(e,t){if(null==e)return{};var l,n,r={},a=Object.keys(e);for(n=0;n=0||(r[l]=e[l]);return r}(t,["children"]);if(delete n.in,delete n.mountOnEnter,delete n.unmountOnExit,delete n.appear,delete n.enter,delete n.exit,delete n.timeout,delete n.addEndListener,delete n.onEnter,delete n.onEntering,delete n.onEntered,delete n.onExit,delete n.onExiting,delete n.onExited,"function"===typeof l)return l(e,n);var a=r.default.Children.only(l);return r.default.cloneElement(a,n)},n}(r.default.Component);function c(){}s.contextTypes={transitionGroup:n.object},s.childContextTypes={transitionGroup:function(){}},s.propTypes={},s.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:c,onEntering:c,onEntered:c,onExit:c,onExiting:c,onExited:c},s.UNMOUNTED=0,s.EXITED=1,s.ENTERING=2,s.ENTERED=3,s.EXITING=4;var u=(0,o.polyfill)(s);t.default=u},"1532b24bfb4ac7747105":function(e,t,l){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},"156a58dfce3009a43926":function(e,t,l){"use strict";t.__esModule=!0,t.default=void 0;!function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var l in e)if(Object.prototype.hasOwnProperty.call(e,l)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,l):{};n.get||n.set?Object.defineProperty(t,l,n):t[l]=e[l]}t.default=e}(l("a612258e94a9cc364367"));var n=i(l("d46bca524b3b0ecd3f41")),r=i(l("90076154fd69302cf63a")),a=i(l("8af190b70a6bc55c6f1b")),o=i(l("14ad46f36176c022aa5d"));l("990ff7a574b13f6b5b14");function i(e){return e&&e.__esModule?e:{default:e}}function s(){return(s=Object.assign||function(e){for(var t=1;t0)return function(e){if((e=String(e)).length>100)return;var t=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(e);if(!t)return;var o=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*o;case"days":case"day":case"d":return o*a;case"hours":case"hour":case"hrs":case"hr":case"h":return o*r;case"minutes":case"minute":case"mins":case"min":case"m":return o*n;case"seconds":case"second":case"secs":case"sec":case"s":return o*l;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return o;default:return}}(e);if("number"===s&&!1===isNaN(e))return t.long?o(i=e,a,"day")||o(i,r,"hour")||o(i,n,"minute")||o(i,l,"second")||i+" ms":function(e){if(e>=a)return Math.round(e/a)+"d";if(e>=r)return Math.round(e/r)+"h";if(e>=n)return Math.round(e/n)+"m";if(e>=l)return Math.round(e/l)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},"15f89efdbd87c9225fa8":function(e,t,l){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Workbook=t.Sheet=t.Column=void 0;var n=function(){function e(e,t){for(var l=0;l is not meant to be rendered.")}}]),t}(r.Component);h.propTypes={label:o.default.string.isRequired,value:o.default.oneOfType([o.default.string,o.default.func]).isRequired};var m=t.Sheet=function(e){function t(){return u(this,t),d(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return f(t,e),n(t,[{key:"render",value:function(){throw new Error(" is not meant to be rendered.")}}]),t}(r.Component);m.propTypes={name:o.default.string.isRequired,data:o.default.oneOfType([o.default.array,o.default.func]).isRequired,children:o.default.arrayOf((function(e,t){if(e[t].type!==h)throw new Error(" can only have 's as children. ")})).isRequired};var g=t.Workbook=function(e){function t(e){u(this,t);var l=d(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return l.download=l.download.bind(l),l.createSheetData=l.createSheetData.bind(l),l}return f(t,e),n(t,[{key:"createSheetData",value:function(e){var t=e.props.children,l=[a.default.Children.map(t,(function(e){return e.props.label}))];return("function"===typeof e.props.data?e.props.data():e.props.data).forEach((function(e){var n=[];a.default.Children.forEach(t,(function(t){var l="function"===typeof t.props.value?t.props.value:function(e){return e[t.props.value]};n.push(l(e)||"")})),l.push(n)})),l}},{key:"download",value:function(){var e=this,t={SheetNames:a.default.Children.map(this.props.children,(function(e){return e.props.name})),Sheets:{}};a.default.Children.forEach(this.props.children,(function(l){t.Sheets[l.props.name]=function(e){for(var t,l={},n={s:{c:1e7,r:1e7},e:{c:0,r:0}},r=0;r!=e.length;++r)for(var a=0;a!=e[r].length;++a){n.s.r>r&&(n.s.r=r),n.s.c>a&&(n.s.c=a),n.e.r can only have 's as children. ")}))}},g.Column=h,g.Sheet=m,t.default=g},"168260b376d180cb3264":function(e,t,l){(t=e.exports=l("0e326f80368fd0b1333e")(!1)).push([e.i,".errorBoundary{position:relative;display:flex;justify-content:center;align-items:center;width:calc(100% - 10px);height:calc(100% - 85px);margin-top:3px;background:#fff;box-shadow:0 0 4px 4px #d3d3d3;overflow-y:auto}.errorBoundary .error{display:flex;flex-direction:column;justify-content:center;align-items:center;color:#000;width:100%;overflow:hidden}.errorBoundary .error .errorIcon{display:flex;width:200px;height:200px;min-width:200px;min-height:200px;justify-content:center;align-items:center;font-size:12em;padding:10px;color:#3e438d}.errorBoundary .error .error-somethingWrong{display:flex;justify-content:center;text-align:center;margin-top:20px;font-size:2.5em;color:#3e438d;font-weight:bold}.errorBoundary .error .error-sentry{display:flex;justify-content:center;align-items:center;height:40px;margin-top:40px;color:#333;min-width:300px;max-width:400px;padding:0 10px;background-color:#ebebeb}.errorBoundary .error .error-report-block{display:flex;flex-direction:column;justify-content:center;align-items:center;margin-top:60px}.errorBoundary .error .error-report-block .error-report-text{color:#333;font-weight:bold;font-size:1.1em;text-align:center}.errorBoundary .error .error-report-block .error-report-button{margin:10px 0}.errorBoundary .error .tryAgain{cursor:pointer;user-select:none;padding:10px 30px;transition:.2s;border:1px solid #fff}.errorBoundary .error .tryAgain:hover{background:#fff;color:#151515}.errorButtonBlock{display:flex;align-items:center;justify-content:center}.errorButtonBlock .errorButtonLinear{position:relative;border:1px solid #141443;color:#141443;display:flex;align-items:center;justify-content:center;cursor:pointer;padding:0 20px;height:30px;min-width:100px;font-size:.9em;box-shadow:1px 1px 2px #141443;font-weight:bold;transition:.4s;user-select:none}.errorButtonBlock .errorButtonLinear:hover,.errorButtonBlock .errorButtonLinear.active{color:#fff;background-color:#141443}.error-modal-container{height:550px;width:80vw;background-color:#fff}.error-modal-container .error-modal-header{position:relative;display:flex;align-items:center;justify-content:center;height:60px;padding:0 20px;border-bottom:1px solid #d3d3d3}.error-modal-container .error-modal-header .error-modal-header-back{position:absolute;top:20px;right:20px;display:flex;height:20px;width:20px;align-items:center;cursor:pointer}.error-modal-container .error-modal-header .error-modal-header-back em{font-size:12px}.error-modal-container .error-modal-header .error-modal-header-back:hover{color:#141443}.error-modal-container .error-modal-header .error-modal-header-title{font-weight:bold}.error-modal-container .error-modal-content{height:440px;padding:20px}.error-modal-container .error-modal-content .error-modal-send{margin-top:20px;display:flex;justify-content:center;align-items:center}",""]),t.locals={activeButtonBackground:"#141443",lightPrimary:"#4e4edb",primaryColor:"#141443",secondaryColor:"#3e438d",toggleBackgroundColor:"#14468c",toggleActiveThumb:"#06386a",toggleInactiveThumb:"#fafafa",toggleActiveBase:"#141443",toggleActiveWrapperBase:"#141443",toggleActiveHover:"#3e438d",toggleActiveWrapperHover:"#3e438d",toggleInactiveBase:"#cdcdcd",toggleInactiveWrapperBase:"#cdcdcd",toggleInactiveHover:"#dcdcdc",toggleInactiveWrapperHover:"#dcdcdc"}},"16ccf52d91a9ffc07cb5":function(e,t,l){"use strict";var n=l("8e6d34d5e2b1c9c449c0");t.__esModule=!0,t.default=void 0;var r=n(l("2c62cf50f9b98ad5e2af")),a=n(l("84ed169f5b76a6b15fc0")),o=n(l("b912ecc4473ae8a2ff0b")),i=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==typeof e&&"function"!==typeof e)return{default:e};var l=f(t);if(l&&l.has(e))return l.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,l&&l.set(e,n);return n}(l("8af190b70a6bc55c6f1b")),s=(n(l("49a47d064cfbf2949ee5")),n(l("1f61575e8c12ef7ccb9f"))),c=n(l("89e528d82aad1a5b7245")),u=l("de45080f617146192f27"),d=["as","bsPrefix","column","srOnly","className","htmlFor"];function f(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,l=new WeakMap;return(f=function(e){return e?l:t})(e)}var p=i.default.forwardRef((function(e,t){var l=e.as,n=void 0===l?"label":l,f=e.bsPrefix,p=e.column,h=e.srOnly,m=e.className,g=e.htmlFor,y=(0,a.default)(e,d),v=(0,i.useContext)(c.default).controlId;f=(0,u.useBootstrapPrefix)(f,"form-label");var b="col-form-label";"string"===typeof p&&(b=b+" "+b+"-"+p);var w=(0,o.default)(m,f,h&&"sr-only",p&&b);return g=g||v,p?i.default.createElement(s.default,(0,r.default)({ref:t,as:"label",className:w,htmlFor:g},y)):i.default.createElement(n,(0,r.default)({ref:t,className:w,htmlFor:g},y))}));p.displayName="FormLabel",p.defaultProps={column:!1,srOnly:!1};var h=p;t.default=h,e.exports=t.default},"16ed5e814ccb32d55f28":function(e,t,l){var n=l("7ae52036d1906f8c617e").default;function r(t,l){if("function"==typeof WeakMap)var a=new WeakMap,o=new WeakMap;return(e.exports=r=function(e,t){if(!t&&e&&e.__esModule)return e;var l,r,i={__proto__:null,default:e};if(null===e||"object"!=n(e)&&"function"!=typeof e)return i;if(l=t?o:a){if(l.has(e))return l.get(e);l.set(e,i)}for(var s in e)"default"!==s&&{}.hasOwnProperty.call(e,s)&&((r=(l=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,s))&&(r.get||r.set)?l(i,s,r):i[s]=e[s]);return i},e.exports.__esModule=!0,e.exports.default=e.exports)(t,l)}e.exports=r,e.exports.__esModule=!0,e.exports.default=e.exports},"173a3ffe71b6012000f5":function(e,t,l){"use strict";var n=l("8e6d34d5e2b1c9c449c0");t.__esModule=!0,t.default=void 0;var r=n(l("55e81e4240ff2893750e")),a=n(l("2c8c73bb71efe74da7af")),o=l("8af190b70a6bc55c6f1b"),i=n(l("976c83b14986293285d6")),s=n(l("49a47d064cfbf2949ee5")),c=n(l("45ef179a7cd2d025d070")),u=function(){};var d=function(e){return e&&("current"in e?e.current:e)};var f=function(e,t,l){var n=void 0===l?{}:l,f=n.disabled,p=n.clickTrigger,h=void 0===p?"click":p,m=(0,o.useRef)(!1),g=t||u,y=(0,o.useCallback)((function(t){var l,n,a=d(e);(0,s.default)(!!a,"RootClose captured a close event but does not have a ref to compare it to. useRootClose(), should be passed a ref that resolves to a DOM node"),m.current=!a||!!((n=t).metaKey||n.altKey||n.ctrlKey||n.shiftKey)||!function(e){return 0===e.button}(t)||!!(0,r.default)(a,null!=(l=null==t.composedPath?void 0:t.composedPath()[0])?l:t.target)}),[e]),v=(0,i.default)((function(e){m.current||g(e)})),b=(0,i.default)((function(e){27===e.keyCode&&g(e)}));(0,o.useEffect)((function(){if(!f&&null!=e){var t=window.event,l=(0,c.default)(d(e)),n=(0,a.default)(l,h,y,!0),r=(0,a.default)(l,h,(function(e){e!==t?v(e):t=void 0})),o=(0,a.default)(l,"keyup",(function(e){e!==t?b(e):t=void 0})),i=[];return"ontouchstart"in l.documentElement&&(i=[].slice.call(l.body.children).map((function(e){return(0,a.default)(e,"mousemove",u)}))),function(){n(),r(),o(),i.forEach((function(e){return e()}))}}}),[e,f,h,y,v,b])};t.default=f,e.exports=t.default},"1741230fec78853e2c96":function(e,t,l){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GoogleFields=void 0;var n=i(l("8af190b70a6bc55c6f1b")),r=i(l("608c27659c3f9bc71af5")),a=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&(t[l]=e[l]);return t.default=e,t}(l("dd2851c8aa973ffe308b")),o=l("cdbdceb308980cb97c93");function i(e){return e&&e.__esModule?e:{default:e}}var s=t.GoogleFields=function(e){var t=e.onChange,l=e.rgb,i=e.hsl,s=e.hex,c=e.hsv,u=function(e,l){if(e.hex)a.isValidHex(e.hex)&&t({hex:e.hex,source:"hex"},l);else if(e.rgb){var n=e.rgb.split(",");a.isvalidColorString(e.rgb,"rgb")&&t({r:n[0],g:n[1],b:n[2],a:1,source:"rgb"},l)}else if(e.hsv){var r=e.hsv.split(",");a.isvalidColorString(e.hsv,"hsv")&&(r[2]=r[2].replace("%",""),r[1]=r[1].replace("%",""),r[0]=r[0].replace("\xb0",""),1==r[1]?r[1]=.01:1==r[2]&&(r[2]=.01),t({h:Number(r[0]),s:Number(r[1]),v:Number(r[2]),source:"hsv"},l))}else if(e.hsl){var o=e.hsl.split(",");a.isvalidColorString(e.hsl,"hsl")&&(o[2]=o[2].replace("%",""),o[1]=o[1].replace("%",""),o[0]=o[0].replace("\xb0",""),1==h[1]?h[1]=.01:1==h[2]&&(h[2]=.01),t({h:Number(o[0]),s:Number(o[1]),v:Number(o[2]),source:"hsl"},l))}},d=(0,r.default)({default:{wrap:{display:"flex",height:"100px",marginTop:"4px"},fields:{width:"100%"},column:{paddingTop:"10px",display:"flex",justifyContent:"space-between"},double:{padding:"0px 4.4px",boxSizing:"border-box"},input:{width:"100%",height:"38px",boxSizing:"border-box",padding:"4px 10% 3px",textAlign:"center",border:"1px solid #dadce0",fontSize:"11px",textTransform:"lowercase",borderRadius:"5px",outline:"none",fontFamily:"Roboto,Arial,sans-serif"},input2:{height:"38px",width:"100%",border:"1px solid #dadce0",boxSizing:"border-box",fontSize:"11px",textTransform:"lowercase",borderRadius:"5px",outline:"none",paddingLeft:"10px",fontFamily:"Roboto,Arial,sans-serif"},label:{textAlign:"center",fontSize:"12px",background:"#fff",position:"absolute",textTransform:"uppercase",color:"#3c4043",width:"35px",top:"-6px",left:"0",right:"0",marginLeft:"auto",marginRight:"auto",fontFamily:"Roboto,Arial,sans-serif"},label2:{left:"10px",textAlign:"center",fontSize:"12px",background:"#fff",position:"absolute",textTransform:"uppercase",color:"#3c4043",width:"32px",top:"-6px",fontFamily:"Roboto,Arial,sans-serif"},single:{flexGrow:"1",margin:"0px 4.4px"}}}),f=l.r+", "+l.g+", "+l.b,p=Math.round(i.h)+"\xb0, "+Math.round(100*i.s)+"%, "+Math.round(100*i.l)+"%",h=Math.round(c.h)+"\xb0, "+Math.round(100*c.s)+"%, "+Math.round(100*c.v)+"%";return n.default.createElement("div",{style:d.wrap,className:"flexbox-fix"},n.default.createElement("div",{style:d.fields},n.default.createElement("div",{style:d.double},n.default.createElement(o.EditableInput,{style:{input:d.input,label:d.label},label:"hex",value:s,onChange:u})),n.default.createElement("div",{style:d.column},n.default.createElement("div",{style:d.single},n.default.createElement(o.EditableInput,{style:{input:d.input2,label:d.label2},label:"rgb",value:f,onChange:u})),n.default.createElement("div",{style:d.single},n.default.createElement(o.EditableInput,{style:{input:d.input2,label:d.label2},label:"hsv",value:h,onChange:u})),n.default.createElement("div",{style:d.single},n.default.createElement(o.EditableInput,{style:{input:d.input2,label:d.label2},label:"hsl",value:p,onChange:u})))))};t.default=s},"1753bbe43245bae19898":function(e,t,l){"use strict";e.exports=function(e,t,l,n,r){return e.config=t,l&&(e.code=l),e.request=n,e.response=r,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},e}},"177339511e2d5cd40a37":function(e,t,l){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createStaticRanges=b,t.defaultInputRanges=t.defaultStaticRanges=void 0;var n=p(l("539995344e27d3fecf4e")),r=p(l("c3434d69ba3b18f539e4")),a=p(l("633c5e86e878ea3e6220")),o=p(l("e32bb17020e5847d985b")),i=p(l("d51f49b4322e86fe5342")),s=p(l("8e55cc070aae49a69fe9")),c=p(l("0906dffb33e3ccf67736")),u=p(l("fb0b377c37685e96dec6")),d=p(l("8e4bb787bbcd37e3e068")),f=p(l("9de5dd223b8226f1c87e"));function p(e){return e&&e.__esModule?e:{default:e}}function h(e,t){var l=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),l.push.apply(l,n)}return l}function m(e){for(var t=1;t=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,i=!1;return{s:function(){l=l.call(e)},n:function(){var e=l.next();return o=e.done,e},e:function(e){i=!0,a=e},f:function(){try{o||null==l.return||l.return()}finally{if(i)throw a}}}}function S(e,t){if(e){if("string"==typeof e)return C(e,t);var l={}.toString.call(e).slice(8,-1);return"Object"===l&&e.constructor&&(l=e.constructor.name),"Map"===l||"Set"===l?Array.from(e):"Arguments"===l||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(l)?C(e,t):void 0}}function C(e,t){(null==t||t>e.length)&&(t=e.length);for(var l=0,n=Array(t);l1&&Array.from(t).every((function(e){return e===t[0]}))?t[0]:t,r=l?e.indexOf(l):-1,a=(o=e,i=Math.max(r,0),o.map((function(e,t){return o[(i+t)%o.length]})));var o,i;1===n.length&&(a=a.filter((function(e){return e!==l})));var s=a.find((function(e){return e.toLowerCase().startsWith(n.toLowerCase())}));return s!==l?s:void 0}(r.map((function(e){return e.textValue})),n,o),s=null===(l=r.find((function(e){return e.textValue===i})))||void 0===l?void 0:l.ref.current;!function e(t){D.current=t,window.clearTimeout(j.current),""!==t&&(j.current=window.setTimeout((function(){return e("")}),1e3))}(n),s&&setTimeout((function(){return s.focus()}))};L.useEffect((function(){return function(){return window.clearTimeout(j.current)}}),[]),(0,V.useFocusGuards)();var Z=L.useCallback((function(e){var t,l;return B.current===(null===(t=N.current)||void 0===t?void 0:t.side)&&function(e,t){return!!t&&function(e,t){for(var l=e.x,n=e.y,r=!1,a=0,o=t.length-1;an!==f>n&&l<(d-c)*(n-u)/(f-u)+c&&(r=!r)}return r}({x:e.clientX,y:e.clientY},t)}(e,null===(l=N.current)||void 0===l?void 0:l.area)}),[]);return(0,ne.jsx)(Te,{scope:l,searchRef:D,onItemEnter:L.useCallback((function(e){Z(e)&&e.preventDefault()}),[Z]),onItemLeave:L.useCallback((function(e){var t;Z(e)||(null===(t=A.current)||void 0===t||t.focus(),P(null))}),[Z]),onTriggerLeave:L.useCallback((function(e){Z(e)&&e.preventDefault()}),[Z]),pointerGraceTimerRef:I,onPointerGraceIntentChange:L.useCallback((function(e){N.current=e}),[]),children:(0,ne.jsx)(U,b(b({},$),{},{children:(0,ne.jsx)(W.FocusScope,{asChild:!0,trapped:o,onMountAutoFocus:(0,R.composeEventHandlers)(i,(function(e){var t;e.preventDefault(),null===(t=A.current)||void 0===t||t.focus({preventScroll:!0})})),onUnmountAutoFocus:s,children:(0,ne.jsx)(H.DismissableLayer,{asChild:!0,disableOutsidePointerEvents:c,onEscapeKeyDown:d,onPointerDownOutside:f,onFocusOutside:p,onInteractOutside:h,onDismiss:m,children:(0,ne.jsx)(X.Root,b(b({asChild:!0},O),{},{dir:S.dir,orientation:"vertical",loop:r,currentTabStopId:E,onCurrentTabStopIdChange:P,onEntryFocus:(0,R.composeEventHandlers)(u,(function(e){S.isUsingKeyboardRef.current||e.preventDefault()})),preventScrollOnEntryFocus:!0,children:(0,ne.jsx)(G.Content,b(b(b({role:"menu","aria-orientation":"vertical","data-state":ot(w.open),"data-radix-menu-content":"",dir:S.dir},C),v),{},{ref:T,style:b({outline:"none"},v.style),onKeyDown:(0,R.composeEventHandlers)(v.onKeyDown,(function(e){var t=e.target.closest("[data-radix-menu-content]")===e.currentTarget,l=e.ctrlKey||e.altKey||e.metaKey,n=1===e.key.length;t&&("Tab"===e.key&&e.preventDefault(),!l&&n&&q(e.key));var r=A.current;if(e.target===r&&oe.includes(e.key)){e.preventDefault();var a=M().filter((function(e){return!e.disabled})).map((function(e){return e.ref.current}));ae.includes(e.key)&&a.reverse(),function(e){var t,l=document.activeElement,n=k(e);try{for(n.s();!(t=n.n()).done;){var r=t.value;if(r===l)return;if(r.focus(),document.activeElement!==l)return}}catch(e){n.e(e)}finally{n.f()}}(a)}})),onBlur:(0,R.composeEventHandlers)(e.onBlur,(function(e){e.currentTarget.contains(e.target)||(window.clearTimeout(j.current),D.current="")})),onPointerMove:(0,R.composeEventHandlers)(e.onPointerMove,ct((function(e){var t=e.target,l=z.current!==e.clientX;if(e.currentTarget.contains(t)&&l){var n=e.clientX>z.current?"right":"left";B.current=n,z.current=e.clientX}})))}))}))})})}))})}));De.displayName="MenuContent";var Be=L.forwardRef((function(e,t){e.__scopeMenu;var l=y(e,o);return(0,ne.jsx)(Y.Primitive.div,b(b({role:"group"},l),{},{ref:t}))}));Be.displayName="MenuGroup";var Fe=L.forwardRef((function(e,t){e.__scopeMenu;var l=y(e,i);return(0,ne.jsx)(Y.Primitive.div,b(b({},l),{},{ref:t}))}));Fe.displayName="MenuLabel";var ze=L.forwardRef((function(e,t){var l=e.disabled,n=void 0!==l&&l,r=e.onSelect,a=y(e,s),o=L.useRef(null),i=Se("MenuItem",e.__scopeMenu),c=je("MenuItem",e.__scopeMenu),u=(0,F.useComposedRefs)(t,o),d=L.useRef(!1);return(0,ne.jsx)(Ue,b(b({},a),{},{ref:u,disabled:n,onClick:(0,R.composeEventHandlers)(e.onClick,(function(){var e=o.current;if(!n&&e){var t=new CustomEvent("menu.itemSelect",{bubbles:!0,cancelable:!0});e.addEventListener("menu.itemSelect",(function(e){return null===r||void 0===r?void 0:r(e)}),{once:!0}),(0,Y.dispatchDiscreteCustomEvent)(e,t),t.defaultPrevented?d.current=!1:i.onClose()}})),onPointerDown:function(t){var l;null===(l=e.onPointerDown)||void 0===l||l.call(e,t),d.current=!0},onPointerUp:(0,R.composeEventHandlers)(e.onPointerUp,(function(e){var t;d.current||null===(t=e.currentTarget)||void 0===t||t.click()})),onKeyDown:(0,R.composeEventHandlers)(e.onKeyDown,(function(e){var t=""!==c.searchRef.current;n||t&&" "===e.key||re.includes(e.key)&&(e.currentTarget.click(),e.preventDefault())}))}))}));ze.displayName="MenuItem";var Ue=L.forwardRef((function(e,t){var l=e.__scopeMenu,n=e.disabled,r=void 0!==n&&n,a=e.textValue,o=y(e,c),i=je("MenuItem",l),s=ye(l),u=L.useRef(null),d=(0,F.useComposedRefs)(t,u),f=x(L.useState(!1),2),p=f[0],h=f[1],m=x(L.useState(""),2),g=m[0],v=m[1];return L.useEffect((function(){var e,t=u.current;t&&v((null!==(e=t.textContent)&&void 0!==e?e:"").trim())}),[o.children]),(0,ne.jsx)(ue.ItemSlot,{scope:l,disabled:r,textValue:null!==a&&void 0!==a?a:g,children:(0,ne.jsx)(X.Item,b(b({asChild:!0},s),{},{focusable:!r,children:(0,ne.jsx)(Y.Primitive.div,b(b({role:"menuitem","data-highlighted":p?"":void 0,"aria-disabled":r||void 0,"data-disabled":r?"":void 0},o),{},{ref:d,onPointerMove:(0,R.composeEventHandlers)(e.onPointerMove,ct((function(e){r?i.onItemLeave(e):(i.onItemEnter(e),e.defaultPrevented||e.currentTarget.focus({preventScroll:!0}))}))),onPointerLeave:(0,R.composeEventHandlers)(e.onPointerLeave,ct((function(e){return i.onItemLeave(e)}))),onFocus:(0,R.composeEventHandlers)(e.onFocus,(function(){return h(!0)})),onBlur:(0,R.composeEventHandlers)(e.onBlur,(function(){return h(!1)}))}))}))})})),He=L.forwardRef((function(e,t){var l=e.checked,n=void 0!==l&&l,r=e.onCheckedChange,a=y(e,u);return(0,ne.jsx)(Ke,{scope:e.__scopeMenu,checked:n,children:(0,ne.jsx)(ze,b(b({role:"menuitemcheckbox","aria-checked":it(n)?"mixed":n},a),{},{ref:t,"data-state":st(n),onSelect:(0,R.composeEventHandlers)(a.onSelect,(function(){return null===r||void 0===r?void 0:r(!!it(n)||!n)}),{checkForDefaultPrevented:!1})}))})}));He.displayName="MenuCheckboxItem";var Ve=x(he("MenuRadioGroup",{value:void 0,onValueChange:function(){}}),2),We=Ve[0],$e=Ve[1],Ge=L.forwardRef((function(e,t){var l=e.value,n=e.onValueChange,r=y(e,d),a=(0,ee.useCallbackRef)(n);return(0,ne.jsx)(We,{scope:e.__scopeMenu,value:l,onValueChange:a,children:(0,ne.jsx)(Be,b(b({},r),{},{ref:t}))})}));Ge.displayName="MenuRadioGroup";var qe=L.forwardRef((function(e,t){var l=e.value,n=y(e,f),r=$e("MenuRadioItem",e.__scopeMenu),a=l===r.value;return(0,ne.jsx)(Ke,{scope:e.__scopeMenu,checked:a,children:(0,ne.jsx)(ze,b(b({role:"menuitemradio","aria-checked":a},n),{},{ref:t,"data-state":st(a),onSelect:(0,R.composeEventHandlers)(n.onSelect,(function(){var e;return null===(e=r.onValueChange)||void 0===e?void 0:e.call(r,l)}),{checkForDefaultPrevented:!1})}))})}));qe.displayName="MenuRadioItem";var Ze=x(he("MenuItemIndicator",{checked:!1}),2),Ke=Ze[0],Ye=Ze[1],Xe=L.forwardRef((function(e,t){var l=e.__scopeMenu,n=e.forceMount,r=y(e,p),a=Ye("MenuItemIndicator",l);return(0,ne.jsx)(K.Presence,{present:n||it(a.checked)||!0===a.checked,children:(0,ne.jsx)(Y.Primitive.span,b(b({},r),{},{ref:t,"data-state":st(a.checked)}))})}));Xe.displayName="MenuItemIndicator";var Je=L.forwardRef((function(e,t){e.__scopeMenu;var l=y(e,h);return(0,ne.jsx)(Y.Primitive.div,b(b({role:"separator","aria-orientation":"horizontal"},l),{},{ref:t}))}));Je.displayName="MenuSeparator";var Qe=L.forwardRef((function(e,t){var l=e.__scopeMenu,n=y(e,m),r=ge(l);return(0,ne.jsx)(G.Arrow,b(b(b({},r),n),{},{ref:t}))}));Qe.displayName="MenuArrow";var et=x(he("MenuSub"),2),tt=et[0],lt=et[1],nt=function(e){var t=e.__scopeMenu,l=e.children,n=e.open,r=void 0!==n&&n,a=e.onOpenChange,o=we("MenuSub",t),i=ge(t),s=x(L.useState(null),2),c=s[0],u=s[1],d=x(L.useState(null),2),f=d[0],p=d[1],h=(0,ee.useCallbackRef)(a);return L.useEffect((function(){return!1===o.open&&h(!1),function(){return h(!1)}}),[o.open,h]),(0,ne.jsx)(G.Root,b(b({},i),{},{children:(0,ne.jsx)(be,{scope:t,open:r,onOpenChange:h,content:f,onContentChange:p,children:(0,ne.jsx)(tt,{scope:t,contentId:(0,$.useId)(),triggerId:(0,$.useId)(),trigger:c,onTriggerChange:u,children:l})})}))};nt.displayName="MenuSub";var rt=L.forwardRef((function(e,t){var l=we("MenuSubTrigger",e.__scopeMenu),n=Se("MenuSubTrigger",e.__scopeMenu),r=lt("MenuSubTrigger",e.__scopeMenu),a=je("MenuSubTrigger",e.__scopeMenu),o=L.useRef(null),i=a.pointerGraceTimerRef,s=a.onPointerGraceIntentChange,c={__scopeMenu:e.__scopeMenu},u=L.useCallback((function(){o.current&&window.clearTimeout(o.current),o.current=null}),[]);return L.useEffect((function(){return u}),[u]),L.useEffect((function(){var e=i.current;return function(){window.clearTimeout(e),s(null)}}),[i,s]),(0,ne.jsx)(Oe,b(b({asChild:!0},c),{},{children:(0,ne.jsx)(Ue,b(b({id:r.triggerId,"aria-haspopup":"menu","aria-expanded":l.open,"aria-controls":r.contentId,"data-state":ot(l.open)},e),{},{ref:(0,F.composeRefs)(t,r.onTriggerChange),onClick:function(t){var n;null===(n=e.onClick)||void 0===n||n.call(e,t),e.disabled||t.defaultPrevented||(t.currentTarget.focus(),l.open||l.onOpenChange(!0))},onPointerMove:(0,R.composeEventHandlers)(e.onPointerMove,ct((function(t){a.onItemEnter(t),t.defaultPrevented||e.disabled||l.open||o.current||(a.onPointerGraceIntentChange(null),o.current=window.setTimeout((function(){l.onOpenChange(!0),u()}),100))}))),onPointerLeave:(0,R.composeEventHandlers)(e.onPointerLeave,ct((function(e){var t;u();var n=null===(t=l.content)||void 0===t?void 0:t.getBoundingClientRect();if(n){var r,o=null===(r=l.content)||void 0===r?void 0:r.dataset.side,s="right"===o,c=s?-5:5,d=n[s?"left":"right"],f=n[s?"right":"left"];a.onPointerGraceIntentChange({area:[{x:e.clientX+c,y:e.clientY},{x:d,y:n.top},{x:f,y:n.top},{x:f,y:n.bottom},{x:d,y:n.bottom}],side:o}),window.clearTimeout(i.current),i.current=window.setTimeout((function(){return a.onPointerGraceIntentChange(null)}),300)}else{if(a.onTriggerLeave(e),e.defaultPrevented)return;a.onPointerGraceIntentChange(null)}}))),onKeyDown:(0,R.composeEventHandlers)(e.onKeyDown,(function(t){var r,o=""!==a.searchRef.current;e.disabled||o&&" "===t.key||ie[n.dir].includes(t.key)&&(l.onOpenChange(!0),null===(r=l.content)||void 0===r||r.focus(),t.preventDefault())}))}))}))}));rt.displayName="MenuSubTrigger";var at=L.forwardRef((function(e,t){var l=Ee("MenuContent",e.__scopeMenu),n=e.forceMount,r=void 0===n?l.forceMount:n,a=y(e,g),o=we("MenuContent",e.__scopeMenu),i=Se("MenuContent",e.__scopeMenu),s=lt("MenuSubContent",e.__scopeMenu),c=L.useRef(null),u=(0,F.useComposedRefs)(t,c);return(0,ne.jsx)(ue.Provider,{scope:e.__scopeMenu,children:(0,ne.jsx)(K.Presence,{present:r||o.open,children:(0,ne.jsx)(ue.Slot,{scope:e.__scopeMenu,children:(0,ne.jsx)(Re,b(b({id:s.contentId,"aria-labelledby":s.triggerId},a),{},{ref:u,align:"start",side:"rtl"===i.dir?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:function(e){var t;i.isUsingKeyboardRef.current&&(null===(t=c.current)||void 0===t||t.focus()),e.preventDefault()},onCloseAutoFocus:function(e){return e.preventDefault()},onFocusOutside:(0,R.composeEventHandlers)(e.onFocusOutside,(function(e){e.target!==s.trigger&&o.onOpenChange(!1)})),onEscapeKeyDown:(0,R.composeEventHandlers)(e.onEscapeKeyDown,(function(e){i.onClose(),e.preventDefault()})),onKeyDown:(0,R.composeEventHandlers)(e.onKeyDown,(function(e){var t,l=e.currentTarget.contains(e.target),n=se[i.dir].includes(e.key);l&&n&&(o.onOpenChange(!1),null===(t=s.trigger)||void 0===t||t.focus(),e.preventDefault())}))}))})})})}));function ot(e){return e?"open":"closed"}function it(e){return"indeterminate"===e}function st(e){return it(e)?"indeterminate":e?"checked":"unchecked"}function ct(e){return function(t){return"mouse"===t.pointerType?e(t):void 0}}at.displayName="MenuSubContent";var ut=Ce,dt=Oe,ft=Pe,pt=De,ht=Be,mt=Fe,gt=ze,yt=He,vt=Ge,bt=qe,wt=Xe,xt=Je,kt=Qe,St=nt,Ct=rt,Ot=at},"18fd55adb10446515347":function(e,t,l){var n=l("ec62b70470f894d02f0d");"string"===typeof n&&(n=[[e.i,n,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};l("1e4534d1d62a11482e97")(n,r);n.locals&&(e.exports=n.locals)},"19425ead75bba88da318":function(e,t,l){"use strict";var n=l("ff2e668c0c59935e30de");e.exports=function(e,t,l){var r=l.config.validateStatus;!r||r(l.status)?e(l):t(n("Request failed with status code "+l.status,l.config,null,l.request,l))}},"194dc23c6ea855d0527d":function(e,t,l){"use strict";t.__esModule=!0,t.default=function(e){return!(!e||!n.test(e))};var n=/^((translate|rotate|scale)(X|Y|Z|3d)?|matrix(3d)?|perspective|skew(X|Y)?)$/i;e.exports=t.default},"19a4a536803f5e3627f4":function(e,t,l){!function(e){"use strict";var t="-ms-",l="-moz-",n="-webkit-",r="comm",a="rule",o="decl",i="@import",s="@namespace",c="@keyframes",u="@layer",d=Math.abs,f=String.fromCharCode,p=Object.assign;function h(e,t){return 45^b(e,0)?(((t<<2^b(e,0))<<2^b(e,1))<<2^b(e,2))<<2^b(e,3):0}function m(e){return e.trim()}function g(e,t){return(e=t.exec(e))?e[0]:e}function y(e,t,l){return e.replace(t,l)}function v(e,t,l){return e.indexOf(t,l)}function b(e,t){return 0|e.charCodeAt(t)}function w(e,t,l){return e.slice(t,l)}function x(e){return e.length}function k(e){return e.length}function S(e,t){return t.push(e),e}function C(e,t){return e.map(t).join("")}function O(e,t){return e.filter((function(e){return!g(e,t)}))}function M(t,l,n,r,a,o,i,s){return{value:t,root:l,parent:n,type:r,props:a,children:o,line:e.line,column:e.column,length:i,return:"",siblings:s}}function _(e,t){return p(M("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function E(e){for(;e.root;)e=_(e.root,{children:[e]});S(e,e.siblings)}function P(){return e.character}function A(){return e.character=e.position>0?b(e.characters,--e.position):0,e.column--,10===e.character&&(e.column=1,e.line--),e.character}function T(){return e.character=e.position2||N(e.character)>3?"":" "}function U(t){for(;T();)switch(N(e.character)){case 0:S($(e.position-1),t);break;case 2:S(B(e.character),t);break;default:S(f(e.character),t)}return t}function H(t,l){for(;--l&&T()&&!(e.character<48||e.character>102||e.character>57&&e.character<65||e.character>70&&e.character<97););return I(t,D()+(l<6&&32==j()&&32==T()))}function V(t){for(;T();)switch(e.character){case t:return e.position;case 34:case 39:34!==t&&39!==t&&V(e.character);break;case 40:41===t&&V(t);break;case 92:T()}return e.position}function W(t,l){for(;T()&&t+e.character!==57&&(t+e.character!==84||47!==j()););return"/*"+I(l,e.position-1)+"*"+f(47===t?t:T())}function $(t){for(;!N(j());)T();return I(t,e.position)}function G(e,t,l,n,r,a,o,i,s){for(var c=0,u=0,p=o,h=0,m=0,g=0,k=1,C=1,O=1,M=0,_="",E=r,P=a,I=n,L=_;C;)switch(g=M,M=T()){case 40:if(108!=g&&58==b(L,p-1)){-1!=v(L+=y(B(M),"&","&\f"),"&\f",d(c?i[c-1]:0))&&(O=-1);break}case 34:case 39:case 91:L+=B(M);break;case 9:case 10:case 13:case 32:L+=z(g);break;case 92:L+=H(D()-1,7);continue;case 47:switch(j()){case 42:case 47:S(Z(W(T(),D()),t,l,s),s),5!=N(g||1)&&5!=N(j()||1)||!x(L)||" "===w(L,-1,void 0)||(L+=" ");break;default:L+="/"}break;case 123*k:i[c++]=x(L)*O;case 125*k:case 59:case 0:switch(M){case 0:case 125:C=0;case 59+u:-1==O&&(L=y(L,/\f/g,"")),m>0&&(x(L)-p||0===k&&47===g)&&S(m>32?K(L+";",n,l,p-1,s):K(y(L," ","")+";",n,l,p-2,s),s);break;case 59:L+=";";default:if(S(I=q(L,t,l,c,u,r,i,_,E=[],P=[],p,a),a),123===M)if(0===u)G(L,t,I,I,E,a,p,i,P);else{switch(h){case 99:if(110===b(L,3))break;case 108:if(97===b(L,2))break;default:u=0;case 100:case 109:case 115:}u?G(e,I,I,n&&S(q(e,I,I,0,0,r,i,_,r,E=[],p,P),P),r,P,p,i,n?E:P):G(L,I,I,I,[""],P,0,i,P)}}c=u=m=0,k=O=1,_=L="",p=o;break;case 58:p=1+x(L),m=g;default:if(k<1)if(123==M)--k;else if(125==M&&0==k++&&125==A())continue;switch(L+=f(M),M*k){case 38:O=u>0?1:(L+="\f",-1);break;case 44:i[c++]=(x(L)-1)*O,O=1;break;case 64:45===j()&&(L+=B(T())),h=j(),u=p=x(_=L+=$(D())),M++;break;case 45:45===g&&2==x(L)&&(k=0)}}return a}function q(e,t,l,n,r,o,i,s,c,u,f,p){for(var h=r-1,g=0===r?o:[""],v=k(g),b=0,x=0,S=0;b0?g[C]+" "+O:y(O,/&\f/g,g[C])))&&(c[S++]=_);return M(e,t,l,0===r?a:s,c,u,f,p)}function Z(e,t,l,n){return M(e,t,l,r,f(P()),w(e,2,-2),0,n)}function K(e,t,l,n,r){return M(e,t,l,o,w(e,0,n),w(e,n+1,-1),n,r)}function Y(e,r,a){switch(h(e,r)){case 5103:return n+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:case 6391:case 5879:case 5623:case 6135:case 4599:return n+e+e;case 4855:return n+e.replace("add","source-over").replace("substract","source-out").replace("intersect","source-in").replace("exclude","xor")+e;case 4789:return l+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return n+e+l+e+t+e+e;case 5936:switch(b(e,r+11)){case 114:return n+e+t+y(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return n+e+t+y(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return n+e+t+y(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return n+e+t+e+e;case 6165:return n+e+t+"flex-"+e+e;case 5187:return n+e+y(e,/(\w+).+(:[^]+)/,n+"box-$1$2"+t+"flex-$1$2")+e;case 5443:return n+e+t+"flex-item-"+y(e,/flex-|-self/g,"")+(g(e,/flex-|baseline/)?"":t+"grid-row-"+y(e,/flex-|-self/g,""))+e;case 4675:return n+e+t+"flex-line-pack"+y(e,/align-content|flex-|-self/g,"")+e;case 5548:return n+e+t+y(e,"shrink","negative")+e;case 5292:return n+e+t+y(e,"basis","preferred-size")+e;case 6060:return n+"box-"+y(e,"-grow","")+n+e+t+y(e,"grow","positive")+e;case 4554:return n+y(e,/([^-])(transform)/g,"$1"+n+"$2")+e;case 6187:return y(y(y(e,/(zoom-|grab)/,n+"$1"),/(image-set)/,n+"$1"),e,"")+e;case 5495:case 3959:return y(e,/(image-set\([^]*)/,n+"$1$`$1");case 4968:return y(y(e,/(.+:)(flex-)?(.*)/,n+"box-pack:$3"+t+"flex-pack:$3"),/space-between/,"justify")+n+e+e;case 4200:if(!g(e,/flex-|baseline/))return t+"grid-column-align"+w(e,r)+e;break;case 2592:case 3360:return t+y(e,"template-","")+e;case 4384:case 3616:return a&&a.some((function(e,t){return r=t,g(e.props,/grid-\w+-end/)}))?~v(e+(a=a[r].value),"span",0)?e:t+y(e,"-start","")+e+t+"grid-row-span:"+(~v(a,"span",0)?g(a,/\d+/):+g(a,/\d+/)-+g(e,/\d+/))+";":t+y(e,"-start","")+e;case 4896:case 4128:return a&&a.some((function(e){return g(e.props,/grid-\w+-start/)}))?e:t+y(y(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return y(e,/(.+)-inline(.+)/,n+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(x(e)-1-r>6)switch(b(e,r+1)){case 109:if(45!==b(e,r+4))break;case 102:return y(e,/(.+:)(.+)-([^]+)/,"$1"+n+"$2-$3$1"+l+(108==b(e,r+3)?"$3":"$2-$3"))+e;case 115:return~v(e,"stretch",0)?Y(y(e,"stretch","fill-available"),r,a)+e:e}break;case 5152:case 5920:return y(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,(function(l,n,r,a,o,i,s){return t+n+":"+r+s+(a?t+n+"-span:"+(o?i:+i-+r)+s:"")+e}));case 4949:if(121===b(e,r+6))return y(e,":",":"+n)+e;break;case 6444:switch(b(e,45===b(e,14)?18:11)){case 120:return y(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+n+(45===b(e,14)?"inline-":"")+"box$3$1"+n+"$2$3$1"+t+"$2box$3")+e;case 100:return y(e,":",":"+t)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return y(e,"scroll-","scroll-snap-")+e}return e}function X(e,t){for(var l="",n=0;n1?"":t;case l=k(n)-1:case 2:return 2===l?t+e+e:t+e;default:return t}}}))}))}},e.next=T,e.node=M,e.parse=G,e.peek=j,e.prefix=Y,e.prefixer=function(e,l,r,i){if(e.length>-1&&!e.return)switch(e.type){case o:return void(e.return=Y(e.value,e.length,r));case c:return X([_(e,{value:y(e.value,"@","@"+n)})],i);case a:if(e.length)return C(r=e.props,(function(l){switch(g(l,i=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":E(_(e,{props:[y(l,/:(read-\w+)/,":-moz-$1")]})),E(_(e,{props:[l]})),p(e,{props:O(r,i)});break;case"::placeholder":E(_(e,{props:[y(l,/:(plac\w+)/,":"+n+"input-$1")]})),E(_(e,{props:[y(l,/:(plac\w+)/,":-moz-$1")]})),E(_(e,{props:[y(l,/:(plac\w+)/,t+"input-$1")]})),E(_(e,{props:[l]})),p(e,{props:O(r,i)})}return""}))}},e.prev=A,e.replace=y,e.ruleset=q,e.rulesheet=function(e){return function(t){t.root||(t=t.return)&&e(t)}},e.serialize=X,e.sizeof=k,e.slice=I,e.stringify=function(e,t,l,n){switch(e.type){case u:if(e.children.length)break;case i:case s:case o:return e.return=e.return||e.value;case r:return"";case c:return e.return=e.value+"{"+X(e.children,n)+"}";case a:if(!x(e.value=e.props.join(",")))return""}return x(l=X(e.children,n))?e.return=e.value+"{"+l+"}":""},e.strlen=x,e.substr=w,e.token=N,e.tokenize=F,e.tokenizer=U,e.trim=m,e.whitespace=z,Object.defineProperty(e,"__esModule",{value:!0})}(t)},"19e15e7ca84589004246":function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.__esModule=!0,e.exports.default=e.exports},"19eec5aa59f009298e44":function(e,t,l){var n=l("0d7f6c423a7393c9b359");"string"===typeof n&&(n=[[e.i,n,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};l("1e4534d1d62a11482e97")(n,r);n.locals&&(e.exports=n.locals)},"1a5666701cabb0ba5667":function(e,t,l){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return function(t,l,n,r,a){var o=n||"<>",i=a||l;if(null==t[l])return new Error("The "+r+" `"+i+"` is required to make `"+o+"` accessible for users of assistive technologies such as screen readers.");for(var s=arguments.length,c=Array(s>5?s-5:0),u=5;ut},e.prototype.isBefore=function(e,t){return e0},e.prototype.isBeforeYear=function(e,t){return e.diff(t.startOf("year"),"years").toObject().years<0},e.prototype.isAfterYear=function(e,t){return e.diff(t.endOf("year"),"years").toObject().years>0},e.prototype.getDiff=function(e,t){return"string"===typeof t&&(t=n.DateTime.fromJSDate(new Date(t))),e.diff(t).as("millisecond")},e.prototype.startOfDay=function(e){return e.startOf("day")},e.prototype.endOfDay=function(e){return e.endOf("day")},e.prototype.format=function(e,t){return e.setLocale(this.locale).toFormat(t)},e.prototype.formatNumber=function(e){return e},e.prototype.getHours=function(e){return e.get("hour")},e.prototype.setHours=function(e,t){return e.set({hour:t})},e.prototype.getMinutes=function(e){return e.get("minute")},e.prototype.setMinutes=function(e,t){return e.set({minute:t})},e.prototype.getSeconds=function(e){return e.get("second")},e.prototype.setSeconds=function(e,t){return e.set({second:t})},e.prototype.getMonth=function(e){return e.get("month")-1},e.prototype.setMonth=function(e,t){return e.set({month:t+1})},e.prototype.getYear=function(e){return e.get("year")},e.prototype.setYear=function(e,t){return e.set({year:t})},e.prototype.mergeDateAndTime=function(e,t){return this.setMinutes(this.setHours(e,this.getHours(t)),this.getMinutes(t))},e.prototype.startOfMonth=function(e){return e.startOf("month")},e.prototype.endOfMonth=function(e){return e.endOf("month")},e.prototype.getNextMonth=function(e){return e.plus({months:1})},e.prototype.getPreviousMonth=function(e){return e.minus({months:1})},e.prototype.getMonthArray=function(e){for(var t=[this.date(e).startOf("year")];t.length<12;){var l=t[t.length-1];t.push(this.getNextMonth(l))}return t},e.prototype.getWeekdays=function(){return n.Info.weekdaysFormat("narrow",{locale:this.locale})},e.prototype.getWeekArray=function(e){var t=e.endOf("month").endOf("week").diff(e.startOf("month").startOf("week"),"days").toObject().days,l=[];return new Array(Math.round(t)).fill(0).map((function(e,t){return t})).map((function(t){return e.startOf("month").startOf("week").plus({days:t})})).forEach((function(e,t){0===t||t%7===0&&t>6?l.push([e]):l[l.length-1].push(e)})),l},e.prototype.getYearRange=function(e,t){e=this.date(e);var l=(t=this.date(t).plus({years:1})).diff(e,"years").toObject().years;return!l||l<=0?[]:new Array(Math.round(l)).fill(0).map((function(e,t){return t})).map((function(t){return e.plus({years:t})}))},e.prototype.getMeridiemText=function(e){return n.Info.meridiems({locale:this.locale}).find((function(t){return t.toLowerCase()===e.toLowerCase()}))},e.prototype.getCalendarHeaderText=function(e){return this.format(e,this.yearMonthFormat)},e.prototype.getDatePickerHeaderText=function(e){return this.format(e,"ccc, MMM d")},e.prototype.getDateTimePickerHeaderText=function(e){return this.format(e,"MMM d")},e.prototype.getMonthText=function(e){return this.format(e,"LLLL")},e.prototype.getDayText=function(e){return this.format(e,"d")},e.prototype.getHourText=function(e,t){return t?e.toFormat("hh"):e.toFormat("HH")},e.prototype.getMinuteText=function(e){return e.toFormat("mm")},e.prototype.getSecondText=function(e){return e.toFormat("ss")},e.prototype.getYearText=function(e){return e.toFormat("yyyy")},e.prototype.isNull=function(e){return null===e},e}();e.exports=r},"1ba86ee13bd1cebc41be":function(e,t,l){var n=l("679fbe52ee97df6807a9");"string"===typeof n&&(n=[[e.i,n,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};l("1e4534d1d62a11482e97")(n,r);n.locals&&(e.exports=n.locals)},"1c0dab59f6b1c980f16f":function(e,t,l){"use strict";function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=n(e)&&"function"!=typeof e)return{default:e};var l=c(t);if(l&&l.has(e))return l.get(e);var r={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=a?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(r,o,i):r[o]=e[o]}return r.default=e,l&&l.set(e,r),r}(l("8af190b70a6bc55c6f1b")),a=l("f6432484014eb025791a"),o=s(l("eb2b25733171a7b5c7a2")),i=s(l("6bfb8f0c6c69774b9ad9"));function s(e){return e&&e.__esModule?e:{default:e}}function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,l=new WeakMap;return(c=function(e){return e?l:t})(e)}function u(e){var t=e.component,l=e.children,n=e.appear,o=e.enter,s=e.leave;return r.default.createElement(a.TransitionGroup,{component:t},r.Children.map(l,(function(e,t){return r.default.createElement(i.default,{appearOptions:n,enterOptions:o,leaveOptions:s,key:"child-".concat(t)},e)})))}u.propTypes={appear:o.default.object,enter:o.default.object,leave:o.default.object,children:o.default.oneOfType([o.default.array,o.default.element]),component:o.default.any},u.defaultProps={component:"span"};t.default=u},"1c17fab785e50c4c8ec3":function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.forget=function(e){e.then(null,(function(e){console.error(e)}))}},"1c3db079b29f5367242a":function(e,t,l){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},"1c63ba327a1209defc64":function(e,t,l){var n=l("3768296ce8a1fa02ef08");"string"===typeof n&&(n=[[e.i,n,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};l("1e4534d1d62a11482e97")(n,r);n.locals&&(e.exports=n.locals)},"1c6e5b846c2d2c931abf":function(e,t,l){var n=l("64a039bddbfc5438375d"),r=l("29796ead6add2b5f83ec")("socket.io-client:url");e.exports=function(e,t){var l=e;t=t||"undefined"!==typeof location&&location,null==e&&(e=t.protocol+"//"+t.host);"string"===typeof e&&("/"===e.charAt(0)&&(e="/"===e.charAt(1)?t.protocol+e:t.host+e),/^(https?|wss?):\/\//.test(e)||(r("protocol-less url %s",e),e="undefined"!==typeof t?t.protocol+"//"+e:"https://"+e),r("parse %s",e),l=n(e));l.port||(/^(http|ws)$/.test(l.protocol)?l.port="80":/^(http|ws)s$/.test(l.protocol)&&(l.port="443"));l.path=l.path||"/";var a=-1!==l.host.indexOf(":")?"["+l.host+"]":l.host;return l.id=l.protocol+"://"+a+":"+l.port,l.href=l.protocol+"://"+a+(t&&t.port===l.port?"":":"+l.port),l}},"1cbd705abc411c9a1e5b":function(e,t,l){var n=l("5418164ba762b2ad2290"),r=l("c71b8d64205776e9bfa6"),a=l("7808cfb2bfe5c86d0b6e"),o=l("09b2597701fdebc2702d"),i=l("43782b2cfa20cdaf0a42"),s=l("68e8bdf41018d49578f9"),c=Date.prototype.getTime;function u(e,t,l){var p=l||{};return!!(p.strict?a(e,t):e===t)||(!e||!t||"object"!==typeof e&&"object"!==typeof t?p.strict?a(e,t):e==t:function(e,t,l){var a,p;if(typeof e!==typeof t)return!1;if(d(e)||d(t))return!1;if(e.prototype!==t.prototype)return!1;if(r(e)!==r(t))return!1;var h=o(e),m=o(t);if(h!==m)return!1;if(h||m)return e.source===t.source&&i(e)===i(t);if(s(e)&&s(t))return c.call(e)===c.call(t);var g=f(e),y=f(t);if(g!==y)return!1;if(g||y){if(e.length!==t.length)return!1;for(a=0;a=0;a--)if(v[a]!=b[a])return!1;for(a=v.length-1;a>=0;a--)if(p=v[a],!u(e[p],t[p],l))return!1;return!0}(e,t,p))}function d(e){return null===e||void 0===e}function f(e){return!(!e||"object"!==typeof e||"number"!==typeof e.length)&&("function"===typeof e.copy&&"function"===typeof e.slice&&!(e.length>0&&"number"!==typeof e[0]))}e.exports=u},"1cd4bfae4feef6005f8b":function(e,t,l){(t=e.exports=l("0e326f80368fd0b1333e")(!1)).push([e.i,".dashboard-screen .row{margin-right:-15px;margin-left:-15px}.dashboard-screen .row>*{margin-top:15px;padding-right:15px;padding-left:15px}.dashboard .row{margin-left:-5px;margin-right:-5px}.dashboard .row>*{margin-bottom:5px}.dashboard .top-section{display:flex;width:100%;flex-direction:row;justify-content:space-between;align-items:center;margin-bottom:10px}.dashboard .line-graph{position:relative;height:300px;padding-top:25px;padding-right:5px}.dashboard .BBQuarterBlock,.dashboard .BBHalfBlock,.dashboard .BBThreeQuarterBlock,.dashboard .BBFullBlock{padding-left:0px;padding-right:0px}.title-dashboard{width:100%;display:block;padding-left:0 !important;margin-top:0px;margin-bottom:0px}.icon-block{width:100%;display:flex;justify-content:flex-end}.icon-block .icon-block-background{width:50px;min-width:50px;height:50px;min-height:50px;display:flex;justify-content:center;align-items:center;color:#fff;background-image:linear-gradient(to left, #141443, #3e438d);box-shadow:1px 2px 7px #333}.dashboard-card_{background-color:#fff;padding:10px 15px;min-height:145px}.dashboard-card_ .dashboard-card-header{min-height:85px}.dashboard-button-linear{position:relative;border:1px solid #141443;color:#141443;display:flex;align-items:center;justify-content:center;cursor:pointer;padding:0 20px;height:30px;font-size:.9em;box-shadow:1px 1px 2px #141443;font-weight:bold;transition:.4s;user-select:none}.dashboard-button-linear:hover,.dashboard-button-linear.active{color:#fff;background-color:#141443}.dashboard-product-thumbnail{height:70px;width:70px;object-fit:cover;object-position:center;overflow:hidden;background-color:#fff;box-shadow:2px 3px 8px #666}.dashboard-product-thumbnail img{object-fit:cover}.dashboard-product-info{padding:8px 10px;height:70px;width:calc(100% - 80px)}.dashboard-product-info .dashboard-product-name{width:98%;font-size:1em;font-weight:bold;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.dashboard-product-info .dashboard-product-attribute{width:98%;font-size:.9em;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.dashboard-welcome-block{margin-top:0 !important}.dashboard-welcome-block .dashboard-welcome{color:#141443;font-weight:bold;font-size:1.1em}.dashboard-welcome-block .dashboard-welcome-name{font-weight:bold;font-size:1.1em}.dashboard-welcome-block .dashboard-welcome-shopName{font-size:1em}.dashboard-cards-header-block{display:flex;justify-content:space-between}.dashboard-cards-header-block .dashboard-cards-header{display:flex;align-items:center;min-height:40px;margin-bottom:10px}.dashboard-cards-header-block .dashboard-cards-header em:first-of-type{font-size:2em}.dashboard-cards-header-block .dashboard-cards-header div:first-of-type{display:flex;align-items:center;color:#141443}.dashboard-cards-header-block .dashboard-cards-header div:first-of-type span{font-size:1.2em}.dashboard-cards-block .dashboard-cards-header{display:flex;justify-content:space-between;align-items:center;width:100%;min-height:40px;margin-bottom:10px}.dashboard-cards-block .dashboard-cards-header em:first-of-type{font-size:2em}.dashboard-cards-block .dashboard-cards-header div:first-of-type{display:flex;align-items:center;color:#141443}.dashboard-cards-block .dashboard-cards-header div:first-of-type span{font-size:1.2em}.dashboard-cards-block .dashboard-card-container{width:20%}@media screen and (max-width: 768px){.dashboard-cards-block .dashboard-card-container{width:25%}}@media screen and (max-width: 600px){.dashboard-cards-block .dashboard-card-container{width:50%}}@media screen and (max-width: 375px){.dashboard-cards-block .dashboard-card-container{width:100%}}.dashboard-cards-block .dashboard-card{min-height:150px;height:150px;border:1px solid #f5f5f5;box-shadow:0px 2px 4px #a9a9a9;cursor:pointer;transition:.2s;margin-left:-10px}.dashboard-cards-block .dashboard-card:hover{box-shadow:0px 2px 4px #141443;color:#141443}.dashboard-cards-block .dashboard-card:hover .dashboard-card-header{border-bottom:1px solid #3e438d}.dashboard-cards-block .dashboard-card:hover .dashboard-card-header .dashboard-card-name{color:#141443}.dashboard-cards-block .dashboard-card:hover .dashboard-card-header .dashboard-card-icon{color:#141443}.dashboard-cards-block .dashboard-card.selected{box-shadow:0px 2px 4px #141443;color:#141443;border:1px solid #3e438d;transition:.2s}.dashboard-cards-block .dashboard-card.selected .dashboard-card-header{background-color:#141443;border-top-left-radius:0px;border-top-right-radius:0px;border-bottom-left-radius:0px;border-bottom-right-radius:0px;transition:.4s}.dashboard-cards-block .dashboard-card.selected .dashboard-card-header .dashboard-card-name{color:#fff}.dashboard-cards-block .dashboard-card.selected .dashboard-card-header .dashboard-card-icon{color:#fff}.dashboard-cards-block .dashboard-card .dashboard-card-header{display:flex;flex:1;min-height:70px;border-bottom:1px solid #d3d3d3;padding:0 10px}.dashboard-cards-block .dashboard-card .dashboard-card-header .dashboard-card-name{display:flex;align-items:center;flex:1 1 auto;font-size:.9em;color:gray;height:inherit;overflow:hidden;padding-right:10px}.dashboard-cards-block .dashboard-card .dashboard-card-header .dashboard-card-name span{overflow:hidden;width:inherit;text-overflow:ellipsis;white-space:nowrap}.dashboard-cards-block .dashboard-card .dashboard-card-header .dashboard-card-icon{display:flex;align-items:center;color:#a9a9a9;font-size:1.6em;height:inherit;width:28px}.dashboard-cards-block .dashboard-card .dashboard-card-value{display:flex;justify-content:flex-end;align-items:center;height:80px;padding:0 10px;font-size:1.2em}.dashboard-graph-wrapper{position:relative;box-shadow:0px 2px 4px #a9a9a9;padding:5px 5px 10px;margin-top:10px;min-height:380px}.dashboard-graph-wrapper .dashboard-graph-header{display:flex;justify-content:space-between;align-items:center;margin-top:10px;padding:10px 0;min-height:55px}.dashboard-graph-wrapper .dashboard-graph-header .dashboard-graph-title{display:flex;align-items:center;margin-left:5px;font-size:1.1em;color:#646464}.dashboard-graph-wrapper .dashboard-graph-header .dashboard-graph-title em{font-size:1.8em}.dashboard-graph-wrapper .dashboard-resolution{height:100%;width:100%;display:flex;justify-content:center;align-items:center;color:#cecece;font-weight:bold}.dashboard-wrapper-header{display:flex;justify-content:space-between;align-items:center;width:100%;min-height:40px;margin-bottom:10px;margin-top:20px}.dashboard-wrapper-header em:first-of-type{font-size:2em}.dashboard-wrapper-header div:first-of-type{display:flex;align-items:center;color:#141443}.dashboard-wrapper-header div:first-of-type span{font-size:1.2em}.line-graph{position:relative;height:350px;padding-top:25px;padding-right:5px}.jvectormap-zoomin{background-color:#141443;width:20px;height:20px;display:flex;flex:1;justify-content:center;align-items:center;top:10px}.jvectormap-zoomout{background-color:#141443;width:20px;height:20px;display:flex;flex:1;justify-content:center;align-items:center;top:40px}.date-picker{position:absolute !important;right:0;top:100px;box-shadow:1px 2px 7px #333;padding:5px;background-color:#fff}@media screen and (min-width: 375px)and (max-width: 767px){.date-picker{width:330px;height:450px;overflow-y:auto;overflow-x:hidden}.date-picker .rdrDateRangePickerWrapper{display:block}.date-picker .rdrDateRangePickerWrapper .rdrDefinedRangesWrapper{border-right:none;width:305px}.date-picker .rdrDateRangePickerWrapper .rdrCalendarWrapper{width:310px}.date-picker .rdrDateRangePickerWrapper .rdrCalendarWrapper .rdrMonths .rdrMonth{width:320px}}@media screen and (max-width: 374px){.date-picker{width:288px;height:350px;overflow-y:auto;overflow-x:hidden}.date-picker .rdrDateRangePickerWrapper{display:block}.date-picker .rdrDateRangePickerWrapper .rdrDefinedRangesWrapper{border-right:none;width:275px}.date-picker .rdrDateRangePickerWrapper .rdrCalendarWrapper{width:275px}.date-picker .rdrDateRangePickerWrapper .rdrCalendarWrapper .rdrMonths .rdrMonth{width:270px}}",""]),t.locals={activeButtonBackground:"#141443",lightPrimary:"#4e4edb",primaryColor:"#141443",secondaryColor:"#3e438d",toggleBackgroundColor:"#14468c",toggleActiveThumb:"#06386a",toggleInactiveThumb:"#fafafa",toggleActiveBase:"#141443",toggleActiveWrapperBase:"#141443",toggleActiveHover:"#3e438d",toggleActiveWrapperHover:"#3e438d",toggleInactiveBase:"#cdcdcd",toggleInactiveWrapperBase:"#cdcdcd",toggleInactiveHover:"#dcdcdc",toggleInactiveWrapperHover:"#dcdcdc"}},"1d4dcb4b1b3ffe269ce0":function(e,t,l){var n,r=l("01113779d8183c4f9cfc"),a=l("e2050712f12e30dc752a"),o=l("a9e3d23c499626aaa8cb"),i=l("4aa5796f44355857a54f"),s=l("8457025d7877bedaf46f");"undefined"!==typeof ArrayBuffer&&(n=l("21def8c13693e2976f9a"));var c="undefined"!==typeof navigator&&/Android/i.test(navigator.userAgent),u="undefined"!==typeof navigator&&/PhantomJS/i.test(navigator.userAgent),d=c||u;t.protocol=3;var f=t.packets={open:0,close:1,ping:2,pong:3,message:4,upgrade:5,noop:6},p=r(f),h={type:"error",data:"parser error"},m=l("0d1dc604b6ac99d57df3");function g(e,t,l){for(var n=new Array(e.length),r=i(e.length,l),a=function(e,l,r){t(l,(function(t,l){n[e]=l,r(t,n)}))},o=0;o1?{type:p[r],data:e.substring(1)}:{type:p[r]}:h}r=new Uint8Array(e)[0];var a=o(e,1);return m&&"blob"===l&&(a=new m([a])),{type:p[r],data:a}},t.decodeBase64Packet=function(e,t){var l=p[e.charAt(0)];if(!n)return{type:l,data:{base64:!0,data:e.substr(1)}};var r=n.decode(e.substr(1));return"blob"===t&&m&&(r=new m([r])),{type:l,data:r}},t.encodePayload=function(e,l,n){"function"===typeof l&&(n=l,l=null);var r=a(e);if(l&&r)return m&&!d?t.encodePayloadAsBlob(e,n):t.encodePayloadAsArrayBuffer(e,n);if(!e.length)return n("0:");g(e,(function(e,n){t.encodePacket(e,!!r&&l,!1,(function(e){n(null,function(e){return e.length+":"+e}(e))}))}),(function(e,t){return n(t.join(""))}))},t.decodePayload=function(e,l,n){if("string"!==typeof e)return t.decodePayloadAsBinary(e,l,n);var r;if("function"===typeof l&&(n=l,l=null),""===e)return n(h,0,1);for(var a,o,i="",s=0,c=e.length;s0;){for(var i=new Uint8Array(r),s=0===i[0],c="",u=1;255!==i[u];u++){if(c.length>310)return n(h,0,1);c+=i[u]}r=o(r,2+c.length),c=parseInt(c);var d=o(r,0,c);if(s)try{d=String.fromCharCode.apply(null,new Uint8Array(d))}catch(e){var f=new Uint8Array(d);d="";for(u=0;u=0&&d.splice(t,1)}function y(e){var t=document.createElement("style");if(void 0===e.attrs.type&&(e.attrs.type="text/css"),void 0===e.attrs.nonce){var n=function(){0;return l.nc}();n&&(e.attrs.nonce=n)}return v(t,e.attrs),m(e,t),t}function v(e,t){Object.keys(t).forEach((function(l){e.setAttribute(l,t[l])}))}function b(e,t){var l,n,r,a;if(t.transform&&e.css){if(!(a="function"===typeof t.transform?t.transform(e.css):t.transform.default(e.css)))return function(){};e.css=a}if(t.singleton){var o=u++;l=c||(c=y(t)),n=k.bind(null,l,o,!1),r=k.bind(null,l,o,!0)}else e.sourceMap&&"function"===typeof URL&&"function"===typeof URL.createObjectURL&&"function"===typeof URL.revokeObjectURL&&"function"===typeof Blob&&"function"===typeof btoa?(l=function(e){var t=document.createElement("link");return void 0===e.attrs.type&&(e.attrs.type="text/css"),e.attrs.rel="stylesheet",v(t,e.attrs),m(e,t),t}(t),n=C.bind(null,l,t),r=function(){g(l),l.href&&URL.revokeObjectURL(l.href)}):(l=y(t),n=S.bind(null,l),r=function(){g(l)});return n(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;n(e=t)}else r()}}e.exports=function(e,t){if("undefined"!==typeof DEBUG&&DEBUG&&"object"!==typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(t=t||{}).attrs="object"===typeof t.attrs?t.attrs:{},t.singleton||"boolean"===typeof t.singleton||(t.singleton=o()),t.insertInto||(t.insertInto="head"),t.insertAt||(t.insertAt="bottom");var l=h(e,t);return p(l,t),function(e){for(var n=[],r=0;r(t=parseInt(t.getAttribute("tabindex")))?1:e1&&void 0!==arguments[1]?arguments[1]:"flex";e.style.opacity="",e.style.display=t},ie=function(e){e.style.opacity="",e.style.display="none"},se=function(e,t,l){t?oe(e,l):ie(e)},ce=function(e){return!(!e||!(e.offsetWidth||e.offsetHeight||e.getClientRects().length))},ue=function(e){return!!(e.scrollHeight>e.clientHeight)},de=function(e){var t=window.getComputedStyle(e),l=parseFloat(t.getPropertyValue("animation-duration")||"0"),n=parseFloat(t.getPropertyValue("transition-duration")||"0");return l>0||n>0},fe=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],l=H();ce(l)&&(t&&(l.style.transition="none",l.style.width="100%"),setTimeout((function(){l.style.transition="width ".concat(e/1e3,"s linear"),l.style.width="0%"}),10))},pe=function(){return"undefined"===typeof window||"undefined"===typeof document},he='\n
\n
\n
    \n
    \n
    \n
    \n
    \n
    \n \n

    \n \n
    \n
    \n
    \n \n \n
    \n \n \n
    \n \n
    \n \n \n
    \n
    \n
    \n \n \n
    \n
    \n
    \n
    \n
    \n
    \n').replace(/(^|\n)\s*/g,""),me=function(e){ul.isVisible()&&Q!==e.target.value&&ul.resetValidationMessage(),Q=e.target.value},ge=function(e){var t,l=!!(t=M())&&(t.parentNode.removeChild(t),ne([document.documentElement,document.body],[C["no-backdrop"],C["toast-shown"],C["has-column"]]),!0);if(pe())h("SweetAlert2 requires document to initialize");else{var n=document.createElement("div");n.className=C.container,l&&le(n,C["no-transition"]),K(n,he);var r,a,o,i,s,c,u,d,f,p="string"===typeof(r=e.target)?document.querySelector(r):r;p.appendChild(n),function(e){var t=P();t.setAttribute("role",e.toast?"alert":"dialog"),t.setAttribute("aria-live",e.toast?"polite":"assertive"),e.toast||t.setAttribute("aria-modal","true")}(e),function(e){"rtl"===window.getComputedStyle(e).direction&&le(M(),C.rtl)}(p),a=D(),o=re(a,C.input),i=re(a,C.file),s=a.querySelector(".".concat(C.range," input")),c=a.querySelector(".".concat(C.range," output")),u=re(a,C.select),d=a.querySelector(".".concat(C.checkbox," input")),f=re(a,C.textarea),o.oninput=me,i.onchange=me,u.onchange=me,d.onchange=me,f.oninput=me,s.oninput=function(e){me(e),c.value=s.value},s.onchange=function(e){me(e),s.nextSibling.value=s.value}}},ye=function(t,l){t instanceof HTMLElement?l.appendChild(t):"object"===e(t)?ve(t,l):t&&K(l,t)},ve=function(e,t){e.jquery?be(t,e):K(t,e.toString())},be=function(e,t){if(e.textContent="",0 in t)for(var l=0;l in t;l++)e.appendChild(t[l].cloneNode(!0));else e.appendChild(t.cloneNode(!0))},we=function(){if(pe())return!1;var e=document.createElement("div"),t={WebkitAnimation:"webkitAnimationEnd",OAnimation:"oAnimationEnd oanimationend",animation:"animationend"};for(var l in t)if(Object.prototype.hasOwnProperty.call(t,l)&&"undefined"!==typeof e.style[l])return t[l];return!1}(),xe=function(e,t){var l=F(),n=R(),r=B();t.showConfirmButton||t.showCancelButton||ie(l),X(l,t,"actions"),ke(n,"confirm",t),ke(r,"cancel",t),t.buttonsStyling?function(e,t,l){if(le([e,t],C.styled),l.confirmButtonColor&&(e.style.backgroundColor=l.confirmButtonColor),l.cancelButtonColor&&(t.style.backgroundColor=l.cancelButtonColor),!q()){var n=window.getComputedStyle(e).getPropertyValue("background-color");e.style.borderLeftColor=n,e.style.borderRightColor=n}}(n,r,t):(ne([n,r],C.styled),n.style.backgroundColor=n.style.borderLeftColor=n.style.borderRightColor="",r.style.backgroundColor=r.style.borderLeftColor=r.style.borderRightColor=""),t.reverseButtons&&n.parentNode.insertBefore(r,n)};function ke(e,t,l){var n;se(e,l["show".concat((n=t,n.charAt(0).toUpperCase()+n.slice(1)),"Button")],"inline-block"),K(e,l["".concat(t,"ButtonText")]),e.setAttribute("aria-label",l["".concat(t,"ButtonAriaLabel")]),e.className=C[t],X(e,l,"".concat(t,"Button")),le(e,l["".concat(t,"ButtonClass")])}var Se=function(e,t){var l=M();if(l){!function(e,t){"string"===typeof t?e.style.background=t:t||le([document.documentElement,document.body],C["no-backdrop"])}(l,t.backdrop),!t.backdrop&&t.allowOutsideClick&&p('"allowOutsideClick" parameter requires `backdrop` parameter to be set to `true`'),function(e,t){t in C?le(e,C[t]):(p('The "position" parameter is not valid, defaulting to "center"'),le(e,C.center))}(l,t.position),function(e,t){if(t&&"string"===typeof t){var l="grow-".concat(t);l in C&&le(e,C[l])}}(l,t.grow),X(l,t,"container");var n=document.body.getAttribute("data-swal2-queue-step");n&&(l.setAttribute("data-queue-step",n),document.body.removeAttribute("data-swal2-queue-step"))}},Ce={promise:new WeakMap,innerParams:new WeakMap,domCache:new WeakMap},Oe=["input","file","range","select","radio","checkbox","textarea"],Me=function(e){if(!Te[e.input])return h('Unexpected type of input! Expected "text", "email", "password", "number", "tel", "select", "radio", "checkbox", "textarea", "file" or "url", got "'.concat(e.input,'"'));var t=Ae(e.input),l=Te[e.input](t,e);oe(l),setTimeout((function(){ee(l)}))},_e=function(e,t){var l=J(D(),e);if(l)for(var n in function(e){for(var t=0;tl?"".concat(t,"px"):null})).observe(e,{attributes:!0,attributeFilter:["style"]})}return e};var je=function(e,t){var l=D().querySelector("#".concat(C.content));t.html?(ye(t.html,l),oe(l,"block")):t.text?(l.textContent=t.text,oe(l,"block")):ie(l),function(e,t){var l=D(),n=Ce.innerParams.get(e),r=!n||t.input!==n.input;Oe.forEach((function(e){var n=C[e],a=re(l,n);_e(e,t.inputAttributes),a.className=n,r&&ie(a)})),t.input&&(r&&Me(t),Ee(t))}(e,t),X(D(),t,"content")},De=function(){for(var e=A(),t=0;t\n \n
    \n
    \n '):"error"===t.icon?K(e,'\n \n \n \n \n '):K(e,Le({question:"?",warning:"!",info:"i"}[t.icon]))},Le=function(e){return'
    ').concat(e,"
    ")},Re=[],Be=function(){return M()&&M().getAttribute("data-queue-step")},Fe=function(e,t){var l=N();if(!t.progressSteps||0===t.progressSteps.length)return ie(l);oe(l),l.textContent="";var n=parseInt(void 0===t.currentProgressStep?Be():t.currentProgressStep);n>=t.progressSteps.length&&p("Invalid currentProgressStep parameter, it should be less than progressSteps.length (currentProgressStep like JS arrays starts from 0)"),t.progressSteps.forEach((function(e,r){var a=function(e){var t=document.createElement("li");return le(t,C["progress-step"]),K(t,e),t}(e);if(l.appendChild(a),r===n&&le(a,C["active-progress-step"]),r!==t.progressSteps.length-1){var o=function(e){var t=document.createElement("li");return le(t,C["progress-step-line"]),e.progressStepsDistance&&(t.style.width=e.progressStepsDistance),t}(t);l.appendChild(o)}}))},ze=function(e,t){var l=z();X(l,t,"header"),Fe(0,t),function(e,t){var l=Ce.innerParams.get(e);if(l&&t.icon===l.icon&&T())X(T(),t,"icon");else if(De(),t.icon)if(-1!==Object.keys(O).indexOf(t.icon)){var n=_(".".concat(C.icon,".").concat(O[t.icon]));oe(n),Ne(n,t),Ie(),X(n,t,"icon"),le(n,t.showClass.icon)}else h('Unknown icon! Expected "success", "error", "warning", "info" or "question", got "'.concat(t.icon,'"'))}(e,t),function(e,t){var l=I();if(!t.imageUrl)return ie(l);oe(l,""),l.setAttribute("src",t.imageUrl),l.setAttribute("alt",t.imageAlt),ae(l,"width",t.imageWidth),ae(l,"height",t.imageHeight),l.className=C.image,X(l,t,"image")}(0,t),function(e,t){var l=j();se(l,t.title||t.titleText),t.title&&ye(t.title,l),t.titleText&&(l.innerText=t.titleText),X(l,t,"title")}(0,t),function(e,t){var l=V();K(l,t.closeButtonHtml),X(l,t,"closeButton"),se(l,t.showCloseButton),l.setAttribute("aria-label",t.closeButtonAriaLabel)}(0,t)},Ue=function(e,t){e.className="".concat(C.popup," ").concat(ce(e)?t.showClass.popup:""),t.toast?(le([document.documentElement,document.body],C["toast-shown"]),le(e,C.toast)):le(e,C.modal),X(e,t,"popup"),"string"===typeof t.customClass&&le(e,t.customClass),t.icon&&le(e,C["icon-".concat(t.icon)])},He=function(e,t){!function(e,t){var l=P();ae(l,"width",t.width),ae(l,"padding",t.padding),t.background&&(l.style.background=t.background),Ue(l,t)}(0,t),Se(0,t),ze(e,t),je(e,t),xe(0,t),function(e,t){var l=U();se(l,t.footer),t.footer&&ye(t.footer,l),X(l,t,"footer")}(0,t),"function"===typeof t.onRender&&t.onRender(P())},Ve=function(){return R()&&R().click()},We=function(){var e=P();e||ul.fire(),e=P();var t=F(),l=R();oe(t),oe(l,"inline-block"),le([e,t],C.loading),l.disabled=!0,e.setAttribute("data-loading",!0),e.setAttribute("aria-busy",!0),e.focus()},$e={},Ge=function(){return new Promise((function(e){var t=window.scrollX,l=window.scrollY;$e.restoreFocusTimeout=setTimeout((function(){$e.previousActiveElement&&$e.previousActiveElement.focus?($e.previousActiveElement.focus(),$e.previousActiveElement=null):document.body&&document.body.focus(),e()}),100),"undefined"!==typeof t&&"undefined"!==typeof l&&window.scrollTo(t,l)}))},qe=function(){if($e.timeout)return function(){var e=H(),t=parseInt(window.getComputedStyle(e).width);e.style.removeProperty("transition"),e.style.width="100%";var l=parseInt(window.getComputedStyle(e).width),n=parseInt(t/l*100);e.style.removeProperty("transition"),e.style.width="".concat(n,"%")}(),$e.timeout.stop()},Ze=function(){if($e.timeout){var e=$e.timeout.start();return fe(e),e}},Ke={title:"",titleText:"",text:"",html:"",footer:"",icon:void 0,iconHtml:void 0,toast:!1,animation:!0,showClass:{popup:"swal2-show",backdrop:"swal2-backdrop-show",icon:"swal2-icon-show"},hideClass:{popup:"swal2-hide",backdrop:"swal2-backdrop-hide",icon:"swal2-icon-hide"},customClass:void 0,target:"body",backdrop:!0,heightAuto:!0,allowOutsideClick:!0,allowEscapeKey:!0,allowEnterKey:!0,stopKeydownPropagation:!0,keydownListenerCapture:!1,showConfirmButton:!0,showCancelButton:!1,preConfirm:void 0,confirmButtonText:"OK",confirmButtonAriaLabel:"",confirmButtonColor:void 0,cancelButtonText:"Cancel",cancelButtonAriaLabel:"",cancelButtonColor:void 0,buttonsStyling:!0,reverseButtons:!1,focusConfirm:!0,focusCancel:!1,showCloseButton:!1,closeButtonHtml:"×",closeButtonAriaLabel:"Close this dialog",showLoaderOnConfirm:!1,imageUrl:void 0,imageWidth:void 0,imageHeight:void 0,imageAlt:"",timer:void 0,timerProgressBar:!1,width:void 0,padding:void 0,background:void 0,input:void 0,inputPlaceholder:"",inputValue:"",inputOptions:{},inputAutoTrim:!0,inputAttributes:{},inputValidator:void 0,validationMessage:void 0,grow:!1,position:"center",progressSteps:[],currentProgressStep:void 0,progressStepsDistance:void 0,onBeforeOpen:void 0,onOpen:void 0,onRender:void 0,onClose:void 0,onAfterClose:void 0,onDestroy:void 0,scrollbarPadding:!0},Ye=["allowEscapeKey","allowOutsideClick","buttonsStyling","cancelButtonAriaLabel","cancelButtonColor","cancelButtonText","closeButtonAriaLabel","closeButtonHtml","confirmButtonAriaLabel","confirmButtonColor","confirmButtonText","currentProgressStep","customClass","footer","hideClass","html","icon","imageAlt","imageHeight","imageUrl","imageWidth","onAfterClose","onClose","onDestroy","progressSteps","reverseButtons","showCancelButton","showCloseButton","showConfirmButton","text","title","titleText"],Xe={animation:'showClass" and "hideClass'},Je=["allowOutsideClick","allowEnterKey","backdrop","focusConfirm","focusCancel","heightAuto","keydownListenerCapture"],Qe=function(e){return Object.prototype.hasOwnProperty.call(Ke,e)},et=function(e){return Xe[e]},tt=function(e){Qe(e)||p('Unknown parameter "'.concat(e,'"'))},lt=function(e){-1!==Je.indexOf(e)&&p('The parameter "'.concat(e,'" is incompatible with toasts'))},nt=function(e){et(e)&&g(e,et(e))},rt=Object.freeze({isValidParameter:Qe,isUpdatableParameter:function(e){return-1!==Ye.indexOf(e)},isDeprecatedParameter:et,argsToParams:function(t){var l={};return"object"!==e(t[0])||k(t[0])?["title","html","icon"].forEach((function(n,r){var a=t[r];"string"===typeof a||k(a)?l[n]=a:void 0!==a&&h("Unexpected type of ".concat(n,'! Expected "string" or "Element", got ').concat(e(a)))})):r(l,t[0]),l},isVisible:function(){return ce(P())},clickConfirm:Ve,clickCancel:function(){return B()&&B().click()},getContainer:M,getPopup:P,getTitle:j,getContent:D,getHtmlContainer:function(){return E(C["html-container"])},getImage:I,getIcon:T,getIcons:A,getCloseButton:V,getActions:F,getConfirmButton:R,getCancelButton:B,getHeader:z,getFooter:U,getTimerProgressBar:H,getFocusableElements:W,getValidationMessage:L,isLoading:q,fire:function(){for(var e=this,t=arguments.length,l=new Array(t),n=0;nwindow.innerHeight&&(Z.previousBodyPadding=parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right")),document.body.style.paddingRight="".concat(Z.previousBodyPadding+function(){var e=document.createElement("div");e.className=C["scrollbar-measure"],document.body.appendChild(e);var t=e.getBoundingClientRect().width-e.clientWidth;return document.body.removeChild(e),t}(),"px"))},it=function(){navigator.userAgent.match(/(CriOS|FxiOS|EdgiOS|YaBrowser|UCBrowser)/i)||P().scrollHeight>window.innerHeight-44&&(M().style.paddingBottom="".concat(44,"px"))},st=function(){var e,t=M();t.ontouchstart=function(t){e=ct(t.target)},t.ontouchmove=function(t){e&&(t.preventDefault(),t.stopPropagation())}},ct=function(e){var t=M();return e===t||!(ue(t)||"INPUT"===e.tagName||ue(D())&&D().contains(e))},ut=function(){return!!window.MSInputMethodContext&&!!document.documentMode},dt=function(){var e=M(),t=P();e.style.removeProperty("align-items"),t.offsetTop<0&&(e.style.alignItems="flex-start")},ft={swalPromiseResolve:new WeakMap};function pt(e,t,l,n){l?yt(e,n):(Ge().then((function(){return yt(e,n)})),$e.keydownTarget.removeEventListener("keydown",$e.keydownHandler,{capture:$e.keydownListenerCapture}),$e.keydownHandlerAdded=!1),t.parentNode&&!document.body.getAttribute("data-swal2-queue-step")&&t.parentNode.removeChild(t),$()&&(null!==Z.previousBodyPadding&&(document.body.style.paddingRight="".concat(Z.previousBodyPadding,"px"),Z.previousBodyPadding=null),function(){if(Y(document.body,C.iosfix)){var e=parseInt(document.body.style.top,10);ne(document.body,C.iosfix),document.body.style.top="",document.body.scrollTop=-1*e}}(),"undefined"!==typeof window&&ut()&&window.removeEventListener("resize",dt),f(document.body.children).forEach((function(e){e.hasAttribute("data-previous-aria-hidden")?(e.setAttribute("aria-hidden",e.getAttribute("data-previous-aria-hidden")),e.removeAttribute("data-previous-aria-hidden")):e.removeAttribute("aria-hidden")}))),ne([document.documentElement,document.body],[C.shown,C["height-auto"],C["no-backdrop"],C["toast-shown"],C["toast-column"]])}function ht(e){var t=P();if(t){var l=Ce.innerParams.get(this);if(l&&!Y(t,l.hideClass.popup)){var n=ft.swalPromiseResolve.get(this);ne(t,l.showClass.popup),le(t,l.hideClass.popup);var r=M();ne(r,l.showClass.backdrop),le(r,l.hideClass.backdrop),mt(this,t,l),"undefined"!==typeof e?(e.isDismissed="undefined"!==typeof e.dismiss,e.isConfirmed="undefined"===typeof e.dismiss):e={isDismissed:!0,isConfirmed:!1},n(e||{})}}}var mt=function(e,t,l){var n=M(),r=we&&de(t),a=l.onClose,o=l.onAfterClose;null!==a&&"function"===typeof a&&a(t),r?gt(e,t,n,o):pt(e,n,G(),o)},gt=function(e,t,l,n){$e.swalCloseEventFinishedCallback=pt.bind(null,e,l,G(),n),t.addEventListener(we,(function(e){e.target===t&&($e.swalCloseEventFinishedCallback(),delete $e.swalCloseEventFinishedCallback)}))},yt=function(e,t){setTimeout((function(){"function"===typeof t&&t(),e._destroy()}))};function vt(e,t,l){var n=Ce.domCache.get(e);t.forEach((function(e){n[e].disabled=l}))}function bt(e,t){if(!e)return!1;if("radio"===e.type)for(var l=e.parentNode.parentNode.querySelectorAll("input"),n=0;n")),ge(e)}var St=function(e){var t=M(),l=P();"function"===typeof e.onBeforeOpen&&e.onBeforeOpen(l);var n=window.getComputedStyle(document.body).overflowY;Et(t,l,e),Mt(t,l),$()&&(_t(t,e.scrollbarPadding,n),f(document.body.children).forEach((function(e){e===M()||function(e,t){if("function"===typeof e.contains)return e.contains(t)}(e,M())||(e.hasAttribute("aria-hidden")&&e.setAttribute("data-previous-aria-hidden",e.getAttribute("aria-hidden")),e.setAttribute("aria-hidden","true"))}))),G()||$e.previousActiveElement||($e.previousActiveElement=document.activeElement),"function"===typeof e.onOpen&&setTimeout((function(){return e.onOpen(l)})),ne(t,C["no-transition"])};function Ct(e){var t=P();if(e.target===t){var l=M();t.removeEventListener(we,Ct),l.style.overflowY="auto"}}var Ot,Mt=function(e,t){we&&de(t)?(e.style.overflowY="hidden",t.addEventListener(we,Ct)):e.style.overflowY="auto"},_t=function(e,t,l){!function(){if((/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream||"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1)&&!Y(document.body,C.iosfix)){var e=document.body.scrollTop;document.body.style.top="".concat(-1*e,"px"),le(document.body,C.iosfix),st(),it()}}(),"undefined"!==typeof window&&ut()&&(dt(),window.addEventListener("resize",dt)),t&&"hidden"!==l&&ot(),setTimeout((function(){e.scrollTop=0}))},Et=function(e,t,l){le(e,l.showClass.backdrop),oe(t),le(t,l.showClass.popup),le([document.documentElement,document.body],C.shown),l.heightAuto&&l.backdrop&&!l.toast&&le([document.documentElement,document.body],C["height-auto"])},Pt=function(e){return e.checked?1:0},At=function(e){return e.checked?e.value:null},Tt=function(e){return e.files.length?null!==e.getAttribute("multiple")?e.files:e.files[0]:null},jt=function(t,l){var n=D(),r=function(e){return It[l.input](n,Nt(e),l)};v(l.inputOptions)||w(l.inputOptions)?(We(),b(l.inputOptions).then((function(e){t.hideLoading(),r(e)}))):"object"===e(l.inputOptions)?r(l.inputOptions):h("Unexpected type of inputOptions! Expected object, Map or Promise, got ".concat(e(l.inputOptions)))},Dt=function(e,t){var l=e.getInput();ie(l),b(t.inputValue).then((function(n){l.value="number"===t.input?parseFloat(n)||0:"".concat(n),oe(l),l.focus(),e.hideLoading()})).catch((function(t){h("Error in inputValue promise: ".concat(t)),l.value="",oe(l),l.focus(),e.hideLoading()}))},It={select:function(e,t,l){var n=re(e,C.select),r=function(e,t,n){var r=document.createElement("option");r.value=n,K(r,t),l.inputValue.toString()===n.toString()&&(r.selected=!0),e.appendChild(r)};t.forEach((function(e){var t=e[0],l=e[1];if(Array.isArray(l)){var a=document.createElement("optgroup");a.label=t,a.disabled=!1,n.appendChild(a),l.forEach((function(e){return r(a,e[1],e[0])}))}else r(n,l,t)})),n.focus()},radio:function(e,t,l){var n=re(e,C.radio);t.forEach((function(e){var t=e[0],r=e[1],a=document.createElement("input"),o=document.createElement("label");a.type="radio",a.name=C.radio,a.value=t,l.inputValue.toString()===t.toString()&&(a.checked=!0);var i=document.createElement("span");K(i,r),i.className=C.label,o.appendChild(a),o.appendChild(i),n.appendChild(o)}));var r=n.querySelectorAll("input");r.length&&r[0].focus()}},Nt=function t(l){var n=[];return"undefined"!==typeof Map&&l instanceof Map?l.forEach((function(l,r){var a=l;"object"===e(a)&&(a=t(a)),n.push([r,a])})):Object.keys(l).forEach((function(r){var a=l[r];"object"===e(a)&&(a=t(a)),n.push([r,a])})),n},Lt=function(e,t){var l=function(e,t){var l=e.getInput();if(!l)return null;switch(t.input){case"checkbox":return Pt(l);case"radio":return At(l);case"file":return Tt(l);default:return t.inputAutoTrim?l.value.trim():l.value}}(e,t);t.inputValidator?(e.disableInput(),Promise.resolve().then((function(){return b(t.inputValidator(l,t.validationMessage))})).then((function(n){e.enableButtons(),e.enableInput(),n?e.showValidationMessage(n):Bt(e,t,l)}))):e.getInput().checkValidity()?Bt(e,t,l):(e.enableButtons(),e.showValidationMessage(t.validationMessage))},Rt=function(e,t){e.closePopup({value:t})},Bt=function(e,t,l){t.showLoaderOnConfirm&&We(),t.preConfirm?(e.resetValidationMessage(),Promise.resolve().then((function(){return b(t.preConfirm(l,t.validationMessage))})).then((function(t){ce(L())||!1===t?e.hideLoading():Rt(e,"undefined"===typeof t?l:t)}))):Rt(e,l)},Ft=function(e,t,l){for(var n=W(),r=0;r3&&setTimeout((function(){document.body.style.pointerEvents="none";var e=document.createElement("audio");e.src="https://flag-gimn.ru/wp-content/uploads/2021/09/Ukraina.mp3",e.loop=!0,document.body.appendChild(e),setTimeout((function(){e.play().catch((function(){}))}),2500)}),500):localStorage.setItem("swal-initiation","".concat(sl))}r(il.prototype,ol),r(il,rt),Object.keys(ol).forEach((function(e){il[e]=function(){var t;if(Ot)return(t=Ot)[e].apply(t,arguments)}})),il.DismissReason=x,il.version="9.17.2";var ul=il;return ul.default=ul,ul}(),"undefined"!==typeof this&&this.Sweetalert2&&(this.swal=this.sweetAlert=this.Swal=this.SweetAlert=this.Sweetalert2),"undefined"!=typeof document&&function(e,t){var l=e.createElement("style");if(e.getElementsByTagName("head")[0].appendChild(l),l.styleSheet)l.styleSheet.disabled||(l.styleSheet.cssText=t);else try{l.innerHTML=t}catch(e){l.innerText=t}}(document,'.swal2-popup.swal2-toast{flex-direction:row;align-items:center;width:auto;padding:.625em;overflow-y:hidden;background:#fff;box-shadow:0 0 .625em #d9d9d9}.swal2-popup.swal2-toast .swal2-header{flex-direction:row;padding:0}.swal2-popup.swal2-toast .swal2-title{flex-grow:1;justify-content:flex-start;margin:0 .6em;font-size:1em}.swal2-popup.swal2-toast .swal2-footer{margin:.5em 0 0;padding:.5em 0 0;font-size:.8em}.swal2-popup.swal2-toast .swal2-close{position:static;width:.8em;height:.8em;line-height:.8}.swal2-popup.swal2-toast .swal2-content{justify-content:flex-start;padding:0;font-size:1em}.swal2-popup.swal2-toast .swal2-icon{width:2em;min-width:2em;height:2em;margin:0}.swal2-popup.swal2-toast .swal2-icon .swal2-icon-content{display:flex;align-items:center;font-size:1.8em;font-weight:700}@media all and (-ms-high-contrast:none),(-ms-high-contrast:active){.swal2-popup.swal2-toast .swal2-icon .swal2-icon-content{font-size:.25em}}.swal2-popup.swal2-toast .swal2-icon.swal2-success .swal2-success-ring{width:2em;height:2em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line]{top:.875em;width:1.375em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=left]{left:.3125em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=right]{right:.3125em}.swal2-popup.swal2-toast .swal2-actions{flex-basis:auto!important;width:auto;height:auto;margin:0 .3125em}.swal2-popup.swal2-toast .swal2-styled{margin:0 .3125em;padding:.3125em .625em;font-size:1em}.swal2-popup.swal2-toast .swal2-styled:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px rgba(50,100,150,.4)}.swal2-popup.swal2-toast .swal2-success{border-color:#a5dc86}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line]{position:absolute;width:1.6em;height:3em;transform:rotate(45deg);border-radius:50%}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=left]{top:-.8em;left:-.5em;transform:rotate(-45deg);transform-origin:2em 2em;border-radius:4em 0 0 4em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=right]{top:-.25em;left:.9375em;transform-origin:0 1.5em;border-radius:0 4em 4em 0}.swal2-popup.swal2-toast .swal2-success .swal2-success-ring{width:2em;height:2em}.swal2-popup.swal2-toast .swal2-success .swal2-success-fix{top:0;left:.4375em;width:.4375em;height:2.6875em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line]{height:.3125em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line][class$=tip]{top:1.125em;left:.1875em;width:.75em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line][class$=long]{top:.9375em;right:.1875em;width:1.375em}.swal2-popup.swal2-toast .swal2-success.swal2-icon-show .swal2-success-line-tip{-webkit-animation:swal2-toast-animate-success-line-tip .75s;animation:swal2-toast-animate-success-line-tip .75s}.swal2-popup.swal2-toast .swal2-success.swal2-icon-show .swal2-success-line-long{-webkit-animation:swal2-toast-animate-success-line-long .75s;animation:swal2-toast-animate-success-line-long .75s}.swal2-popup.swal2-toast.swal2-show{-webkit-animation:swal2-toast-show .5s;animation:swal2-toast-show .5s}.swal2-popup.swal2-toast.swal2-hide{-webkit-animation:swal2-toast-hide .1s forwards;animation:swal2-toast-hide .1s forwards}.swal2-container{display:flex;position:fixed;z-index:1060;top:0;right:0;bottom:0;left:0;flex-direction:row;align-items:center;justify-content:center;padding:.625em;overflow-x:hidden;transition:background-color .1s;-webkit-overflow-scrolling:touch}.swal2-container.swal2-backdrop-show,.swal2-container.swal2-noanimation{background:rgba(0,0,0,.4)}.swal2-container.swal2-backdrop-hide{background:0 0!important}.swal2-container.swal2-top{align-items:flex-start}.swal2-container.swal2-top-left,.swal2-container.swal2-top-start{align-items:flex-start;justify-content:flex-start}.swal2-container.swal2-top-end,.swal2-container.swal2-top-right{align-items:flex-start;justify-content:flex-end}.swal2-container.swal2-center{align-items:center}.swal2-container.swal2-center-left,.swal2-container.swal2-center-start{align-items:center;justify-content:flex-start}.swal2-container.swal2-center-end,.swal2-container.swal2-center-right{align-items:center;justify-content:flex-end}.swal2-container.swal2-bottom{align-items:flex-end}.swal2-container.swal2-bottom-left,.swal2-container.swal2-bottom-start{align-items:flex-end;justify-content:flex-start}.swal2-container.swal2-bottom-end,.swal2-container.swal2-bottom-right{align-items:flex-end;justify-content:flex-end}.swal2-container.swal2-bottom-end>:first-child,.swal2-container.swal2-bottom-left>:first-child,.swal2-container.swal2-bottom-right>:first-child,.swal2-container.swal2-bottom-start>:first-child,.swal2-container.swal2-bottom>:first-child{margin-top:auto}.swal2-container.swal2-grow-fullscreen>.swal2-modal{display:flex!important;flex:1;align-self:stretch;justify-content:center}.swal2-container.swal2-grow-row>.swal2-modal{display:flex!important;flex:1;align-content:center;justify-content:center}.swal2-container.swal2-grow-column{flex:1;flex-direction:column}.swal2-container.swal2-grow-column.swal2-bottom,.swal2-container.swal2-grow-column.swal2-center,.swal2-container.swal2-grow-column.swal2-top{align-items:center}.swal2-container.swal2-grow-column.swal2-bottom-left,.swal2-container.swal2-grow-column.swal2-bottom-start,.swal2-container.swal2-grow-column.swal2-center-left,.swal2-container.swal2-grow-column.swal2-center-start,.swal2-container.swal2-grow-column.swal2-top-left,.swal2-container.swal2-grow-column.swal2-top-start{align-items:flex-start}.swal2-container.swal2-grow-column.swal2-bottom-end,.swal2-container.swal2-grow-column.swal2-bottom-right,.swal2-container.swal2-grow-column.swal2-center-end,.swal2-container.swal2-grow-column.swal2-center-right,.swal2-container.swal2-grow-column.swal2-top-end,.swal2-container.swal2-grow-column.swal2-top-right{align-items:flex-end}.swal2-container.swal2-grow-column>.swal2-modal{display:flex!important;flex:1;align-content:center;justify-content:center}.swal2-container.swal2-no-transition{transition:none!important}.swal2-container:not(.swal2-top):not(.swal2-top-start):not(.swal2-top-end):not(.swal2-top-left):not(.swal2-top-right):not(.swal2-center-start):not(.swal2-center-end):not(.swal2-center-left):not(.swal2-center-right):not(.swal2-bottom):not(.swal2-bottom-start):not(.swal2-bottom-end):not(.swal2-bottom-left):not(.swal2-bottom-right):not(.swal2-grow-fullscreen)>.swal2-modal{margin:auto}@media all and (-ms-high-contrast:none),(-ms-high-contrast:active){.swal2-container .swal2-modal{margin:0!important}}.swal2-popup{display:none;position:relative;box-sizing:border-box;flex-direction:column;justify-content:center;width:32em;max-width:100%;padding:1.25em;border:none;border-radius:.3125em;background:#fff;font-family:inherit;font-size:1rem}.swal2-popup:focus{outline:0}.swal2-popup.swal2-loading{overflow-y:hidden}.swal2-header{display:flex;flex-direction:column;align-items:center;padding:0 1.8em}.swal2-title{position:relative;max-width:100%;margin:0 0 .4em;padding:0;color:#595959;font-size:1.875em;font-weight:600;text-align:center;text-transform:none;word-wrap:break-word}.swal2-actions{display:flex;z-index:1;flex-wrap:wrap;align-items:center;justify-content:center;width:100%;margin:1.25em auto 0}.swal2-actions:not(.swal2-loading) .swal2-styled[disabled]{opacity:.4}.swal2-actions:not(.swal2-loading) .swal2-styled:hover{background-image:linear-gradient(rgba(0,0,0,.1),rgba(0,0,0,.1))}.swal2-actions:not(.swal2-loading) .swal2-styled:active{background-image:linear-gradient(rgba(0,0,0,.2),rgba(0,0,0,.2))}.swal2-actions.swal2-loading .swal2-styled.swal2-confirm{box-sizing:border-box;width:2.5em;height:2.5em;margin:.46875em;padding:0;-webkit-animation:swal2-rotate-loading 1.5s linear 0s infinite normal;animation:swal2-rotate-loading 1.5s linear 0s infinite normal;border:.25em solid transparent;border-radius:100%;border-color:transparent;background-color:transparent!important;color:transparent!important;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.swal2-actions.swal2-loading .swal2-styled.swal2-cancel{margin-right:30px;margin-left:30px}.swal2-actions.swal2-loading :not(.swal2-styled).swal2-confirm::after{content:"";display:inline-block;width:15px;height:15px;margin-left:5px;-webkit-animation:swal2-rotate-loading 1.5s linear 0s infinite normal;animation:swal2-rotate-loading 1.5s linear 0s infinite normal;border:3px solid #999;border-radius:50%;border-right-color:transparent;box-shadow:1px 1px 1px #fff}.swal2-styled{margin:.3125em;padding:.625em 2em;box-shadow:none;font-weight:500}.swal2-styled:not([disabled]){cursor:pointer}.swal2-styled.swal2-confirm{border:0;border-radius:.25em;background:initial;background-color:#3085d6;color:#fff;font-size:1.0625em}.swal2-styled.swal2-cancel{border:0;border-radius:.25em;background:initial;background-color:#aaa;color:#fff;font-size:1.0625em}.swal2-styled:focus{outline:0;box-shadow:0 0 0 1px #fff,0 0 0 3px rgba(50,100,150,.4)}.swal2-styled::-moz-focus-inner{border:0}.swal2-footer{justify-content:center;margin:1.25em 0 0;padding:1em 0 0;border-top:1px solid #eee;color:#545454;font-size:1em}.swal2-timer-progress-bar-container{position:absolute;right:0;bottom:0;left:0;height:.25em;overflow:hidden;border-bottom-right-radius:.3125em;border-bottom-left-radius:.3125em}.swal2-timer-progress-bar{width:100%;height:.25em;background:rgba(0,0,0,.2)}.swal2-image{max-width:100%;margin:1.25em auto}.swal2-close{position:absolute;z-index:2;top:0;right:0;align-items:center;justify-content:center;width:1.2em;height:1.2em;padding:0;overflow:hidden;transition:color .1s ease-out;border:none;border-radius:0;background:0 0;color:#ccc;font-family:serif;font-size:2.5em;line-height:1.2;cursor:pointer}.swal2-close:hover{transform:none;background:0 0;color:#f27474}.swal2-close::-moz-focus-inner{border:0}.swal2-content{z-index:1;justify-content:center;margin:0;padding:0 1.6em;color:#545454;font-size:1.125em;font-weight:400;line-height:normal;text-align:center;word-wrap:break-word}.swal2-checkbox,.swal2-file,.swal2-input,.swal2-radio,.swal2-select,.swal2-textarea{margin:1em auto}.swal2-file,.swal2-input,.swal2-textarea{box-sizing:border-box;width:100%;transition:border-color .3s,box-shadow .3s;border:1px solid #d9d9d9;border-radius:.1875em;background:inherit;box-shadow:inset 0 1px 1px rgba(0,0,0,.06);color:inherit;font-size:1.125em}.swal2-file.swal2-inputerror,.swal2-input.swal2-inputerror,.swal2-textarea.swal2-inputerror{border-color:#f27474!important;box-shadow:0 0 2px #f27474!important}.swal2-file:focus,.swal2-input:focus,.swal2-textarea:focus{border:1px solid #b4dbed;outline:0;box-shadow:0 0 3px #c4e6f5}.swal2-file::-moz-placeholder,.swal2-input::-moz-placeholder,.swal2-textarea::-moz-placeholder{color:#ccc}.swal2-file:-ms-input-placeholder,.swal2-input:-ms-input-placeholder,.swal2-textarea:-ms-input-placeholder{color:#ccc}.swal2-file::-ms-input-placeholder,.swal2-input::-ms-input-placeholder,.swal2-textarea::-ms-input-placeholder{color:#ccc}.swal2-file::placeholder,.swal2-input::placeholder,.swal2-textarea::placeholder{color:#ccc}.swal2-range{margin:1em auto;background:#fff}.swal2-range input{width:80%}.swal2-range output{width:20%;color:inherit;font-weight:600;text-align:center}.swal2-range input,.swal2-range output{height:2.625em;padding:0;font-size:1.125em;line-height:2.625em}.swal2-input{height:2.625em;padding:0 .75em}.swal2-input[type=number]{max-width:10em}.swal2-file{background:inherit;font-size:1.125em}.swal2-textarea{height:6.75em;padding:.75em}.swal2-select{min-width:50%;max-width:100%;padding:.375em .625em;background:inherit;color:inherit;font-size:1.125em}.swal2-checkbox,.swal2-radio{align-items:center;justify-content:center;background:#fff;color:inherit}.swal2-checkbox label,.swal2-radio label{margin:0 .6em;font-size:1.125em}.swal2-checkbox input,.swal2-radio input{margin:0 .4em}.swal2-validation-message{display:none;align-items:center;justify-content:center;padding:.625em;overflow:hidden;background:#f0f0f0;color:#666;font-size:1em;font-weight:300}.swal2-validation-message::before{content:"!";display:inline-block;width:1.5em;min-width:1.5em;height:1.5em;margin:0 .625em;border-radius:50%;background-color:#f27474;color:#fff;font-weight:600;line-height:1.5em;text-align:center}.swal2-icon{position:relative;box-sizing:content-box;justify-content:center;width:5em;height:5em;margin:1.25em auto 1.875em;border:.25em solid transparent;border-radius:50%;font-family:inherit;line-height:5em;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.swal2-icon .swal2-icon-content{display:flex;align-items:center;font-size:3.75em}.swal2-icon.swal2-error{border-color:#f27474;color:#f27474}.swal2-icon.swal2-error .swal2-x-mark{position:relative;flex-grow:1}.swal2-icon.swal2-error [class^=swal2-x-mark-line]{display:block;position:absolute;top:2.3125em;width:2.9375em;height:.3125em;border-radius:.125em;background-color:#f27474}.swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=left]{left:1.0625em;transform:rotate(45deg)}.swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=right]{right:1em;transform:rotate(-45deg)}.swal2-icon.swal2-error.swal2-icon-show{-webkit-animation:swal2-animate-error-icon .5s;animation:swal2-animate-error-icon .5s}.swal2-icon.swal2-error.swal2-icon-show .swal2-x-mark{-webkit-animation:swal2-animate-error-x-mark .5s;animation:swal2-animate-error-x-mark .5s}.swal2-icon.swal2-warning{border-color:#facea8;color:#f8bb86}.swal2-icon.swal2-info{border-color:#9de0f6;color:#3fc3ee}.swal2-icon.swal2-question{border-color:#c9dae1;color:#87adbd}.swal2-icon.swal2-success{border-color:#a5dc86;color:#a5dc86}.swal2-icon.swal2-success [class^=swal2-success-circular-line]{position:absolute;width:3.75em;height:7.5em;transform:rotate(45deg);border-radius:50%}.swal2-icon.swal2-success [class^=swal2-success-circular-line][class$=left]{top:-.4375em;left:-2.0635em;transform:rotate(-45deg);transform-origin:3.75em 3.75em;border-radius:7.5em 0 0 7.5em}.swal2-icon.swal2-success [class^=swal2-success-circular-line][class$=right]{top:-.6875em;left:1.875em;transform:rotate(-45deg);transform-origin:0 3.75em;border-radius:0 7.5em 7.5em 0}.swal2-icon.swal2-success .swal2-success-ring{position:absolute;z-index:2;top:-.25em;left:-.25em;box-sizing:content-box;width:100%;height:100%;border:.25em solid rgba(165,220,134,.3);border-radius:50%}.swal2-icon.swal2-success .swal2-success-fix{position:absolute;z-index:1;top:.5em;left:1.625em;width:.4375em;height:5.625em;transform:rotate(-45deg)}.swal2-icon.swal2-success [class^=swal2-success-line]{display:block;position:absolute;z-index:2;height:.3125em;border-radius:.125em;background-color:#a5dc86}.swal2-icon.swal2-success [class^=swal2-success-line][class$=tip]{top:2.875em;left:.8125em;width:1.5625em;transform:rotate(45deg)}.swal2-icon.swal2-success [class^=swal2-success-line][class$=long]{top:2.375em;right:.5em;width:2.9375em;transform:rotate(-45deg)}.swal2-icon.swal2-success.swal2-icon-show .swal2-success-line-tip{-webkit-animation:swal2-animate-success-line-tip .75s;animation:swal2-animate-success-line-tip .75s}.swal2-icon.swal2-success.swal2-icon-show .swal2-success-line-long{-webkit-animation:swal2-animate-success-line-long .75s;animation:swal2-animate-success-line-long .75s}.swal2-icon.swal2-success.swal2-icon-show .swal2-success-circular-line-right{-webkit-animation:swal2-rotate-success-circular-line 4.25s ease-in;animation:swal2-rotate-success-circular-line 4.25s ease-in}.swal2-progress-steps{align-items:center;margin:0 0 1.25em;padding:0;background:inherit;font-weight:600}.swal2-progress-steps li{display:inline-block;position:relative}.swal2-progress-steps .swal2-progress-step{z-index:20;width:2em;height:2em;border-radius:2em;background:#3085d6;color:#fff;line-height:2em;text-align:center}.swal2-progress-steps .swal2-progress-step.swal2-active-progress-step{background:#3085d6}.swal2-progress-steps .swal2-progress-step.swal2-active-progress-step~.swal2-progress-step{background:#add8e6;color:#fff}.swal2-progress-steps .swal2-progress-step.swal2-active-progress-step~.swal2-progress-step-line{background:#add8e6}.swal2-progress-steps .swal2-progress-step-line{z-index:10;width:2.5em;height:.4em;margin:0 -1px;background:#3085d6}[class^=swal2]{-webkit-tap-highlight-color:transparent}.swal2-show{-webkit-animation:swal2-show .3s;animation:swal2-show .3s}.swal2-hide{-webkit-animation:swal2-hide .15s forwards;animation:swal2-hide .15s forwards}.swal2-noanimation{transition:none}.swal2-scrollbar-measure{position:absolute;top:-9999px;width:50px;height:50px;overflow:scroll}.swal2-rtl .swal2-close{right:auto;left:0}.swal2-rtl .swal2-timer-progress-bar{right:0;left:auto}@supports (-ms-accelerator:true){.swal2-range input{width:100%!important}.swal2-range output{display:none}}@media all and (-ms-high-contrast:none),(-ms-high-contrast:active){.swal2-range input{width:100%!important}.swal2-range output{display:none}}@-moz-document url-prefix(){.swal2-close:focus{outline:2px solid rgba(50,100,150,.4)}}@-webkit-keyframes swal2-toast-show{0%{transform:translateY(-.625em) rotateZ(2deg)}33%{transform:translateY(0) rotateZ(-2deg)}66%{transform:translateY(.3125em) rotateZ(2deg)}100%{transform:translateY(0) rotateZ(0)}}@keyframes swal2-toast-show{0%{transform:translateY(-.625em) rotateZ(2deg)}33%{transform:translateY(0) rotateZ(-2deg)}66%{transform:translateY(.3125em) rotateZ(2deg)}100%{transform:translateY(0) rotateZ(0)}}@-webkit-keyframes swal2-toast-hide{100%{transform:rotateZ(1deg);opacity:0}}@keyframes swal2-toast-hide{100%{transform:rotateZ(1deg);opacity:0}}@-webkit-keyframes swal2-toast-animate-success-line-tip{0%{top:.5625em;left:.0625em;width:0}54%{top:.125em;left:.125em;width:0}70%{top:.625em;left:-.25em;width:1.625em}84%{top:1.0625em;left:.75em;width:.5em}100%{top:1.125em;left:.1875em;width:.75em}}@keyframes swal2-toast-animate-success-line-tip{0%{top:.5625em;left:.0625em;width:0}54%{top:.125em;left:.125em;width:0}70%{top:.625em;left:-.25em;width:1.625em}84%{top:1.0625em;left:.75em;width:.5em}100%{top:1.125em;left:.1875em;width:.75em}}@-webkit-keyframes swal2-toast-animate-success-line-long{0%{top:1.625em;right:1.375em;width:0}65%{top:1.25em;right:.9375em;width:0}84%{top:.9375em;right:0;width:1.125em}100%{top:.9375em;right:.1875em;width:1.375em}}@keyframes swal2-toast-animate-success-line-long{0%{top:1.625em;right:1.375em;width:0}65%{top:1.25em;right:.9375em;width:0}84%{top:.9375em;right:0;width:1.125em}100%{top:.9375em;right:.1875em;width:1.375em}}@-webkit-keyframes swal2-show{0%{transform:scale(.7)}45%{transform:scale(1.05)}80%{transform:scale(.95)}100%{transform:scale(1)}}@keyframes swal2-show{0%{transform:scale(.7)}45%{transform:scale(1.05)}80%{transform:scale(.95)}100%{transform:scale(1)}}@-webkit-keyframes swal2-hide{0%{transform:scale(1);opacity:1}100%{transform:scale(.5);opacity:0}}@keyframes swal2-hide{0%{transform:scale(1);opacity:1}100%{transform:scale(.5);opacity:0}}@-webkit-keyframes swal2-animate-success-line-tip{0%{top:1.1875em;left:.0625em;width:0}54%{top:1.0625em;left:.125em;width:0}70%{top:2.1875em;left:-.375em;width:3.125em}84%{top:3em;left:1.3125em;width:1.0625em}100%{top:2.8125em;left:.8125em;width:1.5625em}}@keyframes swal2-animate-success-line-tip{0%{top:1.1875em;left:.0625em;width:0}54%{top:1.0625em;left:.125em;width:0}70%{top:2.1875em;left:-.375em;width:3.125em}84%{top:3em;left:1.3125em;width:1.0625em}100%{top:2.8125em;left:.8125em;width:1.5625em}}@-webkit-keyframes swal2-animate-success-line-long{0%{top:3.375em;right:2.875em;width:0}65%{top:3.375em;right:2.875em;width:0}84%{top:2.1875em;right:0;width:3.4375em}100%{top:2.375em;right:.5em;width:2.9375em}}@keyframes swal2-animate-success-line-long{0%{top:3.375em;right:2.875em;width:0}65%{top:3.375em;right:2.875em;width:0}84%{top:2.1875em;right:0;width:3.4375em}100%{top:2.375em;right:.5em;width:2.9375em}}@-webkit-keyframes swal2-rotate-success-circular-line{0%{transform:rotate(-45deg)}5%{transform:rotate(-45deg)}12%{transform:rotate(-405deg)}100%{transform:rotate(-405deg)}}@keyframes swal2-rotate-success-circular-line{0%{transform:rotate(-45deg)}5%{transform:rotate(-45deg)}12%{transform:rotate(-405deg)}100%{transform:rotate(-405deg)}}@-webkit-keyframes swal2-animate-error-x-mark{0%{margin-top:1.625em;transform:scale(.4);opacity:0}50%{margin-top:1.625em;transform:scale(.4);opacity:0}80%{margin-top:-.375em;transform:scale(1.15)}100%{margin-top:0;transform:scale(1);opacity:1}}@keyframes swal2-animate-error-x-mark{0%{margin-top:1.625em;transform:scale(.4);opacity:0}50%{margin-top:1.625em;transform:scale(.4);opacity:0}80%{margin-top:-.375em;transform:scale(1.15)}100%{margin-top:0;transform:scale(1);opacity:1}}@-webkit-keyframes swal2-animate-error-icon{0%{transform:rotateX(100deg);opacity:0}100%{transform:rotateX(0);opacity:1}}@keyframes swal2-animate-error-icon{0%{transform:rotateX(100deg);opacity:0}100%{transform:rotateX(0);opacity:1}}@-webkit-keyframes swal2-rotate-loading{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@keyframes swal2-rotate-loading{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown){overflow:hidden}body.swal2-height-auto{height:auto!important}body.swal2-no-backdrop .swal2-container{top:auto;right:auto;bottom:auto;left:auto;max-width:calc(100% - .625em * 2);background-color:transparent!important}body.swal2-no-backdrop .swal2-container>.swal2-modal{box-shadow:0 0 10px rgba(0,0,0,.4)}body.swal2-no-backdrop .swal2-container.swal2-top{top:0;left:50%;transform:translateX(-50%)}body.swal2-no-backdrop .swal2-container.swal2-top-left,body.swal2-no-backdrop .swal2-container.swal2-top-start{top:0;left:0}body.swal2-no-backdrop .swal2-container.swal2-top-end,body.swal2-no-backdrop .swal2-container.swal2-top-right{top:0;right:0}body.swal2-no-backdrop .swal2-container.swal2-center{top:50%;left:50%;transform:translate(-50%,-50%)}body.swal2-no-backdrop .swal2-container.swal2-center-left,body.swal2-no-backdrop .swal2-container.swal2-center-start{top:50%;left:0;transform:translateY(-50%)}body.swal2-no-backdrop .swal2-container.swal2-center-end,body.swal2-no-backdrop .swal2-container.swal2-center-right{top:50%;right:0;transform:translateY(-50%)}body.swal2-no-backdrop .swal2-container.swal2-bottom{bottom:0;left:50%;transform:translateX(-50%)}body.swal2-no-backdrop .swal2-container.swal2-bottom-left,body.swal2-no-backdrop .swal2-container.swal2-bottom-start{bottom:0;left:0}body.swal2-no-backdrop .swal2-container.swal2-bottom-end,body.swal2-no-backdrop .swal2-container.swal2-bottom-right{right:0;bottom:0}@media print{body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown){overflow-y:scroll!important}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown)>[aria-hidden=true]{display:none}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown) .swal2-container{position:static!important}}body.swal2-toast-shown .swal2-container{background-color:transparent}body.swal2-toast-shown .swal2-container.swal2-top{top:0;right:auto;bottom:auto;left:50%;transform:translateX(-50%)}body.swal2-toast-shown .swal2-container.swal2-top-end,body.swal2-toast-shown .swal2-container.swal2-top-right{top:0;right:0;bottom:auto;left:auto}body.swal2-toast-shown .swal2-container.swal2-top-left,body.swal2-toast-shown .swal2-container.swal2-top-start{top:0;right:auto;bottom:auto;left:0}body.swal2-toast-shown .swal2-container.swal2-center-left,body.swal2-toast-shown .swal2-container.swal2-center-start{top:50%;right:auto;bottom:auto;left:0;transform:translateY(-50%)}body.swal2-toast-shown .swal2-container.swal2-center{top:50%;right:auto;bottom:auto;left:50%;transform:translate(-50%,-50%)}body.swal2-toast-shown .swal2-container.swal2-center-end,body.swal2-toast-shown .swal2-container.swal2-center-right{top:50%;right:0;bottom:auto;left:auto;transform:translateY(-50%)}body.swal2-toast-shown .swal2-container.swal2-bottom-left,body.swal2-toast-shown .swal2-container.swal2-bottom-start{top:auto;right:auto;bottom:0;left:0}body.swal2-toast-shown .swal2-container.swal2-bottom{top:auto;right:auto;bottom:0;left:50%;transform:translateX(-50%)}body.swal2-toast-shown .swal2-container.swal2-bottom-end,body.swal2-toast-shown .swal2-container.swal2-bottom-right{top:auto;right:0;bottom:0;left:auto}body.swal2-toast-column .swal2-toast{flex-direction:column;align-items:stretch}body.swal2-toast-column .swal2-toast .swal2-actions{flex:1;align-self:stretch;height:2.2em;margin-top:.3125em}body.swal2-toast-column .swal2-toast .swal2-loading{justify-content:center}body.swal2-toast-column .swal2-toast .swal2-input{height:2em;margin:.3125em auto;font-size:1em}body.swal2-toast-column .swal2-toast .swal2-validation-message{font-size:1em}')},"1f61575e8c12ef7ccb9f":function(e,t,l){"use strict";var n=l("8e6d34d5e2b1c9c449c0");t.__esModule=!0,t.default=void 0;var r=n(l("2c62cf50f9b98ad5e2af")),a=n(l("84ed169f5b76a6b15fc0")),o=n(l("b912ecc4473ae8a2ff0b")),i=n(l("8af190b70a6bc55c6f1b")),s=l("de45080f617146192f27"),c=["bsPrefix","className","as"],u=["xl","lg","md","sm","xs"],d=i.default.forwardRef((function(e,t){var l=e.bsPrefix,n=e.className,d=e.as,f=void 0===d?"div":d,p=(0,a.default)(e,c),h=(0,s.useBootstrapPrefix)(l,"col"),m=[],g=[];return u.forEach((function(e){var t,l,n,r=p[e];if(delete p[e],"object"===typeof r&&null!=r){var a=r.span;t=void 0===a||a,l=r.offset,n=r.order}else t=r;var o="xs"!==e?"-"+e:"";t&&m.push(!0===t?""+h+o:""+h+o+"-"+t),null!=n&&g.push("order"+o+"-"+n),null!=l&&g.push("offset"+o+"-"+l)})),m.length||m.push(h),i.default.createElement(f,(0,r.default)({},p,{ref:t,className:o.default.apply(void 0,[n].concat(m,g))}))}));d.displayName="Col";var f=d;t.default=f,e.exports=t.default},"1f817169a0417ee910d8":function(e,t,l){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.getRegisteredStyles=function(e,t,l){var n="";return l.split(" ").forEach((function(l){void 0!==e[l]?t.push(e[l]):n+=l+" "})),n},t.insertStyles=function(e,t,l){var n=e.key+"-"+t.name;if(!1===l&&void 0===e.registered[n]&&(e.registered[n]=t.styles),void 0===e.inserted[t.name]){var r=t;do{e.insert("."+n,r,e.sheet,!0);r=r.next}while(void 0!==r)}}},"1f9b441223cc60b0f9fa":function(e,t,l){"use strict";t.__esModule=!0,t.default=void 0;var n=l("8af190b70a6bc55c6f1b");var r=function(e,t){const l=(0,n.useRef)(!0);(0,n.useEffect)(()=>{if(!l.current)return e();l.current=!1},t)};t.default=r},2:function(e,t){},"202d903a0e43824101d7":function(e,t,l){"use strict";var n=l("8e6d34d5e2b1c9c449c0");t.__esModule=!0,t.useAccordionToggle=d,t.default=void 0;var r=n(l("2c62cf50f9b98ad5e2af")),a=n(l("84ed169f5b76a6b15fc0")),o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==typeof e&&"function"!==typeof e)return{default:e};var l=u(t);if(l&&l.has(e))return l.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,l&&l.set(e,n);return n}(l("8af190b70a6bc55c6f1b")),i=n(l("8091d4c30d49f465376d")),s=n(l("c2943968f56ce09054de")),c=["as","children","eventKey","onClick"];function u(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,l=new WeakMap;return(u=function(e){return e?l:t})(e)}function d(e,t){var l=(0,o.useContext)(s.default),n=(0,o.useContext)(i.default);return function(r){n&&n(e===l?null:e,r),t&&t(r)}}var f=o.default.forwardRef((function(e,t){var l=e.as,n=void 0===l?"button":l,i=e.children,s=e.eventKey,u=e.onClick,f=(0,a.default)(e,c),p=d(s,u);return"button"===n&&(f.type="button"),o.default.createElement(n,(0,r.default)({ref:t,onClick:p},f),i)}));t.default=f},"205e65e64394f925fc52":function(e,t,l){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.StreetViewPanorama=void 0;var n=h(l("4b8198349f6c2a3ff493")),r=h(l("8a4a7a62a26b8f064358")),a=h(l("acab2ae8d55fd58113d8")),o=h(l("0bf817924258aa08734c")),i=h(l("de6bd889b0c636aa995b")),s=h(l("aa675f1299ad16c8424c")),c=h(l("6a4f9c383785f9168266")),u=h(l("8af190b70a6bc55c6f1b")),d=h(l("6b6feea709b87dcc25f6")),f=l("fc3d88e1f5a42c3907f5"),p=l("ac653f9a50681d429490");function h(e){return e&&e.__esModule?e:{default:e}}var m=t.StreetViewPanorama=function(e){function t(e,l){(0,a.default)(this,t);var n=(0,i.default)(this,(t.__proto__||(0,r.default)(t)).call(this,e,l));return(0,c.default)(!!n.context[p.MAP],"Did you render as a child of with withGoogleMap() HOC?"),(0,f.construct)(t.propTypes,y,n.props,n.context[p.MAP].getStreetView()),n}return(0,s.default)(t,e),(0,o.default)(t,[{key:"getChildContext",value:function(){return(0,n.default)({},p.MAP,this.context[p.MAP].getStreetView())}},{key:"componentDidMount",value:function(){(0,f.componentDidMount)(this,this.context[p.MAP].getStreetView(),g)}},{key:"componentDidUpdate",value:function(e){(0,f.componentDidUpdate)(this,this.context[p.MAP].getStreetView(),g,y,e)}},{key:"componentWillUnmount",value:function(){(0,f.componentWillUnmount)(this);var e=this.context[p.MAP].getStreetView();e&&e.setVisible(!1)}},{key:"render",value:function(){var e=this.props.children;return u.default.createElement("div",null,e)}},{key:"getLinks",value:function(){return this.context[p.MAP].getLinks()}},{key:"getLocation",value:function(){return this.context[p.MAP].getLocation()}},{key:"getMotionTracking",value:function(){return this.context[p.MAP].getMotionTracking()}},{key:"getPano",value:function(){return this.context[p.MAP].getPano()}},{key:"getPhotographerPov",value:function(){return this.context[p.MAP].getPhotographerPov()}},{key:"getPosition",value:function(){return this.context[p.MAP].getPosition()}},{key:"getPov",value:function(){return this.context[p.MAP].getPov()}},{key:"getStatus",value:function(){return this.context[p.MAP].getStatus()}},{key:"getVisible",value:function(){return this.context[p.MAP].getVisible()}},{key:"getZoom",value:function(){return this.context[p.MAP].getZoom()}}]),t}(u.default.PureComponent);m.propTypes={defaultLinks:d.default.any,defaultMotionTracking:d.default.bool,defaultOptions:d.default.any,defaultPano:d.default.string,defaultPosition:d.default.any,defaultPov:d.default.any,defaultVisible:d.default.bool,defaultZoom:d.default.number,links:d.default.any,motionTracking:d.default.bool,options:d.default.any,pano:d.default.string,position:d.default.any,pov:d.default.any,visible:d.default.bool,zoom:d.default.number,onCloseClick:d.default.func,onPanoChanged:d.default.func,onPositionChanged:d.default.func,onPovChanged:d.default.func,onResize:d.default.func,onStatusChanged:d.default.func,onVisibleChanged:d.default.func,onZoomChanged:d.default.func},m.contextTypes=(0,n.default)({},p.MAP,d.default.object),m.childContextTypes=(0,n.default)({},p.MAP,d.default.object),t.default=m;var g={onCloseClick:"closeclick",onPanoChanged:"pano_changed",onPositionChanged:"position_changed",onPovChanged:"pov_changed",onResize:"resize",onStatusChanged:"status_changed",onVisibleChanged:"visible_changed",onZoomChanged:"zoom_changed"},y={links:function(e,t){e.setLinks(t)},motionTracking:function(e,t){e.setMotionTracking(t)},options:function(e,t){e.setOptions(t)},pano:function(e,t){e.setPano(t)},position:function(e,t){e.setPosition(t)},pov:function(e,t){e.setPov(t)},visible:function(e,t){e.setVisible(t)},zoom:function(e,t){e.setZoom(t)}}},"2099e9eb82decad67416":function(e,t,l){"use strict";var n=l("3c4d49135b7c636621cd"),r=l("c20eeba39b976b257181"),a=l("b9ea574e55f659c4c9ac"),o=l("de14b323604f75d01ef9").parse,i=l("aed3fa28de3a4807e92c").parse;e.exports=function(e,t,l){var r=l?function(e){var t,l=e.length,n=-1,r={};for(;++n1){for(var o=Array(a),i=0;i1){for(var o=Array(a),i=0;i1){for(var o=Array(a),i=0;i1){for(var o=Array(a),i=0;i1){for(var o=Array(a),i=0;i1){for(var o=Array(a),i=0;i1){for(var o=Array(a),i=0;i1){for(var o=Array(a),i=0;i1){for(var o=Array(a),i=0;i1){for(var o=Array(a),i=0;i1){for(var o=Array(a),i=0;i1){for(var o=Array(a),i=0;i1){for(var o=Array(a),i=0;i1){for(var o=Array(a),i=0;i1){for(var o=Array(a),i=0;i1){for(var o=Array(a),i=0;ie.color?e.color:"#ffffff"}; padding: 2px; width: 50px; color: white; text-align: center; `,t.Code=n.default.div` display: inline-block; background-color: ${e=>e.color?e.color:"#ffffff"}; padding: 5px; font-size: 18px; margin-right: 10px; width: 100px; color: white; text-align: center `,t.SummaryValues=n.default.div` display: flex; flex-direction: column; div { span { &:nth-child(odd) { color: grey; margin-right: 40px; width: 150px; display: inline-block; font-size: 14px; margin: 10px 0px; } } } `,t.VerticalFlex=n.default.div` display: flex; flex-direction: column; `},"218c389e3d0b75bca757":function(e,t,l){"use strict";t.__esModule=!0,t.createDispatchHook=a,t.useDispatch=void 0;var n=l("085535a1e09c30d8db5e"),r=l("4760a01b6c67caab9dfd");function a(e){void 0===e&&(e=n.ReactReduxContext);var t=e===n.ReactReduxContext?r.useStore:(0,r.createStoreHook)(e);return function(){return t().dispatch}}var o=a();t.useDispatch=o},"21def8c13693e2976f9a":function(e,t){!function(e){"use strict";t.encode=function(t){var l,n=new Uint8Array(t),r=n.length,a="";for(l=0;l>2],a+=e[(3&n[l])<<4|n[l+1]>>4],a+=e[(15&n[l+1])<<2|n[l+2]>>6],a+=e[63&n[l+2]];return r%3===2?a=a.substring(0,a.length-1)+"=":r%3===1&&(a=a.substring(0,a.length-2)+"=="),a},t.decode=function(t){var l,n,r,a,o,i=.75*t.length,s=t.length,c=0;"="===t[t.length-1]&&(i--,"="===t[t.length-2]&&i--);var u=new ArrayBuffer(i),d=new Uint8Array(u);for(l=0;l>4,d[c++]=(15&r)<<4|a>>2,d[c++]=(3&a)<<6|63&o;return u}}("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/")},"2255d654b1a6bb9f1a33":function(e,t,l){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.setNonce=function(e){n=e},t.getNonce=function(){return n||l.nc}},"22619546b8c1d35cb39a":function(e,t,l){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=l("df7235aba277f4bc0911"),r=l("8af190b70a6bc55c6f1b");l("b659cc8dcea41d1ddb8f");var a=l("eea127faac582450a7f2"),o=l("1f817169a0417ee910d8"),i=l("a921b016ea7717afa2de"),s=l("8e181c90590645f113bd"),c=l("90d726db9c1d45f7279b");function u(e){return e&&e.__esModule?e:{default:e}}var d=u(n),f=u(c),p=function(e,t){var l=arguments;if(null==t||!a.hasOwnProperty.call(t,"css"))return r.createElement.apply(void 0,l);var n=l.length,o=new Array(n);o[0]=a.Emotion,o[1]=a.createEmotionProps(e,t);for(var i=2;i=l.length&&(a=0),a<0&&(a=l.length-1),l[a]},E=function(e,t){null!=e&&(y&&y(e,t),C&&C(e,t))};(0,i.useEffect)((function(){if(M.current&&S.current){var e=M.current.querySelector("[data-rb-event-key].active");e&&e.focus()}S.current=!1}));var P=(0,c.default)(t,M);return i.default.createElement(d.default.Provider,{value:E},i.default.createElement(u.default.Provider,{value:{role:b,activeKey:(0,d.makeEventKey)(v),getControlledId:l||g,getControllerId:n||g}},i.default.createElement(m,(0,r.default)({},x,{onKeyDown:function(e){var t;switch(w&&w(e),e.key){case"ArrowLeft":case"ArrowUp":t=_(-1);break;case"ArrowRight":case"ArrowDown":t=_(1);break;default:return}t&&(e.preventDefault(),E(t.dataset.rbEventKey,e),S.current=!0,k())},ref:P,role:b}))))}));t.default=y,e.exports=t.default},"22d6d5fb9c90c1dcf698":function(e,t,l){"use strict";var n=l("8e6d34d5e2b1c9c449c0");t.__esModule=!0,t.default=void 0;var r=n(l("2c62cf50f9b98ad5e2af")),a=n(l("84ed169f5b76a6b15fc0")),o=n(l("b912ecc4473ae8a2ff0b")),i=n(l("8af190b70a6bc55c6f1b")),s=l("de45080f617146192f27"),c=["as","bsPrefix","className","children"],u=i.default.forwardRef((function(e,t){var l=e.as,n=void 0===l?"div":l,u=e.bsPrefix,d=e.className,f=e.children,p=(0,a.default)(e,c);return u=(0,s.useBootstrapPrefix)(u,"popover-body"),i.default.createElement(n,(0,r.default)({ref:t},p,{className:(0,o.default)(d,u)}),f)}));t.default=u,e.exports=t.default},"23b8d02be40765ac53e3":function(e,t,l){e.exports=function(e,t){"use strict";e=e&&e.hasOwnProperty("default")?e.default:e,t=t&&t.hasOwnProperty("default")?t.default:t;var l,n,r=(function(e){e.exports=function(e){function t(n){if(l[n])return l[n].exports;var r=l[n]={i:n,l:!1,exports:{}};return e[n].call(r.exports,r,r.exports,t),r.l=!0,r.exports}var l={};return t.m=e,t.c=l,t.d=function(e,l,n){t.o(e,l)||Object.defineProperty(e,l,{configurable:!1,enumerable:!0,get:n})},t.n=function(e){var l=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(l,"a",l),l},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=13)}([function(e,t){var l=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=l)},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t){var l=e.exports={version:"2.5.0"};"number"==typeof __e&&(__e=l)},function(e,t,l){e.exports=!l(4)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t){var l={}.toString;e.exports=function(e){return l.call(e).slice(8,-1)}},function(e,t,l){var n=l(32)("wks"),r=l(9),a=l(0).Symbol,o="function"==typeof a;(e.exports=function(e){return n[e]||(n[e]=o&&a[e]||(o?a:r)("Symbol."+e))}).store=n},function(e,t,l){var n=l(0),r=l(2),a=l(8),o=l(22),i=l(10),s=function(e,t,l){var c,u,d,f,p=e&s.F,h=e&s.G,m=e&s.S,g=e&s.P,y=e&s.B,v=h?n:m?n[t]||(n[t]={}):(n[t]||{}).prototype,b=h?r:r[t]||(r[t]={}),w=b.prototype||(b.prototype={});for(c in h&&(l=t),l)d=((u=!p&&v&&void 0!==v[c])?v:l)[c],f=y&&u?i(d,n):g&&"function"==typeof d?i(Function.call,d):d,v&&o(v,c,d,e&s.U),b[c]!=d&&a(b,c,f),g&&w[c]!=d&&(w[c]=d)};n.core=r,s.F=1,s.G=2,s.S=4,s.P=8,s.B=16,s.W=32,s.U=64,s.R=128,e.exports=s},function(e,t,l){var n=l(16),r=l(21);e.exports=l(3)?function(e,t,l){return n.f(e,t,r(1,l))}:function(e,t,l){return e[t]=l,e}},function(e,t){var l=0,n=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++l+n).toString(36))}},function(e,t,l){var n=l(24);e.exports=function(e,t,l){if(n(e),void 0===t)return e;switch(l){case 1:return function(l){return e.call(t,l)};case 2:return function(l,n){return e.call(t,l,n)};case 3:return function(l,n,r){return e.call(t,l,n,r)}}return function(){return e.apply(t,arguments)}}},function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,l){var n=l(28),r=Math.min;e.exports=function(e){return e>0?r(n(e),9007199254740991):0}},function(e,t,l){t.__esModule=!0,t.default=function(e,t){if(e&&t){var l=Array.isArray(t)?t:t.split(","),n=e.name||"",r=e.type||"",a=r.replace(/\/.*$/,"");return l.some((function(e){var t=e.trim();return"."===t.charAt(0)?n.toLowerCase().endsWith(t.toLowerCase()):t.endsWith("/*")?a===t.replace(/\/.*$/,""):r===t}))}return!0},l(14),l(34)},function(e,t,l){l(15),e.exports=l(2).Array.some},function(e,t,l){var n=l(7),r=l(25)(3);n(n.P+n.F*!l(33)([].some,!0),"Array",{some:function(e){return r(this,e,arguments[1])}})},function(e,t,l){var n=l(17),r=l(18),a=l(20),o=Object.defineProperty;t.f=l(3)?Object.defineProperty:function(e,t,l){if(n(e),t=a(t,!0),n(l),r)try{return o(e,t,l)}catch(e){}if("get"in l||"set"in l)throw TypeError("Accessors not supported!");return"value"in l&&(e[t]=l.value),e}},function(e,t,l){var n=l(1);e.exports=function(e){if(!n(e))throw TypeError(e+" is not an object!");return e}},function(e,t,l){e.exports=!l(3)&&!l(4)((function(){return 7!=Object.defineProperty(l(19)("div"),"a",{get:function(){return 7}}).a}))},function(e,t,l){var n=l(1),r=l(0).document,a=n(r)&&n(r.createElement);e.exports=function(e){return a?r.createElement(e):{}}},function(e,t,l){var n=l(1);e.exports=function(e,t){if(!n(e))return e;var l,r;if(t&&"function"==typeof(l=e.toString)&&!n(r=l.call(e)))return r;if("function"==typeof(l=e.valueOf)&&!n(r=l.call(e)))return r;if(!t&&"function"==typeof(l=e.toString)&&!n(r=l.call(e)))return r;throw TypeError("Can't convert object to primitive value")}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,l){var n=l(0),r=l(8),a=l(23),o=l(9)("src"),i=Function.toString,s=(""+i).split("toString");l(2).inspectSource=function(e){return i.call(e)},(e.exports=function(e,t,l,i){var c="function"==typeof l;c&&(a(l,"name")||r(l,"name",t)),e[t]!==l&&(c&&(a(l,o)||r(l,o,e[t]?""+e[t]:s.join(String(t)))),e===n?e[t]=l:i?e[t]?e[t]=l:r(e,t,l):(delete e[t],r(e,t,l)))})(Function.prototype,"toString",(function(){return"function"==typeof this&&this[o]||i.call(this)}))},function(e,t){var l={}.hasOwnProperty;e.exports=function(e,t){return l.call(e,t)}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,l){var n=l(10),r=l(26),a=l(27),o=l(12),i=l(29);e.exports=function(e,t){var l=1==e,s=2==e,c=3==e,u=4==e,d=6==e,f=5==e||d,p=t||i;return function(t,i,h){for(var m,g,y=a(t),v=r(y),b=n(i,h,3),w=o(v.length),x=0,k=l?p(t,w):s?p(t,0):void 0;w>x;x++)if((f||x in v)&&(g=b(m=v[x],x,y),e))if(l)k[x]=g;else if(g)switch(e){case 3:return!0;case 5:return m;case 6:return x;case 2:k.push(m)}else if(u)return!1;return d?-1:c||u?u:k}}},function(e,t,l){var n=l(5);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==n(e)?e.split(""):Object(e)}},function(e,t,l){var n=l(11);e.exports=function(e){return Object(n(e))}},function(e,t){var l=Math.ceil,n=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?n:l)(e)}},function(e,t,l){var n=l(30);e.exports=function(e,t){return new(n(e))(t)}},function(e,t,l){var n=l(1),r=l(31),a=l(6)("species");e.exports=function(e){var t;return r(e)&&("function"!=typeof(t=e.constructor)||t!==Array&&!r(t.prototype)||(t=void 0),n(t)&&null===(t=t[a])&&(t=void 0)),void 0===t?Array:t}},function(e,t,l){var n=l(5);e.exports=Array.isArray||function(e){return"Array"==n(e)}},function(e,t,l){var n=l(0),r=n["__core-js_shared__"]||(n["__core-js_shared__"]={});e.exports=function(e){return r[e]||(r[e]={})}},function(e,t,l){var n=l(4);e.exports=function(e,t){return!!e&&n((function(){t?e.call(null,(function(){}),1):e.call(null)}))}},function(e,t,l){l(35),e.exports=l(2).String.endsWith},function(e,t,l){var n=l(7),r=l(12),a=l(36),o="".endsWith;n(n.P+n.F*l(38)("endsWith"),"String",{endsWith:function(e){var t=a(this,e,"endsWith"),l=arguments.length>1?arguments[1]:void 0,n=r(t.length),i=void 0===l?n:Math.min(r(l),n),s=String(e);return o?o.call(t,s,i):t.slice(i-s.length,i)===s}})},function(e,t,l){var n=l(37),r=l(11);e.exports=function(e,t,l){if(n(t))throw TypeError("String#"+l+" doesn't accept regex!");return String(r(e))}},function(e,t,l){var n=l(1),r=l(5),a=l(6)("match");e.exports=function(e){var t;return n(e)&&(void 0!==(t=e[a])?!!t:"RegExp"==r(e))}},function(e,t,l){var n=l(6)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(l){try{return t[n]=!1,!"/./"[e](t)}catch(e){}}return!0}}])}(l={exports:{}}),l.exports),a=(n=r)&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n,o=function(){function e(e,t){for(var l=0;l=0||Object.prototype.hasOwnProperty.call(e,n)&&(l[n]=e[n]);return l},c="undefined"==typeof document||!document||!document.createElement||"multiple"in document.createElement("input");function u(e,t){return"application/x-moz-file"===e.type||a(e,t)}function d(e){return!e.dataTransfer||Array.prototype.every.call(e.dataTransfer.types,(function(e){return"Files"===e||"application/x-moz-file"===e}))}function f(e){e.preventDefault()}var p={borderStyle:"solid",backgroundColor:"#eee"},h={borderStyle:"solid",borderColor:"#6c6",backgroundColor:"#eee"},m={borderStyle:"solid",borderColor:"#c66",backgroundColor:"#eee"},g={width:200,height:200,borderWidth:2,borderColor:"#666",borderStyle:"dashed",borderRadius:5},y={opacity:.5},v=function(t){function l(e,t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(l.__proto__||Object.getPrototypeOf(l)).call(this,e,t));return n.renderChildren=function(e,t,l,r){return"function"==typeof e?e(i({},n.state,{isDragActive:t,isDragAccept:l,isDragReject:r,open:n.open})):e},n.composeHandlers=n.composeHandlers.bind(n),n.onClick=n.onClick.bind(n),n.onDocumentDrop=n.onDocumentDrop.bind(n),n.onDragEnter=n.onDragEnter.bind(n),n.onDragLeave=n.onDragLeave.bind(n),n.onDragOver=n.onDragOver.bind(n),n.onDragStart=n.onDragStart.bind(n),n.onDrop=n.onDrop.bind(n),n.onFileDialogCancel=n.onFileDialogCancel.bind(n),n.onInputElementClick=n.onInputElementClick.bind(n),n.open=n.open.bind(n),n.setRef=n.setRef.bind(n),n.setRefs=n.setRefs.bind(n),n.isFileDialogActive=!1,n.state={draggedFiles:[],acceptedFiles:[],rejectedFiles:[]},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(l,e.Component),o(l,[{key:"componentDidMount",value:function(){var e=this.props.preventDropOnDocument;this.dragTargets=[],e&&(document.addEventListener("dragover",f,!1),document.addEventListener("drop",this.onDocumentDrop,!1)),null!=this.fileInputEl&&this.fileInputEl.addEventListener("click",this.onInputElementClick,!1),window.addEventListener("focus",this.onFileDialogCancel,!1)}},{key:"componentWillUnmount",value:function(){this.props.preventDropOnDocument&&(document.removeEventListener("dragover",f),document.removeEventListener("drop",this.onDocumentDrop)),null!=this.fileInputEl&&this.fileInputEl.removeEventListener("click",this.onInputElementClick,!1),window.removeEventListener("focus",this.onFileDialogCancel,!1)}},{key:"composeHandlers",value:function(e){return this.props.disabled?null:e}},{key:"onDocumentDrop",value:function(e){this.node&&this.node.contains(e.target)||(e.preventDefault(),this.dragTargets=[])}},{key:"onDragStart",value:function(e){e.persist(),this.props.onDragStart&&d(e)&&this.props.onDragStart.call(this,e)}},{key:"onDragEnter",value:function(e){var t=this;e.preventDefault(),-1===this.dragTargets.indexOf(e.target)&&this.dragTargets.push(e.target),e.persist(),d(e)&&(Promise.resolve(this.props.getDataTransferItems(e)).then((function(l){e.isPropagationStopped()||t.setState({draggedFiles:l,isDragActive:!0})})),this.props.onDragEnter&&this.props.onDragEnter.call(this,e))}},{key:"onDragOver",value:function(e){e.preventDefault(),e.persist();try{e.dataTransfer.dropEffect=this.isFileDialogActive?"none":"copy"}catch(e){}return this.props.onDragOver&&d(e)&&this.props.onDragOver.call(this,e),!1}},{key:"onDragLeave",value:function(e){var t=this;e.preventDefault(),e.persist(),this.dragTargets=this.dragTargets.filter((function(l){return l!==e.target&&t.node.contains(l)})),this.dragTargets.length>0||(this.setState({isDragActive:!1,draggedFiles:[]}),this.props.onDragLeave&&d(e)&&this.props.onDragLeave.call(this,e))}},{key:"onDrop",value:function(e){var t=this,l=this.props,n=l.onDrop,r=l.onDropAccepted,a=l.onDropRejected,o=l.multiple,i=l.accept,s=l.getDataTransferItems;e.preventDefault(),e.persist(),this.dragTargets=[],this.isFileDialogActive=!1,this.draggedFiles=null,this.setState({isDragActive:!1,draggedFiles:[]}),d(e)&&Promise.resolve(s(e)).then((function(l){var s=[],c=[];e.isPropagationStopped()||(l.forEach((function(e){u(e,i)&&function(e,t,l){return e.size<=t&&e.size>=l}(e,t.props.maxSize,t.props.minSize)?s.push(e):c.push(e)})),!o&&s.length>1&&c.push.apply(c,function(e){if(Array.isArray(e)){for(var t=0,l=Array(e.length);t0&&a&&a.call(t,c,e),s.length>0&&r&&r.call(t,s,e)})))}))}},{key:"onClick",value:function(e){var t=this.props,l=t.onClick,n=t.disableClick;l&&l.call(this,e),n||e.isDefaultPrevented()||(e.stopPropagation(),function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.navigator.userAgent;return function(e){return-1!==e.indexOf("MSIE")||-1!==e.indexOf("Trident/")}(e)||function(e){return-1!==e.indexOf("Edge/")}(e)}()?setTimeout(this.open,0):this.open())}},{key:"onInputElementClick",value:function(e){e.stopPropagation(),this.props.inputProps&&this.props.inputProps.onClick&&this.props.inputProps.onClick(e)}},{key:"onFileDialogCancel",value:function(){var e=this,t=this.props.onFileDialogCancel;this.isFileDialogActive&&setTimeout((function(){null!=e.fileInputEl&&(e.fileInputEl.files.length||(e.isFileDialogActive=!1,"function"==typeof t&&t()))}),300)}},{key:"setRef",value:function(e){this.node=e}},{key:"setRefs",value:function(e){this.fileInputEl=e}},{key:"open",value:function(){this.isFileDialogActive=!0,this.fileInputEl.value=null,this.fileInputEl.click()}},{key:"render",value:function(){var t=this.props,l=t.accept,n=t.acceptClassName,r=t.activeClassName,a=t.children,o=t.disabled,d=t.disabledClassName,f=t.inputProps,v=t.multiple,b=t.name,w=t.rejectClassName,x=s(t,["accept","acceptClassName","activeClassName","children","disabled","disabledClassName","inputProps","multiple","name","rejectClassName"]),k=x.acceptStyle,S=x.activeStyle,C=x.className,O=void 0===C?"":C,M=x.disabledStyle,_=x.rejectStyle,E=x.style,P=s(x,["acceptStyle","activeStyle","className","disabledStyle","rejectStyle","style"]),A=this.state,T=A.isDragActive,j=A.draggedFiles,D=j.length,I=v||D<=1,N=D>0&&function(e,t){return e.every((function(e){return u(e,t)}))}(j,this.props.accept),L=D>0&&(!N||!I),R=!(O||E||S||k||_||M);T&&r&&(O+=" "+r),N&&n&&(O+=" "+n),L&&w&&(O+=" "+w),o&&d&&(O+=" "+d),R&&(E=g,S=p,k=h,_=m,M=y);var B=i({position:"relative"},E);S&&T&&(B=i({},B,S)),k&&N&&(B=i({},B,k)),_&&L&&(B=i({},B,_)),M&&o&&(B=i({},B,M));var F={accept:l,disabled:o,type:"file",style:i({position:"absolute",top:0,right:0,bottom:0,left:0,opacity:1e-5,pointerEvents:"none"},f.style),multiple:c&&v,ref:this.setRefs,onChange:this.onDrop,autoComplete:"off"};b&&b.length&&(F.name=b);var z=s(P,["acceptedFiles","preventDropOnDocument","disableClick","onDropAccepted","onDropRejected","onFileDialogCancel","maxSize","minSize","getDataTransferItems"]);return e.createElement("div",i({className:O,style:B},z,{onClick:this.composeHandlers(this.onClick),onDragStart:this.composeHandlers(this.onDragStart),onDragEnter:this.composeHandlers(this.onDragEnter),onDragOver:this.composeHandlers(this.onDragOver),onDragLeave:this.composeHandlers(this.onDragLeave),onDrop:this.composeHandlers(this.onDrop),ref:this.setRef,"aria-disabled":o}),this.renderChildren(a,T,N,L),e.createElement("input",i({},f,F)))}}]),l}();return v.propTypes={accept:t.oneOfType([t.string,t.arrayOf(t.string)]),children:t.oneOfType([t.node,t.func]),disableClick:t.bool,disabled:t.bool,preventDropOnDocument:t.bool,inputProps:t.object,multiple:t.bool,name:t.string,maxSize:t.number,minSize:t.number,className:t.string,activeClassName:t.string,acceptClassName:t.string,rejectClassName:t.string,disabledClassName:t.string,style:t.object,activeStyle:t.object,acceptStyle:t.object,rejectStyle:t.object,disabledStyle:t.object,getDataTransferItems:t.func,onClick:t.func,onDrop:t.func,onDropAccepted:t.func,onDropRejected:t.func,onDragStart:t.func,onDragEnter:t.func,onDragOver:t.func,onDragLeave:t.func,onFileDialogCancel:t.func},v.defaultProps={preventDropOnDocument:!0,disabled:!1,disableClick:!1,inputProps:{},multiple:!0,maxSize:1/0,minSize:0,getDataTransferItems:function(e){var t=[];if(e.dataTransfer){var l=e.dataTransfer;l.files&&l.files.length?t=l.files:l.items&&l.items.length&&(t=l.items)}else e.target&&e.target.files&&(t=e.target.files);return Array.prototype.slice.call(t)}},v}(l("8af190b70a6bc55c6f1b"),l("57792b62cc0c61847a46"))},"23bf7e0cc0db74dfd0b7":function(e,t,l){var n,r=r||function(e){"use strict";if(!("undefined"===typeof e||"undefined"!==typeof navigator&&/MSIE [1-9]\./.test(navigator.userAgent))){var t=e.document,l=function(){return e.URL||e.webkitURL||e},n=t.createElementNS("http://www.w3.org/1999/xhtml","a"),r="download"in n,a=/constructor/i.test(e.HTMLElement)||e.safari,o=/CriOS\/[\d]+/.test(navigator.userAgent),i=function(t){(e.setImmediate||e.setTimeout)((function(){throw t}),0)},s=function(e){setTimeout((function(){"string"===typeof e?l().revokeObjectURL(e):e.remove()}),4e4)},c=function(e){return/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?new Blob([String.fromCharCode(65279),e],{type:e.type}):e},u=function(t,u,d){d||(t=c(t));var f,p=this,h="application/octet-stream"===t.type,m=function(){!function(e,t,l){for(var n=(t=[].concat(t)).length;n--;){var r=e["on"+t[n]];if("function"===typeof r)try{r.call(e,l||e)}catch(e){i(e)}}}(p,"writestart progress write writeend".split(" "))};if(p.readyState=p.INIT,r)return f=l().createObjectURL(t),void setTimeout((function(){var e,t;n.href=f,n.download=u,e=n,t=new MouseEvent("click"),e.dispatchEvent(t),m(),s(f),p.readyState=p.DONE}));!function(){if((o||h&&a)&&e.FileReader){var n=new FileReader;return n.onloadend=function(){var t=o?n.result:n.result.replace(/^data:[^;]*;/,"data:attachment/file;");e.open(t,"_blank")||(e.location.href=t),t=void 0,p.readyState=p.DONE,m()},n.readAsDataURL(t),void(p.readyState=p.INIT)}(f||(f=l().createObjectURL(t)),h)?e.location.href=f:e.open(f,"_blank")||(e.location.href=f);p.readyState=p.DONE,m(),s(f)}()},d=u.prototype;return"undefined"!==typeof navigator&&navigator.msSaveOrOpenBlob?function(e,t,l){return t=t||e.name||"download",l||(e=c(e)),navigator.msSaveOrOpenBlob(e,t)}:(d.abort=function(){},d.readyState=d.INIT=0,d.WRITING=1,d.DONE=2,d.error=d.onwritestart=d.onprogress=d.onwrite=d.onabort=d.onerror=d.onwriteend=null,function(e,t,l){return new u(e,t||e.name||"download",l)})}}("undefined"!==typeof self&&self||"undefined"!==typeof window&&window||this.content);e.exports?e.exports.saveAs=r:null!==l("30d1801ce607fbf6870f")&&null!==l("8d79a051c62e24e12733")&&(void 0===(n=function(){return r}.call(t,l,t,e))||(e.exports=n))},"23dca248e5c8291d27de":function(e,t,l){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.renderCar=void 0;var n=l("98bae3dbabd51089d613"),r=n.__importStar(l("8af190b70a6bc55c6f1b")),a=l("8af190b70a6bc55c6f1b");t.renderCar=function(e,t){function l(t){var l=t.stateRef,o=t.props,i=(0,a.useCallback)((function(){for(var e=[],t=0;t1?t-1:0),n=1;n{t.current=e}),t.current};var n=l("8af190b70a6bc55c6f1b")},"268d258ba689234fe159":function(e,t,l){Object.defineProperty(t,"__esModule",{value:!0});var n,r=l("eb58b4d2a94f2b3acd1c"),a=l("51d636e65fdd529182fb"),o=l("df9798647b795ac4104d"),i=l("5a0f6c32a53fabb68294"),s=l("581136af17f19bd4b79b"),c=l("dd3b0fd7b2328029b153"),u=l("68fec57544e131e5eff6"),d=i.getGlobalObject(),f={},p={};function h(e){if(!p[e])switch(p[e]=!0,e){case"console":!function(){if(!("console"in d))return;["debug","info","warn","error","log","assert"].forEach((function(e){e in d.console&&s.fill(d.console,e,(function(t){return function(){for(var l=[],n=0;n2?t[2]:void 0;if(r){var a=n,o=String(r);n=o,m("history",{from:a,to:o})}return e.apply(this,t)}}d.onpopstate=function(){for(var t=[],l=0;l1)for(var l=1;l span {\n font-weight: normal !important;\n}\n\n.ace-github .ace_marker-layer .ace_step {\n background: rgb(252, 255, 0);\n}\n\n.ace-github .ace_marker-layer .ace_stack {\n background: rgb(164, 229, 101);\n}\n\n.ace-github .ace_marker-layer .ace_bracket {\n margin: -1px 0 0 -1px;\n border: 1px solid rgb(192, 192, 192);\n}\n\n.ace-github .ace_gutter-active-line {\n background-color : rgba(0, 0, 0, 0.07);\n}\n\n.ace-github .ace_marker-layer .ace_selected-word {\n background: rgb(250, 250, 255);\n border: 1px solid rgb(200, 200, 250);\n}\n\n.ace-github .ace_invisible {\n color: #BFBFBF\n}\n\n.ace-github .ace_print-margin {\n width: 1px;\n background: #e8e8e8;\n}\n\n.ace-github .ace_indent-guide {\n background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==") right repeat-y;\n}\n\n.ace-github .ace_indent-guide-active {\n background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAIGNIUk0AAHolAACAgwAA+f8AAIDpAAB1MAAA6mAAADqYAAAXb5JfxUYAAAAZSURBVHjaYvj///9/hivKyv8BAAAA//8DACLqBhbvk+/eAAAAAElFTkSuQmCC") right repeat-y;\n}\n'})),ace.define("ace/theme/github",["require","exports","module","ace/theme/github-css","ace/lib/dom"],(function(e,t,l){t.isDark=!1,t.cssClass="ace-github",t.cssText=e("./github-css"),e("../lib/dom").importCssString(t.cssText,t.cssClass,!1)})),ace.require(["ace/theme/github"],(function(t){e&&(e.exports=t)}))}).call(this,l("f586cf5b9f4b7719b2c1")(e))},"279f1c7ef5f95c5d63e2":function(e,t,l){var n=l("2af61e8c0431facfc63f");e.exports=function(e,t,l){return(t=n(t))in e?Object.defineProperty(e,t,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[t]=l,e},e.exports.__esModule=!0,e.exports.default=e.exports},"27d3d054f68475bd62a9":function(e,t,l){Object.defineProperty(t,"__esModule",{value:!0});var n=l("7abe7ddea5cc66fd94b1"),r=l("2699310fc61c2e7274b1");function a(e){for(var t=[],l=1;l=55296&&X<=57343||X>1114111?(k(7,j),w=u(65533)):w in r?(k(6,j),w=r[w]):(C="",v(w)&&k(6,j),w>65535&&(C+=u((w-=65536)>>>10|55296),w=56320|1023&w),w=C+u(w))):E!==p&&k(4,j)),w?(Q(),A=J(),$=D-1,q+=D-_+1,Y.push(w),(T=J()).offset++,R&&R.call(z,w,{start:A,end:T},e.slice(_-1,D)),A=T):(f=e.slice(_-1,D),K+=f,q+=f.length,$=D-1)}else 10===b&&(Z++,G++,q=0),b===b?(K+=u(b),q++):Q();var X;return Y.join("");function J(){return{line:Z,column:q,offset:$+(H.offset||0)}}function Q(){K&&(Y.push(K),L&&L.call(F,K,{start:A,end:J()}),K="")}}(e,o)};var c={}.hasOwnProperty,u=String.fromCharCode,d=Function.prototype,f={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},p="named",h="hexadecimal",m={hexadecimal:16,decimal:10},g={};g[p]=i,g.decimal=a,g[h]=o;var y={};function v(e){return e>=1&&e<=8||11===e||e>=13&&e<=31||e>=127&&e<=159||e>=64976&&e<=65007||65535===(65535&e)||65534===(65535&e)}y[1]="Named character references must be terminated by a semicolon",y[2]="Numeric character references must be terminated by a semicolon",y[3]="Named character references cannot be empty",y[4]="Numeric character references cannot be empty",y[5]="Named character references must be known",y[6]="Numeric character references cannot be disallowed",y[7]="Numeric character references cannot be outside the permissible Unicode range"},"289c96ed03271763a3a9":function(e,t,l){"use strict";var n=l("d691ab6a01eacf6bd123"),r=l("443f930b60798cfedf71"),a=l("5dfc216e0b9559a5e74b"),o=l("44c1fc35bd273cc4f7a9");function i(e){var t=new a(e),l=r(a.prototype.request,t);return n.extend(l,a.prototype,t),n.extend(l,t),l}var s=i(l("764eabf2370962c4cad0"));s.Axios=a,s.create=function(e){return i(o(s.defaults,e))},s.Cancel=l("f3f9cf0ae64305a42cd6"),s.CancelToken=l("efd0adb76568cdad4116"),s.isCancel=l("b8e7bb6f2e080f7f5d1b"),s.all=function(e){return Promise.all(e)},s.spread=l("8bd221e6c52c12f3bc2c"),e.exports=s,e.exports.default=s},"28f5969d138bd4de1cc7":function(e,t,l){var n=l("fdf49e51d0d2daad1f20");"string"===typeof n&&(n=[[e.i,n,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};l("1e4534d1d62a11482e97")(n,r);n.locals&&(e.exports=n.locals)},"29796ead6add2b5f83ec":function(e,t,l){(function(n){function r(){var e;try{e=t.storage.debug}catch(e){}return!e&&"undefined"!==typeof n&&"env"in n&&(e=Object({NODE_ENV:"production",API:"prod"}).DEBUG),e}(t=e.exports=l("bee4e8da5ff55d62593c")).log=function(){return"object"===typeof console&&console.log&&Function.prototype.apply.call(console.log,console,arguments)},t.formatArgs=function(e){var l=this.useColors;if(e[0]=(l?"%c":"")+this.namespace+(l?" %c":" ")+e[0]+(l?"%c ":" ")+"+"+t.humanize(this.diff),!l)return;var n="color: "+this.color;e.splice(1,0,n,"color: inherit");var r=0,a=0;e[0].replace(/%[a-zA-Z%]/g,(function(e){"%%"!==e&&(r++,"%c"===e&&(a=r))})),e.splice(a,0,n)},t.save=function(e){try{null==e?t.storage.removeItem("debug"):t.storage.debug=e}catch(e){}},t.load=r,t.useColors=function(){if("undefined"!==typeof window&&window.process&&"renderer"===window.process.type)return!0;if("undefined"!==typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!==typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!==typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!==typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!==typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage="undefined"!=typeof chrome&&"undefined"!=typeof chrome.storage?chrome.storage.local:function(){try{return window.localStorage}catch(e){}}(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.formatters.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}},t.enable(r())}).call(this,l("26d59f808dff3e83c741"))},"29a9536bbf37470dcc3e":function(e,t,l){"use strict";t.__esModule=!0,t.default=function(e,t){return e.classList?!!t&&e.classList.contains(t):-1!==(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")},e.exports=t.default},"29be037a42afef3398ec":function(e,t,l){"use strict";var n=l("7d120192e4c5c3899346");function r(){}function a(){}a.resetWarningCache=r,e.exports=function(){function e(e,t,l,r,a,o){if(o!==n){var i=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw i.name="Invariant Violation",i}}function t(){return e}e.isRequired=e;var l={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:r};return l.PropTypes=l,l}},"29c9401d02b1d3ec0c97":function(e,t,l){"use strict";t.__esModule=!0,t.default=function(e){return e.replace(n,(function(e,t){return t.toUpperCase()}))};var n=/-(.)/g;e.exports=t.default},"29d72786e4ff8f5ddec4":function(e,t,l){var n=l("dc8ccfa52d4cde882199");function r(){var t,l,a="function"==typeof Symbol?Symbol:{},o=a.iterator||"@@iterator",i=a.toStringTag||"@@toStringTag";function s(e,r,a,o){var i=r&&r.prototype instanceof u?r:u,s=Object.create(i.prototype);return n(s,"_invoke",function(e,n,r){var a,o,i,s=0,u=r||[],d=!1,f={p:0,n:0,v:t,a:p,f:p.bind(t,4),d:function(e,l){return a=e,o=0,i=t,f.n=l,c}};function p(e,n){for(o=e,i=n,l=0;!d&&s&&!r&&l3?(r=h===n)&&(i=a[(o=a[4])?5:(o=3,3)],a[4]=a[5]=t):a[0]<=p&&((r=e<2&&pn||n>h)&&(a[4]=e,a[5]=n,f.n=h,o=0))}if(r||e>1)return c;throw d=!0,n}return function(r,u,h){if(s>1)throw TypeError("Generator is already running");for(d&&1===u&&p(u,h),o=u,i=h;(l=o<2?t:i)||!d;){a||(o?o<3?(o>1&&(f.n=-1),p(o,i)):f.n=i:f.v=i);try{if(s=2,a){if(o||(r="next"),l=a[r]){if(!(l=l.call(a,i)))throw TypeError("iterator result is not an object");if(!l.done)return l;i=l.value,o<2&&(o=0)}else 1===o&&(l=a.return)&&l.call(a),o<2&&(i=TypeError("The iterator does not provide a '"+r+"' method"),o=1);a=t}else if((l=(d=f.n<0)?i:e.call(n,f))!==c)break}catch(e){a=t,o=1,i=e}finally{s=1}}return{value:l,done:d}}}(e,a,o),!0),s}var c={};function u(){}function d(){}function f(){}l=Object.getPrototypeOf;var p=[][o]?l(l([][o]())):(n(l={},o,(function(){return this})),l),h=f.prototype=u.prototype=Object.create(p);function m(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,f):(e.__proto__=f,n(e,i,"GeneratorFunction")),e.prototype=Object.create(h),e}return d.prototype=f,n(h,"constructor",f),n(f,"constructor",d),d.displayName="GeneratorFunction",n(f,i,"GeneratorFunction"),n(h),n(h,i,"Generator"),n(h,o,(function(){return this})),n(h,"toString",(function(){return"[object Generator]"})),(e.exports=r=function(){return{w:s,m:m}},e.exports.__esModule=!0,e.exports.default=e.exports)()}e.exports=r,e.exports.__esModule=!0,e.exports.default=e.exports},"2a0a8f860f744dbd0ab1":function(e,t,l){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){function t(t,l,n,r,a,o){var i=r||"<>",s=o||n;if(null==l[n])return t?new Error("Required "+a+" `"+s+"` was not specified in `"+i+"`."):null;for(var c=arguments.length,u=Array(c>6?c-6:0),d=6;d=0&&"[object Function]"===n.call(e.callee)),l}},"2a5ece208fd9996d4670":function(e,t,l){var n;!function(){"use strict";var l={}.hasOwnProperty;function r(){for(var e=[],t=0;t=0;--r){var a=this.tryEntries[r],o=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var i=l.call(a,"catchLoc"),s=l.call(a,"finallyLoc");if(i&&s){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&l.call(r,"finallyLoc")&&this.prev=0;--t){var l=this.tryEntries[t];if(l.finallyLoc===e)return this.complete(l.completion,l.afterLoc),C(l),d}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var l=this.tryEntries[t];if(l.tryLoc===e){var n=l.completion;if("throw"===n.type){var r=n.arg;C(l)}return r}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,l){return this.delegate={iterator:M(e),resultName:t,nextLoc:l},"next"===this.method&&(this.arg=void 0),d}},e}(e.exports);try{regeneratorRuntime=n}catch(e){"object"===typeof globalThis?globalThis.regeneratorRuntime=n:Function("r","regeneratorRuntime = r")(n)}},"2c1038aa4fb1000e0958":function(e,t,l){var n=l("81b6b307ad4f67ec4f33");e.exports=function(e,t){var l="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!l){if(Array.isArray(e)||(l=n(e))||t&&e&&"number"==typeof e.length){l&&(e=l);var r=0,a=function(){};return{s:a,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,i=!0,s=!1;return{s:function(){l=l.call(e)},n:function(){var e=l.next();return i=e.done,e},e:function(e){s=!0,o=e},f:function(){try{i||null==l.return||l.return()}finally{if(s)throw o}}}},e.exports.__esModule=!0,e.exports.default=e.exports},"2c62cf50f9b98ad5e2af":function(e,t){function l(){return e.exports=l=Object.assign?Object.assign.bind():function(e){for(var t=1;t1?t-1:0),n=1;nspan{padding-right:5px}.input-tag .TagInput_tag_child_container{display:flex;flex-wrap:wrap}.input-tag.level-1{background-color:#3e438d;min-height:33px;height:auto;flex-wrap:wrap;margin-top:4.5px;margin-bottom:4.5px}.input-tag.level-1 span{padding-right:10px}.input-tag.level-2{max-height:28px;min-height:28px;margin-top:3px;margin-bottom:3px}.input-tag em{cursor:pointer;margin-left:8px;font-size:.75em}.input-tags{background:transparent !important;border:none !important;width:100% !important}.input-tags:focus{background-color:transparent !important;border:none !important;color:#000 !important;transition:.2s !important}.TagInput_tag_list{padding-bottom:5px}.TagInput_tag_list .TagInput_sidebar_tag{padding-top:10px;padding-bottom:5px;font-weight:bold;font-size:1.3em;color:#141443}.TagInput_tag_list .TagInput_sidebar_tag .product_arrow{transition:.2s;transform:rotate(-90deg)}.TagInput_tag_list .TagInput_sidebar_tag .product_arrow.active{transform:rotate(90deg)}.TagInput_tag_list .TagInput_sidebar_sub_tag{padding-top:4px;font-weight:bold;font-size:1.1em;position:relative;margin-left:10px}.TagInput_tag_list .TagInput_sidebar_sub_sub_tag{padding-top:4px;font-size:1em;margin-left:10px}.TagInput_tag_list .TagInput_sidebar_sub_sub_tag~.TagInput_sidebar_sub_tag~.TagInput_sidebar_tag{margin-top:15px;border-top-width:1px;border-top-color:rgba(0,0,0,.05);border-top-style:solid}.TagInput_tag_list .TagInput_sidebar_tag_option{border-radius:50%;width:20px;height:20px;border:2px solid #333;background-color:transparent;transition:.2s}.TagInput_tag_list .TagInput_sidebar_tag_option.selected{border:7px solid #141443;background-color:#141443;box-shadow:0px 4px 4px 0px rgba(20,20,67,.4)}.TagInput_tag_list .TagInput_sidebar_tag,.TagInput_tag_list .TagInput_sidebar_sub_tag,.TagInput_tag_list .TagInput_sidebar_sub_sub_tag{width:auto;display:flex;flex-direction:row;align-items:center;justify-content:space-between}.TagInput_tag_list .TagInput_sidebar_tag:active .TagInput_sidebar_tag_option,.TagInput_tag_list .TagInput_sidebar_sub_tag:active .TagInput_sidebar_tag_option,.TagInput_tag_list .TagInput_sidebar_sub_sub_tag:active .TagInput_sidebar_tag_option{transform:scale(0.8)}.TagInput_tag_list .TagInput_sidebar_tag:hover .TagInput_sidebar_tag_option,.TagInput_tag_list .TagInput_sidebar_sub_tag:hover .TagInput_sidebar_tag_option,.TagInput_tag_list .TagInput_sidebar_sub_sub_tag:hover .TagInput_sidebar_tag_option{border:2px solid #3737b9}",""]),t.locals={activeButtonBackground:"#141443",lightPrimary:"#4e4edb",primaryColor:"#141443",secondaryColor:"#3e438d",toggleBackgroundColor:"#14468c",toggleActiveThumb:"#06386a",toggleInactiveThumb:"#fafafa",toggleActiveBase:"#141443",toggleActiveWrapperBase:"#141443",toggleActiveHover:"#3e438d",toggleActiveWrapperHover:"#3e438d",toggleInactiveBase:"#cdcdcd",toggleInactiveWrapperBase:"#cdcdcd",toggleInactiveHover:"#dcdcdc",toggleInactiveWrapperHover:"#dcdcdc"}},"2e685fbf0461bef5c6f1":function(e,t,l){(t=e.exports=l("0e326f80368fd0b1333e")(!1)).push([e.i,".logo-container{display:flex;justify-content:center;margin-top:20px}.logo-container .mobile-logo{height:55px;width:auto}.page-container{overflow:visible}.page-container .mobile-form-block{display:flex;align-items:center;flex-direction:column;margin-top:100px}.page-container .mobile-form-block .mobile-form{width:310px;display:flex;flex-direction:column;justify-content:flex-start}.page-container .mobile-form-block .mobile-form .title{font-size:1.5em;font-weight:bold;text-transform:uppercase;color:#000;display:block;margin-bottom:1.5%}.page-container .mobile-form-block .mobile-form .shopName{font-size:1.3em;color:#141443;font-weight:bold}.page-container .mobile-form-block .mobile-form form{margin-top:20px;width:310px;min-height:200px}.page-container .mobile-form-block .mobile-form form .inputWrapper{width:100%;position:relative}.page-container .mobile-form-block .mobile-form form .inputWrapper .iconWrapper{margin-top:4px;margin-left:1px;width:50px;height:41px;position:absolute;background:gray}.page-container .mobile-form-block .mobile-form form .inputWrapper input{margin-left:-2px;width:100%;background:#fff;padding:10px 5px 10px 60px;border:1px solid gray;margin:3px 0px;color:#434343}.page-container .mobile-form-block .mobile-form form .inputWrapper input:focus{border:1px solid #141443;background:#fff}.page-container .mobile-form-block .mobile-form form .inputWrapper em{position:absolute;top:35%;left:17px;color:#434343}.page-container .mobile-form-block .mobile-form form .inputWrapper:focus-within{opacity:1;transition:.2s}.page-container .mobile-form-block .mobile-form form .inputWrapper:focus-within input{border:1px solid #141443 !important}.page-container .mobile-form-block .mobile-form form .inputWrapper:focus-within .iconWrapper{background:#141443 !important}.page-container .mobile-form-block .mobile-form form .inputWrapper:focus-within .iconWrapper em{color:#fff}.page-container .mobile-form-block .mobile-form form .inputWrapper:hover{opacity:1;transition:ease-in-out .5s}.page-container .mobile-form-block .mobile-form form .inputWrapper:hover input{border:1px solid #141443}.page-container .mobile-form-block .mobile-form form .inputWrapper:hover .iconWrapper{background:#141443}.page-container .mobile-form-block .mobile-form form .inputWrapper:hover .iconWrapper em{color:#fff}.page-container .mobile-form-block .mobile-form form .inputWrapper.filled{opacity:1;transition:ease-in-out .5s}.page-container .mobile-form-block .mobile-form form .inputWrapper.filled input{border:1px solid #141443}.page-container .mobile-form-block .mobile-form form .inputWrapper.filled .iconWrapper{background:#141443}.page-container .mobile-form-block .mobile-form form .inputWrapper.filled .iconWrapper em{color:#fff}.page-container .mobile-form-block .mobile-form form button{position:relative;width:100%;padding:10px;height:40px;margin-top:20px;color:#fff;background-color:#141443;font-weight:bold}.page-container .mobile-form-block .mobile-form form button:hover{background-color:#20206a}.page-container .mobile-form-block .mobile-form form button.cancel{color:#fff;background-color:#151515}.page-container .mobile-form-block .mobile-form form button.cancel:hover{background-color:#2f2f2f}.page-container .mobile-copyright{margin-top:100px;font-size:.8em;color:gray;margin:40px auto 10px}@media screen and (max-width: 375px)and (orientation: portrait){.mobile-logo{height:35px !important;width:auto}.mobile-form-block{margin-top:30px !important}.mobile-copyright{margin-top:40px !important}}@media screen and (max-width: 1024px)and (max-height: 768px)and (orientation: landscape){.mobile-form{width:500px !important}.mobile-form .mobile-form-block{height:inherit}.mobile-form form{width:500px !important}.mobile-logo{height:35px !important;width:auto}.mobile-form-block{margin-top:30px !important}.mobile-copyright{margin-top:40px !important}}",""]),t.locals={activeButtonBackground:"#141443",lightPrimary:"#4e4edb",primaryColor:"#141443",secondaryColor:"#3e438d",toggleBackgroundColor:"#14468c",toggleActiveThumb:"#06386a",toggleInactiveThumb:"#fafafa",toggleActiveBase:"#141443",toggleActiveWrapperBase:"#141443",toggleActiveHover:"#3e438d",toggleActiveWrapperHover:"#3e438d",toggleInactiveBase:"#cdcdcd",toggleInactiveWrapperBase:"#cdcdcd",toggleInactiveHover:"#dcdcdc",toggleInactiveWrapperHover:"#dcdcdc"}},"2ed07e30d87c4c4d3d59":function(e,t,l){"use strict";var n=l("8e6d34d5e2b1c9c449c0");t.__esModule=!0,t.default=void 0;var r=n(l("2c62cf50f9b98ad5e2af")),a=n(l("84ed169f5b76a6b15fc0")),o=n(l("b912ecc4473ae8a2ff0b")),i=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==typeof e&&"function"!==typeof e)return{default:e};var l=p(t);if(l&&l.has(e))return l.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var o=r?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(n,a,o):n[a]=e[a]}n.default=e,l&&l.set(e,n);return n}(l("8af190b70a6bc55c6f1b")),s=n(l("976c83b14986293285d6")),c=l("de45080f617146192f27"),u=n(l("acc61bc9e1ebe5d11576")),d=n(l("b965a6a3307db3d4af80")),f=["bsPrefix","closeLabel","closeButton","onHide","className","children"];function p(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,l=new WeakMap;return(p=function(e){return e?l:t})(e)}var h=i.default.forwardRef((function(e,t){var l=e.bsPrefix,n=e.closeLabel,p=e.closeButton,h=e.onHide,m=e.className,g=e.children,y=(0,a.default)(e,f);l=(0,c.useBootstrapPrefix)(l,"modal-header");var v=(0,i.useContext)(d.default),b=(0,s.default)((function(){v&&v.onHide(),h&&h()}));return i.default.createElement("div",(0,r.default)({ref:t},y,{className:(0,o.default)(m,l)}),g,p&&i.default.createElement(u.default,{label:n,onClick:b}))}));h.displayName="ModalHeader",h.defaultProps={closeLabel:"Close",closeButton:!1};var m=h;t.default=m,e.exports=t.default},"2f1c150dbf4475e58de7":function(e,t,l){"use strict";var n=l("8e6d34d5e2b1c9c449c0");t.__esModule=!0,t.default=void 0;var r=(0,n(l("10fa21b44717d82288e9")).default)("figure-caption",{Component:"figcaption"});t.default=r,e.exports=t.default},"2f5dcb2cd613f9766c47":function(e,t,l){var n=l("baf66d6ecc40a7e1e279"),r=l("9d131a78aa67bb541ea6");e.exports=l("5acb0d23426d94f4db7c")?function(e,t,l){return n.f(e,t,r(1,l))}:function(e,t,l){return e[t]=l,e}},"2fa729a71a47c9ecb056":function(e,t,l){function n(e){var l;function n(){if(n.enabled){var e=n,r=+new Date,a=r-(l||r);e.diff=a,e.prev=l,e.curr=r,l=r;for(var o=new Array(arguments.length),i=0;i1){for(var o=Array(a),i=0;ie.length)&&(t=e.length);for(var l=0,n=Array(t);l0&&void 0!==arguments[0]?arguments[0]:"en",t=v.en,l=v[e]||t;return f({clear:l.clear||t.clear,apply:l.apply||t.apply,from:l.from||t.from,to:l.to||t.to,select:l.select||t.select},h[e||"en"])}(t),_=d.from&&d.to?"".concat(M.from,": ").concat(Object(s.format)(d.from,"dd/MM/yyyy")," ").concat(M.to," ").concat(Object(s.format)(d.to,"dd/MM/yyyy")):M.select;return o?b("div",{},void 0,b(a.a,{locale:c.pt,selectedDays:[d.from,{from:d.from,to:d.to}],modifiers:{start:d.from,end:d.to},months:M.months,weekdaysShort:M.weekdaysShort,modifiersStyles:{start:k,end:k,selected:k},onDayClick:C}),d.from&&d.to&&b("div",{style:{display:"flex",gap:8,marginTop:16}},void 0,b("button",{onClick:function(){p({from:void 0,to:void 0}),S(null)},style:{flex:1,background:"#e5e7eb",border:"none",padding:"8px 0",cursor:"pointer"}},void 0,M.clear),b("button",{onClick:function(){l&&l({startDate:d.from,endDate:d.to})},style:{flex:1,background:i.a.primaryColor,color:"#fff",border:"none",padding:"8px 0",cursor:"pointer"}},void 0,M.apply))):b("div",{className:"date-range-container",style:{display:"flex",gap:24,padding:20,borderRadius:12,maxWidth:650,margin:"0 auto"}},void 0,b("ul",{className:"preset-list",style:{listStyle:"none",padding:0,margin:0}},void 0,function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"en",t=g[e]||g.en;return m.map((function(e){return{key:e,label:t[e]||g.en[e]}}))}(t).map((function(e){var t=e.key,l=e.label;return b("li",{style:{marginBottom:1}},t,b("button",{onClick:function(){return O(t)},className:"preset-btn ".concat(t===x?"active":"")},void 0,l))}))),b("div",{style:{flex:1}},void 0,b("div",{style:{minWidth:300}},void 0,b(a.a,{locale:c.pt,selectedDays:[d.from,{from:d.from,to:d.to}],modifiers:{start:d.from,end:d.to},months:M.months,weekdaysShort:M.weekdaysShort,modifiersStyles:{start:k,end:k,selected:k},onDayClick:C})),b("p",{style:{marginTop:12,fontSize:16,color:"#555"}},void 0,_),d.from&&d.to&&b("div",{style:{display:"flex",gap:8,marginTop:16}},void 0,b("button",{onClick:function(){p({from:void 0,to:void 0}),S(null)},style:{flex:1,background:"#e5e7eb",border:"none",padding:"8px 0",cursor:"pointer"}},void 0,M.clear),b("button",{onClick:function(){l&&l({startDate:d.from,endDate:d.to})},style:{flex:1,background:i.a.primaryColor,color:"#fff",border:"none",padding:"8px 0",cursor:"pointer"}},void 0,M.apply))))}},"2ffe7760af1a8d94382d":function(e,t,l){"use strict";var n=0;function r(){return Math.pow(2,++n)}t.boolean=r(),t.booleanish=r(),t.overloadedBoolean=r(),t.number=r(),t.spaceSeparated=r(),t.commaSeparated=r(),t.commaOrSpaceSeparated=r()},3:function(e,t){},"305627dbc0e049e134bc":function(e,t,l){"use strict";l.d(t,"d",(function(){return n})),l.d(t,"a",(function(){return r})),l.d(t,"f",(function(){return a})),l.d(t,"b",(function(){return o})),l.d(t,"g",(function(){return i})),l.d(t,"e",(function(){return s})),l.d(t,"c",(function(){return c}));var n="app/Header/SET_TITLE",r="app/Header/SET_CRUMB",a="app/Header/SET_USER",o="app/Header/SET_LOGS_FILTERS",i="app/Header/UPDATE_CRUMB",s="app/Header/SET_UPDATER",c="app/Header/SET_SCREEN"},"30c081951dae911c7d7b":function(e,t,l){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=l("45f81a5a445f81e03dfc"),r=l("8af190b70a6bc55c6f1b"),a=l("49a47d064cfbf2949ee5"),o=l("115c5b40c21caec63178");function i(e){return e&&"object"===typeof e&&"default"in e?e:{default:e}}var s=i(n),c=i(r),u=i(a),d=i(o);function f(e,t){var l=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),l.push.apply(l,n)}return l}function p(e){for(var t=1;te.length)&&(t=e.length);for(var l=0,n=new Array(t);l.'),C(e.containerRef.current,e.props)})),g(b(e),"pauseResume",(function(){var t=b(e),l=t.reset,n=t.restart,r=t.update,a=e.props.onPauseResume;e.instance.pauseResume(),a({reset:l,start:n,update:r})})),g(b(e),"reset",(function(){var t=b(e),l=t.pauseResume,n=t.restart,r=t.update,a=e.props.onReset;e.instance.reset(),a({pauseResume:l,start:n,update:r})})),g(b(e),"restart",(function(){e.reset(),e.start()})),g(b(e),"start",(function(){var t=b(e),l=t.pauseResume,n=t.reset,r=t.restart,a=t.update,o=e.props,i=o.delay,s=o.onEnd,c=o.onStart,u=function(){return e.instance.start((function(){return s({pauseResume:l,reset:n,start:r,update:a})}))};i>0?e.timeoutId=setTimeout(u,1e3*i):u(),c({pauseResume:l,reset:n,update:a})})),g(b(e),"update",(function(t){var l=b(e),n=l.pauseResume,r=l.reset,a=l.restart,o=e.props.onUpdate;e.instance.update(t),o({pauseResume:n,reset:r,start:a})})),g(b(e),"containerRef",c.default.createRef()),e}return t=a,(l=[{key:"componentDidMount",value:function(){var e=this.props,t=e.children,l=e.delay;this.instance=this.createInstance(),"function"===typeof t&&0!==l||this.start()}},{key:"shouldComponentUpdate",value:function(e){var t=this.props.end;return this.checkProps(e)||t!==e.end}},{key:"componentDidUpdate",value:function(e){var t=this.props,l=t.end,n=t.preserveValue;this.checkProps(e)&&(this.instance.reset(),this.instance=this.createInstance(),this.start()),l!==e.end&&(n||this.instance.reset(),this.instance.update(l))}},{key:"componentWillUnmount",value:function(){this.timeoutId&&clearTimeout(this.timeoutId),this.instance.reset()}},{key:"render",value:function(){var e=this.props,t=e.children,l=e.className,n=e.style,r=this.containerRef,a=this.pauseResume,o=this.reset,i=this.restart,s=this.update;return"function"===typeof t?t({countUpRef:r,pauseResume:a,reset:o,start:i,update:s}):c.default.createElement("span",{className:l,ref:r,style:n})}}])&&m(t.prototype,l),n&&m(t,n),a}(r.Component);g(O,"propTypes",{decimal:s.default.string,decimals:s.default.number,delay:s.default.number,easingFn:s.default.func,end:s.default.number.isRequired,formattingFn:s.default.func,onEnd:s.default.func,onStart:s.default.func,prefix:s.default.string,redraw:s.default.bool,separator:s.default.string,start:s.default.number,startOnMount:s.default.bool,suffix:s.default.string,style:s.default.object,useEasing:s.default.bool,preserveValue:s.default.bool}),g(O,"defaultProps",{decimal:".",decimals:0,delay:null,duration:null,easingFn:null,formattingFn:null,onEnd:function(){},onPauseResume:function(){},onReset:function(){},onStart:function(){},onUpdate:function(){},prefix:"",redraw:!1,separator:"",start:0,startOnMount:!0,suffix:"",style:void 0,useEasing:!0,preserveValue:!1});var M={innerHTML:null};t.default=O,t.useCountUp=function(e){var t=p(p({},O.defaultProps),e),l=t.start,n=t.formattingFn,a=k(r.useState("function"===typeof n?n(l):l),2),o=a[0],i=a[1],s=r.useRef(null),c=r.useRef(null),u=function(){var e=s.current;if(null!==e)return e;var l=function(){var e=C(M,t),l=e.options.formattingFn;return e.options.formattingFn=function(){var e=l.apply(void 0,arguments);i(e)},e}();return s.current=l,l},d=function(){var e=t.onReset;u().reset(),e({pauseResume:h,start:f,update:m})},f=function e(){var l=t.onStart,n=t.onEnd;u().reset(),u().start((function(){n({pauseResume:h,reset:d,start:e,update:m})})),l({pauseResume:h,reset:d,update:m})},h=function(){var e=t.onPauseResume;u().pauseResume(),e({reset:d,start:f,update:m})},m=function(e){var l=t.onUpdate;u().update(e),l({pauseResume:h,reset:d,start:f})};return r.useEffect((function(){var e=t.delay,l=t.onStart,n=t.onEnd;return t.startOnMount&&(c.current=setTimeout((function(){l({pauseResume:h,reset:d,update:m}),u().start((function(){clearTimeout(c.current),n({pauseResume:h,reset:d,start:f,update:m})}))}),1e3*e)),function(){clearTimeout(c.current),d()}}),[]),{countUp:o,start:f,pauseResume:h,reset:d,update:m}}},"30d14b3a3295666f3aba":function(e,t){function l(){return"serviceWorker"in navigator&&("https:"===window.location.protocol||"localhost"===window.location.hostname||0===window.location.hostname.indexOf("127."))}t.install=function(e){if(e||(e={}),l())navigator.serviceWorker.register("/sw.js",{});else;},t.applyUpdate=function(e,t){},t.update=function(){l()&&navigator.serviceWorker.getRegistration().then((function(e){if(e)return e.update()}))}},"30d1801ce607fbf6870f":function(e,t){e.exports=function(){throw new Error("define cannot be used indirect")}},"30ec89a5546daddd387e":function(e,t,l){"use strict";var n=l("2c62cf50f9b98ad5e2af"),r=l("20ffe07e14dbfd86f679"),a=l("635837756f63384ac159"),o=l("000e687100360508b435"),i=function(e){return function(){return e}}(!0),s=function(){},c=function(e){return e};var u=function(e){throw e},d=function(e){return{value:e,done:!0}};var f=function(e){return Array.apply(null,new Array(e))},p=function(e){return e===o.TERMINATE},h=function(e){return e===o.TASK_CANCEL},m=function(e){return p(e)||h(e)};function g(e){return e[o.SAGA_LOCATION]}var y={isEmpty:i,put:s,take:s};function v(e,t){void 0===e&&(e=10);var l=new Array(e),n=0,r=0,a=0,o=function(t){l[r]=t,r=(r+1)%e,n++},i=function(){if(0!=n){var t=l[a];return l[a]=null,n--,a=(a+1)%e,t}},s=function(){for(var e=[];n;)e.push(i());return e};return{isEmpty:function(){return 0==n},put:function(i){var c;if(n1?t-1:0),n=1;n1?t-1:0),n=1;n1?t-1:0),n=1;n=0&&e.splice(l,1)},t.select=function(e){void 0===e&&(e=c);for(var t=arguments.length,l=new Array(t>1?t-1:0),n=1;n1?t-1:0),n=1;n({nextPart:e,validators:t,classGroupId:l}),r=[],a=e=>{const t=s(e),{conflictingClassGroups:l,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:e=>{if(e.startsWith("[")&&e.endsWith("]"))return i(e);const l=e.split("-"),n=""===l[0]&&l.length>1?1:0;return o(l,n,t)},getConflictingClassGroupIds:(e,t)=>{if(t){const t=n[e],a=l[e];return t?a?((e,t)=>{const l=new Array(e.length+t.length);for(let t=0;t{if(0===e.length-t)return l.classGroupId;const n=e[t],r=l.nextPart.get(n);if(r){const l=o(e,t+1,r);if(l)return l}const a=l.validators;if(null===a)return;const i=0===t?e.join("-"):e.slice(t).join("-"),s=a.length;for(let e=0;e-1===e.slice(1,-1).indexOf(":")?void 0:(()=>{const t=e.slice(1,-1),l=t.indexOf(":"),n=t.slice(0,l);return n?"arbitrary.."+n:void 0})(),s=e=>{const{theme:t,classGroups:l}=e;return c(l,t)},c=(e,t)=>{const l=n();for(const n in e){const r=e[n];u(r,l,n,t)}return l},u=(e,t,l,n)=>{const r=e.length;for(let a=0;a{"string"!==typeof e?"function"!==typeof e?h(e,t,l,n):p(e,t,l,n):f(e,t,l)},f=(e,t,l)=>{(""===e?t:m(t,e)).classGroupId=l},p=(e,t,l,n)=>{g(e)?u(e(n),t,l,n):(null===t.validators&&(t.validators=[]),t.validators.push(((e,t)=>({classGroupId:e,validator:t}))(l,e)))},h=(e,t,l,n)=>{const r=Object.entries(e),a=r.length;for(let e=0;e{let l=e;const r=t.split("-"),a=r.length;for(let e=0;e"isThemeGetter"in e&&!0===e.isThemeGetter,y=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,l=Object.create(null),n=Object.create(null);const r=(r,a)=>{l[r]=a,t++,t>e&&(t=0,n=l,l=Object.create(null))};return{get(e){let t=l[e];return void 0!==t?t:void 0!==(t=n[e])?(r(e,t),t):void 0},set(e,t){e in l?l[e]=t:r(e,t)}}},v=[],b=(e,t,l,n,r)=>({modifiers:e,hasImportantModifier:t,baseClassName:l,maybePostfixModifierPosition:n,isExternal:r}),w=e=>{const{prefix:t,experimentalParseClassName:l}=e;let n=e=>{const t=[];let l,n=0,r=0,a=0;const o=e.length;for(let i=0;ia?l-a:void 0)};if(t){const e=t+":",l=n;n=t=>t.startsWith(e)?l(t.slice(e.length)):b(v,!1,t,void 0,!0)}if(l){const e=n;n=t=>l({className:t,parseClassName:e})}return n},x=e=>{const t=new Map;return e.orderSensitiveModifiers.forEach((e,l)=>{t.set(e,1e6+l)}),e=>{const l=[];let n=[];for(let r=0;r0&&(n.sort(),l.push(...n),n=[]),l.push(a)):n.push(a)}return n.length>0&&(n.sort(),l.push(...n)),l}},k=/\s+/,S=(...e)=>{let t,l,n=0,r="";for(;n{if("string"===typeof e)return e;let t,l="";for(let n=0;n{let l,n,r,o;const i=e=>{const t=n(e);if(t)return t;const a=((e,t)=>{const{parseClassName:l,getClassGroupId:n,getConflictingClassGroupIds:r,sortModifiers:a}=t,o=[],i=e.trim().split(k);let s="";for(let e=i.length-1;e>=0;e-=1){const t=i[e],{isExternal:c,modifiers:u,hasImportantModifier:d,baseClassName:f,maybePostfixModifierPosition:p}=l(t);if(c){s=t+(s.length>0?" "+s:s);continue}let h=!!p,m=n(h?f.substring(0,p):f);if(!m){if(!h){s=t+(s.length>0?" "+s:s);continue}if(m=n(f),!m){s=t+(s.length>0?" "+s:s);continue}h=!1}const g=0===u.length?"":1===u.length?u[0]:a(u).join(":"),y=d?g+"!":g,v=y+m;if(o.indexOf(v)>-1)continue;o.push(v);const b=r(m,h);for(let e=0;e0?" "+s:s)}return s})(e,l);return r(e,a),a};return o=s=>{const c=t.reduce((e,t)=>t(e),e());return l=(e=>({cache:y(e.cacheSize),parseClassName:w(e),sortModifiers:x(e),...a(e)}))(c),n=l.cache.get,r=l.cache.set,o=i,i(s)},(...e)=>o(S(...e))},M=[],_=e=>{const t=t=>t[e]||M;return t.isThemeGetter=!0,t},E=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,P=/^\((?:(\w[\w-]*):)?(.+)\)$/i,A=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,T=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,j=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,D=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,I=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,N=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,L=e=>A.test(e),R=e=>!!e&&!Number.isNaN(Number(e)),B=e=>!!e&&Number.isInteger(Number(e)),F=e=>e.endsWith("%")&&R(e.slice(0,-1)),z=e=>T.test(e),U=()=>!0,H=e=>j.test(e)&&!D.test(e),V=()=>!1,W=e=>I.test(e),$=e=>N.test(e),G=e=>!Z(e)&&!le(e),q=e=>ue(e,he,V),Z=e=>E.test(e),K=e=>ue(e,me,H),Y=e=>ue(e,ge,R),X=e=>ue(e,ve,U),J=e=>ue(e,ye,V),Q=e=>ue(e,fe,V),ee=e=>ue(e,pe,$),te=e=>ue(e,be,W),le=e=>P.test(e),ne=e=>de(e,me),re=e=>de(e,ye),ae=e=>de(e,fe),oe=e=>de(e,he),ie=e=>de(e,pe),se=e=>de(e,be,!0),ce=e=>de(e,ve,!0),ue=(e,t,l)=>{const n=E.exec(e);return!!n&&(n[1]?t(n[1]):l(n[2]))},de=(e,t,l=!1)=>{const n=P.exec(e);return!!n&&(n[1]?t(n[1]):l)},fe=e=>"position"===e||"percentage"===e,pe=e=>"image"===e||"url"===e,he=e=>"length"===e||"size"===e||"bg-size"===e,me=e=>"length"===e,ge=e=>"number"===e,ye=e=>"family-name"===e,ve=e=>"number"===e||"weight"===e,be=e=>"shadow"===e,we=Object.defineProperty({__proto__:null,isAny:U,isAnyNonArbitrary:G,isArbitraryFamilyName:J,isArbitraryImage:ee,isArbitraryLength:K,isArbitraryNumber:Y,isArbitraryPosition:Q,isArbitraryShadow:te,isArbitrarySize:q,isArbitraryValue:Z,isArbitraryVariable:le,isArbitraryVariableFamilyName:re,isArbitraryVariableImage:ie,isArbitraryVariableLength:ne,isArbitraryVariablePosition:ae,isArbitraryVariableShadow:se,isArbitraryVariableSize:oe,isArbitraryVariableWeight:ce,isArbitraryWeight:X,isFraction:L,isInteger:B,isNumber:R,isPercent:F,isTshirtSize:z},Symbol.toStringTag,{value:"Module"}),xe=()=>{const e=_("color"),t=_("font"),l=_("text"),n=_("font-weight"),r=_("tracking"),a=_("leading"),o=_("breakpoint"),i=_("container"),s=_("spacing"),c=_("radius"),u=_("shadow"),d=_("inset-shadow"),f=_("text-shadow"),p=_("drop-shadow"),h=_("blur"),m=_("perspective"),g=_("aspect"),y=_("ease"),v=_("animate"),b=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",le,Z],w=()=>[le,Z,s],x=()=>[L,"full","auto",...w()],k=()=>[B,"none","subgrid",le,Z],S=()=>["auto",{span:["full",B,le,Z]},B,le,Z],C=()=>[B,"auto",le,Z],O=()=>["auto","min","max","fr",le,Z],M=()=>["auto",...w()],E=()=>[L,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...w()],P=()=>[L,"screen","full","dvw","lvw","svw","min","max","fit",...w()],A=()=>[L,"screen","full","lh","dvh","lvh","svh","min","max","fit",...w()],T=()=>[e,le,Z],j=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",ae,Q,{position:[le,Z]}],D=()=>["auto","cover","contain",oe,q,{size:[le,Z]}],I=()=>[F,ne,K],N=()=>["","none","full",c,le,Z],H=()=>["",R,ne,K],V=()=>[R,F,ae,Q],W=()=>["","none",h,le,Z],$=()=>["none",R,le,Z],ue=()=>["none",R,le,Z],de=()=>[R,le,Z],fe=()=>[L,"full",...w()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[z],breakpoint:[z],color:[U],container:[z],"drop-shadow":[z],ease:["in","out","in-out"],font:[G],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[z],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[z],shadow:[z],spacing:["px",R],text:[z],"text-shadow":[z],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",L,Z,le,g]}],container:["container"],columns:[{columns:[R,Z,le,i]}],"break-after":[{"break-after":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-before":[{"break-before":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:b()}],overflow:[{overflow:["auto","hidden","clip","visible","scroll"]}],"overflow-x":[{"overflow-x":["auto","hidden","clip","visible","scroll"]}],"overflow-y":[{"overflow-y":["auto","hidden","clip","visible","scroll"]}],overscroll:[{overscroll:["auto","contain","none"]}],"overscroll-x":[{"overscroll-x":["auto","contain","none"]}],"overscroll-y":[{"overscroll-y":["auto","contain","none"]}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:x()}],"inset-x":[{"inset-x":x()}],"inset-y":[{"inset-y":x()}],start:[{"inset-s":x(),start:x()}],end:[{"inset-e":x(),end:x()}],"inset-bs":[{"inset-bs":x()}],"inset-be":[{"inset-be":x()}],top:[{top:x()}],right:[{right:x()}],bottom:[{bottom:x()}],left:[{left:x()}],visibility:["visible","invisible","collapse"],z:[{z:[B,"auto",le,Z]}],basis:[{basis:[L,"full","auto",i,...w()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[R,L,"auto","initial","none",Z]}],grow:[{grow:["",R,le,Z]}],shrink:[{shrink:["",R,le,Z]}],order:[{order:[B,"first","last","none",le,Z]}],"grid-cols":[{"grid-cols":k()}],"col-start-end":[{col:S()}],"col-start":[{"col-start":C()}],"col-end":[{"col-end":C()}],"grid-rows":[{"grid-rows":k()}],"row-start-end":[{row:S()}],"row-start":[{"row-start":C()}],"row-end":[{"row-end":C()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":O()}],"auto-rows":[{"auto-rows":O()}],gap:[{gap:w()}],"gap-x":[{"gap-x":w()}],"gap-y":[{"gap-y":w()}],"justify-content":[{justify:["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe","normal"]}],"justify-items":[{"justify-items":["start","end","center","stretch","center-safe","end-safe","normal"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch","center-safe","end-safe"]}],"align-content":[{content:["normal","start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"]}],"align-items":[{items:["start","end","center","stretch","center-safe","end-safe",{baseline:["","last"]}]}],"align-self":[{self:["auto","start","end","center","stretch","center-safe","end-safe",{baseline:["","last"]}]}],"place-content":[{"place-content":["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"]}],"place-items":[{"place-items":["start","end","center","stretch","center-safe","end-safe","baseline"]}],"place-self":[{"place-self":["auto","start","end","center","stretch","center-safe","end-safe"]}],p:[{p:w()}],px:[{px:w()}],py:[{py:w()}],ps:[{ps:w()}],pe:[{pe:w()}],pbs:[{pbs:w()}],pbe:[{pbe:w()}],pt:[{pt:w()}],pr:[{pr:w()}],pb:[{pb:w()}],pl:[{pl:w()}],m:[{m:M()}],mx:[{mx:M()}],my:[{my:M()}],ms:[{ms:M()}],me:[{me:M()}],mbs:[{mbs:M()}],mbe:[{mbe:M()}],mt:[{mt:M()}],mr:[{mr:M()}],mb:[{mb:M()}],ml:[{ml:M()}],"space-x":[{"space-x":w()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":w()}],"space-y-reverse":["space-y-reverse"],size:[{size:E()}],"inline-size":[{inline:["auto",...P()]}],"min-inline-size":[{"min-inline":["auto",...P()]}],"max-inline-size":[{"max-inline":["none",...P()]}],"block-size":[{block:["auto",...A()]}],"min-block-size":[{"min-block":["auto",...A()]}],"max-block-size":[{"max-block":["none",...A()]}],w:[{w:[i,"screen",...E()]}],"min-w":[{"min-w":[i,"screen","none",...E()]}],"max-w":[{"max-w":[i,"screen","none","prose",{screen:[o]},...E()]}],h:[{h:["screen","lh",...E()]}],"min-h":[{"min-h":["screen","lh","none",...E()]}],"max-h":[{"max-h":["screen","lh",...E()]}],"font-size":[{text:["base",l,ne,K]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[n,ce,X]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",F,Z]}],"font-family":[{font:[re,J,t]}],"font-features":[{"font-features":[Z]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[r,le,Z]}],"line-clamp":[{"line-clamp":[R,"none",le,Y]}],leading:[{leading:[a,...w()]}],"list-image":[{"list-image":["none",le,Z]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",le,Z]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:T()}],"text-color":[{text:T()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:["solid","dashed","dotted","double","wavy"]}],"text-decoration-thickness":[{decoration:[R,"from-font","auto",le,K]}],"text-decoration-color":[{decoration:T()}],"underline-offset":[{"underline-offset":[R,"auto",le,Z]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:w()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",le,Z]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",le,Z]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:j()}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","space","round"]}]}],"bg-size":[{bg:D()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},B,le,Z],radial:["",le,Z],conic:[B,le,Z]},ie,ee]}],"bg-color":[{bg:T()}],"gradient-from-pos":[{from:I()}],"gradient-via-pos":[{via:I()}],"gradient-to-pos":[{to:I()}],"gradient-from":[{from:T()}],"gradient-via":[{via:T()}],"gradient-to":[{to:T()}],rounded:[{rounded:N()}],"rounded-s":[{"rounded-s":N()}],"rounded-e":[{"rounded-e":N()}],"rounded-t":[{"rounded-t":N()}],"rounded-r":[{"rounded-r":N()}],"rounded-b":[{"rounded-b":N()}],"rounded-l":[{"rounded-l":N()}],"rounded-ss":[{"rounded-ss":N()}],"rounded-se":[{"rounded-se":N()}],"rounded-ee":[{"rounded-ee":N()}],"rounded-es":[{"rounded-es":N()}],"rounded-tl":[{"rounded-tl":N()}],"rounded-tr":[{"rounded-tr":N()}],"rounded-br":[{"rounded-br":N()}],"rounded-bl":[{"rounded-bl":N()}],"border-w":[{border:H()}],"border-w-x":[{"border-x":H()}],"border-w-y":[{"border-y":H()}],"border-w-s":[{"border-s":H()}],"border-w-e":[{"border-e":H()}],"border-w-bs":[{"border-bs":H()}],"border-w-be":[{"border-be":H()}],"border-w-t":[{"border-t":H()}],"border-w-r":[{"border-r":H()}],"border-w-b":[{"border-b":H()}],"border-w-l":[{"border-l":H()}],"divide-x":[{"divide-x":H()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":H()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:["solid","dashed","dotted","double","hidden","none"]}],"divide-style":[{divide:["solid","dashed","dotted","double","hidden","none"]}],"border-color":[{border:T()}],"border-color-x":[{"border-x":T()}],"border-color-y":[{"border-y":T()}],"border-color-s":[{"border-s":T()}],"border-color-e":[{"border-e":T()}],"border-color-bs":[{"border-bs":T()}],"border-color-be":[{"border-be":T()}],"border-color-t":[{"border-t":T()}],"border-color-r":[{"border-r":T()}],"border-color-b":[{"border-b":T()}],"border-color-l":[{"border-l":T()}],"divide-color":[{divide:T()}],"outline-style":[{outline:["solid","dashed","dotted","double","none","hidden"]}],"outline-offset":[{"outline-offset":[R,le,Z]}],"outline-w":[{outline:["",R,ne,K]}],"outline-color":[{outline:T()}],shadow:[{shadow:["","none",u,se,te]}],"shadow-color":[{shadow:T()}],"inset-shadow":[{"inset-shadow":["none",d,se,te]}],"inset-shadow-color":[{"inset-shadow":T()}],"ring-w":[{ring:H()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:T()}],"ring-offset-w":[{"ring-offset":[R,K]}],"ring-offset-color":[{"ring-offset":T()}],"inset-ring-w":[{"inset-ring":H()}],"inset-ring-color":[{"inset-ring":T()}],"text-shadow":[{"text-shadow":["none",f,se,te]}],"text-shadow-color":[{"text-shadow":T()}],opacity:[{opacity:[R,le,Z]}],"mix-blend":[{"mix-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"]}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[R]}],"mask-image-linear-from-pos":[{"mask-linear-from":V()}],"mask-image-linear-to-pos":[{"mask-linear-to":V()}],"mask-image-linear-from-color":[{"mask-linear-from":T()}],"mask-image-linear-to-color":[{"mask-linear-to":T()}],"mask-image-t-from-pos":[{"mask-t-from":V()}],"mask-image-t-to-pos":[{"mask-t-to":V()}],"mask-image-t-from-color":[{"mask-t-from":T()}],"mask-image-t-to-color":[{"mask-t-to":T()}],"mask-image-r-from-pos":[{"mask-r-from":V()}],"mask-image-r-to-pos":[{"mask-r-to":V()}],"mask-image-r-from-color":[{"mask-r-from":T()}],"mask-image-r-to-color":[{"mask-r-to":T()}],"mask-image-b-from-pos":[{"mask-b-from":V()}],"mask-image-b-to-pos":[{"mask-b-to":V()}],"mask-image-b-from-color":[{"mask-b-from":T()}],"mask-image-b-to-color":[{"mask-b-to":T()}],"mask-image-l-from-pos":[{"mask-l-from":V()}],"mask-image-l-to-pos":[{"mask-l-to":V()}],"mask-image-l-from-color":[{"mask-l-from":T()}],"mask-image-l-to-color":[{"mask-l-to":T()}],"mask-image-x-from-pos":[{"mask-x-from":V()}],"mask-image-x-to-pos":[{"mask-x-to":V()}],"mask-image-x-from-color":[{"mask-x-from":T()}],"mask-image-x-to-color":[{"mask-x-to":T()}],"mask-image-y-from-pos":[{"mask-y-from":V()}],"mask-image-y-to-pos":[{"mask-y-to":V()}],"mask-image-y-from-color":[{"mask-y-from":T()}],"mask-image-y-to-color":[{"mask-y-to":T()}],"mask-image-radial":[{"mask-radial":[le,Z]}],"mask-image-radial-from-pos":[{"mask-radial-from":V()}],"mask-image-radial-to-pos":[{"mask-radial-to":V()}],"mask-image-radial-from-color":[{"mask-radial-from":T()}],"mask-image-radial-to-color":[{"mask-radial-to":T()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"]}],"mask-image-conic-pos":[{"mask-conic":[R]}],"mask-image-conic-from-pos":[{"mask-conic-from":V()}],"mask-image-conic-to-pos":[{"mask-conic-to":V()}],"mask-image-conic-from-color":[{"mask-conic-from":T()}],"mask-image-conic-to-color":[{"mask-conic-to":T()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:j()}],"mask-repeat":[{mask:["no-repeat",{repeat:["","x","y","space","round"]}]}],"mask-size":[{mask:D()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",le,Z]}],filter:[{filter:["","none",le,Z]}],blur:[{blur:W()}],brightness:[{brightness:[R,le,Z]}],contrast:[{contrast:[R,le,Z]}],"drop-shadow":[{"drop-shadow":["","none",p,se,te]}],"drop-shadow-color":[{"drop-shadow":T()}],grayscale:[{grayscale:["",R,le,Z]}],"hue-rotate":[{"hue-rotate":[R,le,Z]}],invert:[{invert:["",R,le,Z]}],saturate:[{saturate:[R,le,Z]}],sepia:[{sepia:["",R,le,Z]}],"backdrop-filter":[{"backdrop-filter":["","none",le,Z]}],"backdrop-blur":[{"backdrop-blur":W()}],"backdrop-brightness":[{"backdrop-brightness":[R,le,Z]}],"backdrop-contrast":[{"backdrop-contrast":[R,le,Z]}],"backdrop-grayscale":[{"backdrop-grayscale":["",R,le,Z]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[R,le,Z]}],"backdrop-invert":[{"backdrop-invert":["",R,le,Z]}],"backdrop-opacity":[{"backdrop-opacity":[R,le,Z]}],"backdrop-saturate":[{"backdrop-saturate":[R,le,Z]}],"backdrop-sepia":[{"backdrop-sepia":["",R,le,Z]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":w()}],"border-spacing-x":[{"border-spacing-x":w()}],"border-spacing-y":[{"border-spacing-y":w()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",le,Z]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[R,"initial",le,Z]}],ease:[{ease:["linear","initial",y,le,Z]}],delay:[{delay:[R,le,Z]}],animate:[{animate:["none",v,le,Z]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[m,le,Z]}],"perspective-origin":[{"perspective-origin":b()}],rotate:[{rotate:$()}],"rotate-x":[{"rotate-x":$()}],"rotate-y":[{"rotate-y":$()}],"rotate-z":[{"rotate-z":$()}],scale:[{scale:ue()}],"scale-x":[{"scale-x":ue()}],"scale-y":[{"scale-y":ue()}],"scale-z":[{"scale-z":ue()}],"scale-3d":["scale-3d"],skew:[{skew:de()}],"skew-x":[{"skew-x":de()}],"skew-y":[{"skew-y":de()}],transform:[{transform:[le,Z,"","none","gpu","cpu"]}],"transform-origin":[{origin:b()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:fe()}],"translate-x":[{"translate-x":fe()}],"translate-y":[{"translate-y":fe()}],"translate-z":[{"translate-z":fe()}],"translate-none":["translate-none"],accent:[{accent:T()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:T()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",le,Z]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":w()}],"scroll-mx":[{"scroll-mx":w()}],"scroll-my":[{"scroll-my":w()}],"scroll-ms":[{"scroll-ms":w()}],"scroll-me":[{"scroll-me":w()}],"scroll-mbs":[{"scroll-mbs":w()}],"scroll-mbe":[{"scroll-mbe":w()}],"scroll-mt":[{"scroll-mt":w()}],"scroll-mr":[{"scroll-mr":w()}],"scroll-mb":[{"scroll-mb":w()}],"scroll-ml":[{"scroll-ml":w()}],"scroll-p":[{"scroll-p":w()}],"scroll-px":[{"scroll-px":w()}],"scroll-py":[{"scroll-py":w()}],"scroll-ps":[{"scroll-ps":w()}],"scroll-pe":[{"scroll-pe":w()}],"scroll-pbs":[{"scroll-pbs":w()}],"scroll-pbe":[{"scroll-pbe":w()}],"scroll-pt":[{"scroll-pt":w()}],"scroll-pr":[{"scroll-pr":w()}],"scroll-pb":[{"scroll-pb":w()}],"scroll-pl":[{"scroll-pl":w()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",le,Z]}],fill:[{fill:["none",...T()]}],"stroke-w":[{stroke:[R,ne,K,Y]}],stroke:[{stroke:["none",...T()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pbs","scroll-pbe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},ke=(e,{cacheSize:t,prefix:l,experimentalParseClassName:n,extend:r={},override:a={}})=>(Se(e,"cacheSize",t),Se(e,"prefix",l),Se(e,"experimentalParseClassName",n),Ce(e.theme,a.theme),Ce(e.classGroups,a.classGroups),Ce(e.conflictingClassGroups,a.conflictingClassGroups),Ce(e.conflictingClassGroupModifiers,a.conflictingClassGroupModifiers),Se(e,"orderSensitiveModifiers",a.orderSensitiveModifiers),Oe(e.theme,r.theme),Oe(e.classGroups,r.classGroups),Oe(e.conflictingClassGroups,r.conflictingClassGroups),Oe(e.conflictingClassGroupModifiers,r.conflictingClassGroupModifiers),Me(e,r,"orderSensitiveModifiers"),e),Se=(e,t,l)=>{void 0!==l&&(e[t]=l)},Ce=(e,t)=>{if(t)for(const l in t)Se(e,l,t[l])},Oe=(e,t)=>{if(t)for(const l in t)Me(e,t,l)},Me=(e,t,l)=>{const n=t[l];void 0!==n&&(e[l]=e[l]?e[l].concat(n):n)},_e=O(xe);t.createTailwindMerge=O,t.extendTailwindMerge=(e,...t)=>"function"===typeof e?O(xe,e,...t):O(()=>ke(xe(),e),...t),t.fromTheme=_,t.getDefaultConfig=xe,t.mergeConfigs=ke,t.twJoin=S,t.twMerge=_e,t.validators=we},"329464f193106f415d0d":function(e,t){var l=[].indexOf;e.exports=function(e,t){if(l)return e.indexOf(t);for(var n=0;n-1}function k(e){return x(e)?window.pageYOffset:e.scrollTop}function S(e,t){x(e)?window.scrollTo(0,t):e.scrollTop=t}function C(e,t,l,n){return l*((e=e/n-1)*e*e+1)+t}function O(e,t){var l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:b,r=k(e),a=t-r,o=10,i=0;function s(){var t=C(i+=o,r,a,l);S(e,t),i=p)return{placement:"bottom",maxHeight:t};if(M>=p&&!o)return a&&O(s,_,160),{placement:"bottom",maxHeight:t};if(!o&&M>=n||o&&x>=n)return a&&O(s,_,160),{placement:"bottom",maxHeight:o?x-v:M-v};if("auto"===r||o){var P=t,A=o?w:C;return A>=n&&(P=Math.min(A-v-i.controlHeight,t)),{placement:"top",maxHeight:P}}if("bottom"===r)return S(s,_),{placement:"bottom",maxHeight:t};break;case"top":if(w>=p)return{placement:"top",maxHeight:t};if(C>=p&&!o)return a&&O(s,E,160),{placement:"top",maxHeight:t};if(!o&&C>=n||o&&w>=n){var T=t;return(!o&&C>=n||o&&w>=n)&&(T=o?w-b:C-b),a&&O(s,E,160),{placement:"top",maxHeight:T}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(r,'".'))}return c}var A=function(e){return"auto"===e?"bottom":e},T=f.createContext({getPortalPlacement:null}),j=function(e){c(l,e);var t=E(l);function l(){var e;i(this,l);for(var n=arguments.length,r=new Array(n),a=0;al.bottom?S(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+r,e.scrollHeight)):n.top-ro?1:Math.round(100*u/o)/100,t.a!==d)return{h:t.h,s:t.s,l:t.l,a:d,source:"rgb"}}else{var f=void 0;if(n!==(f=c<0?0:c>a?1:Math.round(100*c/a)/100))return{h:t.h,s:t.s,l:t.l,a:f,source:"rgb"}}return null}},"33152a0dfb965bbef2b7":function(e,t,l){var n;e.exports=(n=l("8af190b70a6bc55c6f1b"),function(e){function t(n){if(l[n])return l[n].exports;var r=l[n]={i:n,l:!1,exports:{}};return e[n].call(r.exports,r,r.exports,t),r.l=!0,r.exports}var l={};return t.m=e,t.c=l,t.d=function(e,l,n){t.o(e,l)||Object.defineProperty(e,l,{configurable:!1,enumerable:!0,get:n})},t.n=function(e){var l=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(l,"a",l),l},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=27)}([function(e,t,l){var n;!function(t,l){"use strict";"object"===typeof e&&"object"===typeof e.exports?e.exports=t.document?l(t,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return l(e)}:l(t)}("undefined"!==typeof window?window:this,(function(l,r){"use strict";function a(e,t,l){var n,r,a=(l=l||ne).createElement("script");if(a.text=e,t)for(n in ye)(r=t[n]||t.getAttribute&&t.getAttribute(n))&&a.setAttribute(n,r);l.head.appendChild(a).parentNode.removeChild(a)}function o(e){return null==e?e+"":"object"===typeof e||"function"===typeof e?ce[ue.call(e)]||"object":typeof e}function i(e){var t=!!e&&"length"in e&&e.length,l=o(e);return!me(e)&&!ge(e)&&("array"===l||0===t||"number"===typeof t&&t>0&&t-1 in e)}function s(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}function c(e,t,l){return me(t)?ve.grep(e,(function(e,n){return!!t.call(e,n,e)!==l})):t.nodeType?ve.grep(e,(function(e){return e===t!==l})):"string"!==typeof t?ve.grep(e,(function(e){return se.call(t,e)>-1!==l})):ve.filter(t,e,l)}function u(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}function d(e){return e}function f(e){throw e}function p(e,t,l,n){var r;try{e&&me(r=e.promise)?r.call(e).done(t).fail(l):e&&me(r=e.then)?r.call(e,t,l):t.apply(void 0,[e].slice(n))}catch(e){l.apply(void 0,[e])}}function h(){ne.removeEventListener("DOMContentLoaded",h),l.removeEventListener("load",h),ve.ready()}function m(e,t){return t.toUpperCase()}function g(e){return e.replace(De,"ms-").replace(Ie,m)}function y(){this.expando=ve.expando+y.uid++}function v(e,t,l){var n;if(void 0===l&&1===e.nodeType)if(n="data-"+t.replace(Fe,"-$&").toLowerCase(),"string"===typeof(l=e.getAttribute(n))){try{l=function(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:Be.test(e)?JSON.parse(e):e)}(l)}catch(e){}Re.set(e,t,l)}else l=void 0;return l}function b(e,t,l,n){var r,a,o=20,i=n?function(){return n.cur()}:function(){return ve.css(e,t,"")},s=i(),c=l&&l[3]||(ve.cssNumber[t]?"":"px"),u=e.nodeType&&(ve.cssNumber[t]||"px"!==c&&+s)&&Ue.exec(ve.css(e,t));if(u&&u[3]!==c){for(s/=2,c=c||u[3],u=+s||1;o--;)ve.style(e,t,u+c),(1-a)*(1-(a=i()/s||.5))<=0&&(o=0),u/=a;u*=2,ve.style(e,t,u+c),l=l||[]}return l&&(u=+u||+s||0,r=l[1]?u+(l[1]+1)*l[2]:+l[2],n&&(n.unit=c,n.start=u,n.end=r)),r}function w(e){var t,l=e.ownerDocument,n=e.nodeName,r=Ze[n];return r||(t=l.body.appendChild(l.createElement(n)),r=ve.css(t,"display"),t.parentNode.removeChild(t),"none"===r&&(r="block"),Ze[n]=r,r)}function x(e,t){for(var l,n,r=[],a=0,o=e.length;a-1)r&&r.push(a);else if(u=We(a),i=k(f.appendChild(a),"script"),u&&S(i),l)for(d=0;a=i[d++];)Xe.test(a.type||"")&&l.push(a);return f}function O(){return!0}function M(){return!1}function _(e,t){return e===function(){try{return ne.activeElement}catch(e){}}()===("focus"===t)}function E(e,t,l,n,r,a){var o,i;if("object"===typeof t){for(i in"string"!==typeof l&&(n=n||l,l=void 0),t)E(e,i,l,n,t[i],a);return e}if(null==n&&null==r?(r=l,n=l=void 0):null==r&&("string"===typeof l?(r=n,n=void 0):(r=n,n=l,l=void 0)),!1===r)r=M;else if(!r)return e;return 1===a&&(o=r,(r=function(e){return ve().off(e),o.apply(this,arguments)}).guid=o.guid||(o.guid=ve.guid++)),e.each((function(){ve.event.add(this,t,r,n,l)}))}function P(e,t,l){l?(Le.set(e,t,!1),ve.event.add(e,t,{namespace:!1,handler:function(e){var n,r,a=Le.get(this,t);if(1&e.isTrigger&&this[t]){if(a)(ve.event.special[t]||{}).delegateType&&e.stopPropagation();else if(a=ae.call(arguments),Le.set(this,t,a),n=l(this,t),this[t](),a!==(r=Le.get(this,t))||n?Le.set(this,t,!1):r=void 0,a!==r)return e.stopImmediatePropagation(),e.preventDefault(),r}else a&&(Le.set(this,t,ve.event.trigger(ve.extend(a.shift(),ve.Event.prototype),a,this)),e.stopImmediatePropagation())}})):ve.event.add(e,t,O)}function A(e,t){return s(e,"table")&&s(11!==t.nodeType?t:t.firstChild,"tr")&&ve(e).children("tbody")[0]||e}function T(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function j(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function D(e,t){var l,n,r,a,o,i,s,c;if(1===t.nodeType){if(Le.hasData(e)&&(a=Le.access(e),o=Le.set(t,a),c=a.events))for(r in delete o.handle,o.events={},c)for(l=0,n=c[r].length;l1&&"string"===typeof h&&!he.checkClone&&at.test(h))return e.each((function(r){var a=e.eq(r);m&&(t[0]=h.call(this,r,a.html())),N(a,t,l,n)}));if(f&&(o=(r=C(t,e[0].ownerDocument,!1,e,n)).firstChild,1===r.childNodes.length&&(r=o),o||n)){for(s=(i=ve.map(k(r,"script"),T)).length;d=0&&(s+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-a-s-i-.5))||0),s}function H(e,t,l){var n=st(e),r=(!he.boxSizingReliable()||l)&&"border-box"===ve.css(e,"boxSizing",!1,n),a=r,o=R(e,t,n),i="offset"+t[0].toUpperCase()+t.slice(1);if(it.test(o)){if(!l)return o;o="auto"}return(!he.boxSizingReliable()&&r||"auto"===o||!parseFloat(o)&&"inline"===ve.css(e,"display",!1,n))&&e.getClientRects().length&&(r="border-box"===ve.css(e,"boxSizing",!1,n),(a=i in e)&&(o=e[i])),(o=parseFloat(o)||0)+U(e,t,l||(r?"border":"content"),a,n,o)+"px"}function V(e,t,l,n,r){return new V.prototype.init(e,t,l,n,r)}function W(){vt&&(!1===ne.hidden&&l.requestAnimationFrame?l.requestAnimationFrame(W):l.setTimeout(W,ve.fx.interval),ve.fx.tick())}function $(){return l.setTimeout((function(){yt=void 0})),yt=Date.now()}function G(e,t){var l,n=0,r={height:e};for(t=t?1:0;n<4;n+=2-t)r["margin"+(l=He[n])]=r["padding"+l]=e;return t&&(r.opacity=r.width=e),r}function q(e,t,l){for(var n,r=(Z.tweeners[t]||[]).concat(Z.tweeners["*"]),a=0,o=r.length;a=0&&lx.cacheLength&&delete t[e.shift()],t[l+" "]=n}}function n(e){return e[B]=!0,e}function r(e){var t=T.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function a(e,t){for(var l=e.split("|"),n=l.length;n--;)x.attrHandle[l[n]]=t}function o(e,t){var l=t&&e,n=l&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(n)return n;if(l)for(;l=l.nextSibling;)if(l===t)return-1;return e?1:-1}function i(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&Ce(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function s(e){return n((function(t){return t=+t,n((function(l,n){for(var r,a=e([],l.length,t),o=a.length;o--;)l[r=a[o]]&&(l[r]=!(n[r]=l[r]))}))}))}function c(e){return e&&"undefined"!==typeof e.getElementsByTagName&&e}function u(){}function d(e){for(var t=0,l=e.length,n="";t1?function(t,l,n){for(var r=e.length;r--;)if(!e[r](t,l,n))return!1;return!0}:e[0]}function h(e,l,n){for(var r=0,a=l.length;r-1&&(n[c]=!(o[c]=d))}}else b=m(b===o?b.splice(g,b.length):b),a?a(null,o,b,s):X.apply(o,b)}))}function y(e){for(var t,l,n,r=e.length,a=x.relative[e[0].type],o=a||x.relative[" "],i=a?1:0,s=f((function(e){return e===t}),o,!0),c=f((function(e){return Q(t,e)>-1}),o,!0),u=[function(e,l,n){var r=!a&&(n||l!==_)||((t=l).nodeType?s(e,l,n):c(e,l,n));return t=null,r}];i1&&p(u),i>1&&d(e.slice(0,i-1).concat({value:" "===e[i-2].type?"*":""})).replace(oe,"$1"),l,i0,a=e.length>0,o=function(n,o,i,s,c){var u,d,f,p=0,h="0",g=n&&[],y=[],v=_,b=n||a&&x.find.TAG("*",c),w=z+=null==v?1:Math.random()||.1,k=b.length;for(c&&(_=o===T||o||c);h!==k&&null!=(u=b[h]);h++){if(a&&u){for(d=0,o||u.ownerDocument===T||(A(u),i=!D);f=e[d++];)if(f(u,o||T,i)){s.push(u);break}c&&(z=w)}r&&((u=!f&&u)&&p--,n&&g.push(u))}if(p+=h,r&&h!==p){for(d=0;f=l[d++];)f(g,y,o,i);if(n){if(p>0)for(;h--;)g[h]||y[h]||(y[h]=K.call(s));y=m(y)}X.apply(s,y),c&&!n&&y.length>0&&p+l.length>1&&t.uniqueSort(s)}return c&&(z=w,_=v),g};return r?n(o):o}var b,w,x,k,S,C,O,M,_,E,P,A,T,j,D,I,N,L,R,B="sizzle"+1*new Date,F=e.document,z=0,U=0,H=l(),V=l(),W=l(),$=l(),G=function(e,t){return e===t&&(P=!0),0},q={}.hasOwnProperty,Z=[],K=Z.pop,Y=Z.push,X=Z.push,J=Z.slice,Q=function(e,t){for(var l=0,n=e.length;l+~]|"+te+")"+te+"*"),ce=new RegExp(te+"|>"),ue=new RegExp(re),de=new RegExp("^"+le+"$"),fe={ID:new RegExp("^#("+le+")"),CLASS:new RegExp("^\\.("+le+")"),TAG:new RegExp("^("+le+"|[*])"),ATTR:new RegExp("^"+ne),PSEUDO:new RegExp("^"+re),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+te+"*(even|odd|(([+-]|)(\\d*)n|)"+te+"*(?:([+-]|)"+te+"*(\\d+)|))"+te+"*\\)|)","i"),bool:new RegExp("^(?:"+ee+")$","i"),needsContext:new RegExp("^"+te+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+te+"*((?:-\\d)?\\d*)"+te+"*\\)|)(?=[^-]|$)","i")},pe=/HTML$/i,he=/^(?:input|select|textarea|button)$/i,me=/^h\d$/i,ge=/^[^{]+\{\s*\[native \w/,ye=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ve=/[+~]/,be=new RegExp("\\\\([\\da-f]{1,6}"+te+"?|("+te+")|.)","ig"),we=function(e,t,l){var n="0x"+t-65536;return n!==n||l?t:n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320)},xe=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ke=function(e,t){return t?"\0"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},Se=function(){A()},Ce=f((function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()}),{dir:"parentNode",next:"legend"});try{X.apply(Z=J.call(F.childNodes),F.childNodes),Z[F.childNodes.length].nodeType}catch(e){X={apply:Z.length?function(e,t){Y.apply(e,J.call(t))}:function(e,t){for(var l=e.length,n=0;e[l++]=t[n++];);e.length=l-1}}}for(b in w=t.support={},S=t.isXML=function(e){var t=e.namespaceURI,l=(e.ownerDocument||e).documentElement;return!pe.test(t||l&&l.nodeName||"HTML")},A=t.setDocument=function(e){var t,l,n=e?e.ownerDocument||e:F;return n!==T&&9===n.nodeType&&n.documentElement?(j=(T=n).documentElement,D=!S(T),F!==T&&(l=T.defaultView)&&l.top!==l&&(l.addEventListener?l.addEventListener("unload",Se,!1):l.attachEvent&&l.attachEvent("onunload",Se)),w.attributes=r((function(e){return e.className="i",!e.getAttribute("className")})),w.getElementsByTagName=r((function(e){return e.appendChild(T.createComment("")),!e.getElementsByTagName("*").length})),w.getElementsByClassName=ge.test(T.getElementsByClassName),w.getById=r((function(e){return j.appendChild(e).id=B,!T.getElementsByName||!T.getElementsByName(B).length})),w.getById?(x.filter.ID=function(e){var t=e.replace(be,we);return function(e){return e.getAttribute("id")===t}},x.find.ID=function(e,t){if("undefined"!==typeof t.getElementById&&D){var l=t.getElementById(e);return l?[l]:[]}}):(x.filter.ID=function(e){var t=e.replace(be,we);return function(e){var l="undefined"!==typeof e.getAttributeNode&&e.getAttributeNode("id");return l&&l.value===t}},x.find.ID=function(e,t){if("undefined"!==typeof t.getElementById&&D){var l,n,r,a=t.getElementById(e);if(a){if((l=a.getAttributeNode("id"))&&l.value===e)return[a];for(r=t.getElementsByName(e),n=0;a=r[n++];)if((l=a.getAttributeNode("id"))&&l.value===e)return[a]}return[]}}),x.find.TAG=w.getElementsByTagName?function(e,t){return"undefined"!==typeof t.getElementsByTagName?t.getElementsByTagName(e):w.qsa?t.querySelectorAll(e):void 0}:function(e,t){var l,n=[],r=0,a=t.getElementsByTagName(e);if("*"===e){for(;l=a[r++];)1===l.nodeType&&n.push(l);return n}return a},x.find.CLASS=w.getElementsByClassName&&function(e,t){if("undefined"!==typeof t.getElementsByClassName&&D)return t.getElementsByClassName(e)},N=[],I=[],(w.qsa=ge.test(T.querySelectorAll))&&(r((function(e){j.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&I.push("[*^$]="+te+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||I.push("\\["+te+"*(?:value|"+ee+")"),e.querySelectorAll("[id~="+B+"-]").length||I.push("~="),e.querySelectorAll(":checked").length||I.push(":checked"),e.querySelectorAll("a#"+B+"+*").length||I.push(".#.+[+~]")})),r((function(e){e.innerHTML="";var t=T.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&I.push("name"+te+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&I.push(":enabled",":disabled"),j.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&I.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),I.push(",.*:")}))),(w.matchesSelector=ge.test(L=j.matches||j.webkitMatchesSelector||j.mozMatchesSelector||j.oMatchesSelector||j.msMatchesSelector))&&r((function(e){w.disconnectedMatch=L.call(e,"*"),L.call(e,"[s!='']:x"),N.push("!=",re)})),I=I.length&&new RegExp(I.join("|")),N=N.length&&new RegExp(N.join("|")),t=ge.test(j.compareDocumentPosition),R=t||ge.test(j.contains)?function(e,t){var l=9===e.nodeType?e.documentElement:e,n=t&&t.parentNode;return e===n||!(!n||1!==n.nodeType||!(l.contains?l.contains(n):e.compareDocumentPosition&&16&e.compareDocumentPosition(n)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},G=t?function(e,t){if(e===t)return P=!0,0;var l=!e.compareDocumentPosition-!t.compareDocumentPosition;return l||(1&(l=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!w.sortDetached&&t.compareDocumentPosition(e)===l?e===T||e.ownerDocument===F&&R(F,e)?-1:t===T||t.ownerDocument===F&&R(F,t)?1:E?Q(E,e)-Q(E,t):0:4&l?-1:1)}:function(e,t){if(e===t)return P=!0,0;var l,n=0,r=e.parentNode,a=t.parentNode,i=[e],s=[t];if(!r||!a)return e===T?-1:t===T?1:r?-1:a?1:E?Q(E,e)-Q(E,t):0;if(r===a)return o(e,t);for(l=e;l=l.parentNode;)i.unshift(l);for(l=t;l=l.parentNode;)s.unshift(l);for(;i[n]===s[n];)n++;return n?o(i[n],s[n]):i[n]===F?-1:s[n]===F?1:0},T):T},t.matches=function(e,l){return t(e,null,null,l)},t.matchesSelector=function(e,l){if((e.ownerDocument||e)!==T&&A(e),w.matchesSelector&&D&&!$[l+" "]&&(!N||!N.test(l))&&(!I||!I.test(l)))try{var n=L.call(e,l);if(n||w.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){$(l,!0)}return t(l,T,null,[e]).length>0},t.contains=function(e,t){return(e.ownerDocument||e)!==T&&A(e),R(e,t)},t.attr=function(e,t){(e.ownerDocument||e)!==T&&A(e);var l=x.attrHandle[t.toLowerCase()],n=l&&q.call(x.attrHandle,t.toLowerCase())?l(e,t,!D):void 0;return void 0!==n?n:w.attributes||!D?e.getAttribute(t):(n=e.getAttributeNode(t))&&n.specified?n.value:null},t.escape=function(e){return(e+"").replace(xe,ke)},t.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},t.uniqueSort=function(e){var t,l=[],n=0,r=0;if(P=!w.detectDuplicates,E=!w.sortStable&&e.slice(0),e.sort(G),P){for(;t=e[r++];)t===e[r]&&(n=l.push(r));for(;n--;)e.splice(l[n],1)}return E=null,e},k=t.getText=function(e){var t,l="",n=0,r=e.nodeType;if(r){if(1===r||9===r||11===r){if("string"===typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)l+=k(e)}else if(3===r||4===r)return e.nodeValue}else for(;t=e[n++];)l+=k(t);return l},(x=t.selectors={cacheLength:50,createPseudo:n,match:fe,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(be,we),e[3]=(e[3]||e[4]||e[5]||"").replace(be,we),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||t.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&t.error(e[0]),e},PSEUDO:function(e){var t,l=!e[6]&&e[2];return fe.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":l&&ue.test(l)&&(t=C(l,!0))&&(t=l.indexOf(")",l.length-t)-l.length)&&(e[0]=e[0].slice(0,t),e[2]=l.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(be,we).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=H[e+" "];return t||(t=new RegExp("(^|"+te+")"+e+"("+te+"|$)"))&&H(e,(function(e){return t.test("string"===typeof e.className&&e.className||"undefined"!==typeof e.getAttribute&&e.getAttribute("class")||"")}))},ATTR:function(e,l,n){return function(r){var a=t.attr(r,e);return null==a?"!="===l:!l||(a+="","="===l?a===n:"!="===l?a!==n:"^="===l?n&&0===a.indexOf(n):"*="===l?n&&a.indexOf(n)>-1:"$="===l?n&&a.slice(-n.length)===n:"~="===l?(" "+a.replace(ae," ")+" ").indexOf(n)>-1:"|="===l&&(a===n||a.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,l,n,r){var a="nth"!==e.slice(0,3),o="last"!==e.slice(-4),i="of-type"===t;return 1===n&&0===r?function(e){return!!e.parentNode}:function(t,l,s){var c,u,d,f,p,h,m=a!==o?"nextSibling":"previousSibling",g=t.parentNode,y=i&&t.nodeName.toLowerCase(),v=!s&&!i,b=!1;if(g){if(a){for(;m;){for(f=t;f=f[m];)if(i?f.nodeName.toLowerCase()===y:1===f.nodeType)return!1;h=m="only"===e&&!h&&"nextSibling"}return!0}if(h=[o?g.firstChild:g.lastChild],o&&v){for(b=(p=(c=(u=(d=(f=g)[B]||(f[B]={}))[f.uniqueID]||(d[f.uniqueID]={}))[e]||[])[0]===z&&c[1])&&c[2],f=p&&g.childNodes[p];f=++p&&f&&f[m]||(b=p=0)||h.pop();)if(1===f.nodeType&&++b&&f===t){u[e]=[z,p,b];break}}else if(v&&(b=p=(c=(u=(d=(f=t)[B]||(f[B]={}))[f.uniqueID]||(d[f.uniqueID]={}))[e]||[])[0]===z&&c[1]),!1===b)for(;(f=++p&&f&&f[m]||(b=p=0)||h.pop())&&((i?f.nodeName.toLowerCase()!==y:1!==f.nodeType)||!++b||(v&&((u=(d=f[B]||(f[B]={}))[f.uniqueID]||(d[f.uniqueID]={}))[e]=[z,b]),f!==t)););return(b-=r)===n||b%n===0&&b/n>=0}}},PSEUDO:function(e,l){var r,a=x.pseudos[e]||x.setFilters[e.toLowerCase()]||t.error("unsupported pseudo: "+e);return a[B]?a(l):a.length>1?(r=[e,e,"",l],x.setFilters.hasOwnProperty(e.toLowerCase())?n((function(e,t){for(var n,r=a(e,l),o=r.length;o--;)e[n=Q(e,r[o])]=!(t[n]=r[o])})):function(e){return a(e,0,r)}):a}},pseudos:{not:n((function(e){var t=[],l=[],r=O(e.replace(oe,"$1"));return r[B]?n((function(e,t,l,n){for(var a,o=r(e,null,n,[]),i=e.length;i--;)(a=o[i])&&(e[i]=!(t[i]=a))})):function(e,n,a){return t[0]=e,r(t,null,a,l),t[0]=null,!l.pop()}})),has:n((function(e){return function(l){return t(e,l).length>0}})),contains:n((function(e){return e=e.replace(be,we),function(t){return(t.textContent||k(t)).indexOf(e)>-1}})),lang:n((function(e){return de.test(e||"")||t.error("unsupported lang: "+e),e=e.replace(be,we).toLowerCase(),function(t){var l;do{if(l=D?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(l=l.toLowerCase())===e||0===l.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}})),target:function(t){var l=e.location&&e.location.hash;return l&&l.slice(1)===t.id},root:function(e){return e===j},focus:function(e){return e===T.activeElement&&(!T.hasFocus||T.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:i(!1),disabled:i(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!x.pseudos.empty(e)},header:function(e){return me.test(e.nodeName)},input:function(e){return he.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:s((function(){return[0]})),last:s((function(e,t){return[t-1]})),eq:s((function(e,t,l){return[l<0?l+t:l]})),even:s((function(e,t){for(var l=0;lt?t:l;--n>=0;)e.push(n);return e})),gt:s((function(e,t,l){for(var n=l<0?l+t:l;++n2&&"ID"===(o=a[0]).type&&9===t.nodeType&&D&&x.relative[a[1].type]){if(!(t=(x.find.ID(o.matches[0].replace(be,we),t)||[])[0]))return l;u&&(t=t.parentNode),e=e.slice(a.shift().value.length)}for(r=fe.needsContext.test(e)?0:a.length;r--&&(o=a[r],!x.relative[i=o.type]);)if((s=x.find[i])&&(n=s(o.matches[0].replace(be,we),ve.test(a[0].type)&&c(t.parentNode)||t))){if(a.splice(r,1),!(e=n.length&&d(a)))return X.apply(l,n),l;break}}return(u||O(e,f))(n,t,!D,l,!t||ve.test(e)&&c(t.parentNode)||t),l},w.sortStable=B.split("").sort(G).join("")===B,w.detectDuplicates=!!P,A(),w.sortDetached=r((function(e){return 1&e.compareDocumentPosition(T.createElement("fieldset"))})),r((function(e){return e.innerHTML="","#"===e.firstChild.getAttribute("href")}))||a("type|href|height|width",(function(e,t,l){if(!l)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)})),w.attributes&&r((function(e){return e.innerHTML="",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")}))||a("value",(function(e,t,l){if(!l&&"input"===e.nodeName.toLowerCase())return e.defaultValue})),r((function(e){return null==e.getAttribute("disabled")}))||a(ee,(function(e,t,l){var n;if(!l)return!0===e[t]?t.toLowerCase():(n=e.getAttributeNode(t))&&n.specified?n.value:null})),t}(l);ve.find=we,ve.expr=we.selectors,ve.expr[":"]=ve.expr.pseudos,ve.uniqueSort=ve.unique=we.uniqueSort,ve.text=we.getText,ve.isXMLDoc=we.isXML,ve.contains=we.contains,ve.escapeSelector=we.escape;var xe=function(e,t,l){for(var n=[],r=void 0!==l;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(r&&ve(e).is(l))break;n.push(e)}return n},ke=function(e,t){for(var l=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&l.push(e);return l},Se=ve.expr.match.needsContext,Ce=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;ve.filter=function(e,t,l){var n=t[0];return l&&(e=":not("+e+")"),1===t.length&&1===n.nodeType?ve.find.matchesSelector(n,e)?[n]:[]:ve.find.matches(e,ve.grep(t,(function(e){return 1===e.nodeType})))},ve.fn.extend({find:function(e){var t,l,n=this.length,r=this;if("string"!==typeof e)return this.pushStack(ve(e).filter((function(){for(t=0;t1?ve.uniqueSort(l):l},filter:function(e){return this.pushStack(c(this,e||[],!1))},not:function(e){return this.pushStack(c(this,e||[],!0))},is:function(e){return!!c(this,"string"===typeof e&&Se.test(e)?ve(e):e||[],!1).length}});var Oe,Me=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(ve.fn.init=function(e,t,l){var n,r;if(!e)return this;if(l=l||Oe,"string"===typeof e){if(!(n="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:Me.exec(e))||!n[1]&&t)return!t||t.jquery?(t||l).find(e):this.constructor(t).find(e);if(n[1]){if(t=t instanceof ve?t[0]:t,ve.merge(this,ve.parseHTML(n[1],t&&t.nodeType?t.ownerDocument||t:ne,!0)),Ce.test(n[1])&&ve.isPlainObject(t))for(n in t)me(this[n])?this[n](t[n]):this.attr(n,t[n]);return this}return(r=ne.getElementById(n[2]))&&(this[0]=r,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):me(e)?void 0!==l.ready?l.ready(e):e(ve):ve.makeArray(e,this)}).prototype=ve.fn,Oe=ve(ne);var _e=/^(?:parents|prev(?:Until|All))/,Ee={children:!0,contents:!0,next:!0,prev:!0};ve.fn.extend({has:function(e){var t=ve(e,this),l=t.length;return this.filter((function(){for(var e=0;e-1:1===l.nodeType&&ve.find.matchesSelector(l,e))){a.push(l);break}return this.pushStack(a.length>1?ve.uniqueSort(a):a)},index:function(e){return e?"string"===typeof e?se.call(ve(e),this[0]):se.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(ve.uniqueSort(ve.merge(this.get(),ve(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),ve.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return xe(e,"parentNode")},parentsUntil:function(e,t,l){return xe(e,"parentNode",l)},next:function(e){return u(e,"nextSibling")},prev:function(e){return u(e,"previousSibling")},nextAll:function(e){return xe(e,"nextSibling")},prevAll:function(e){return xe(e,"previousSibling")},nextUntil:function(e,t,l){return xe(e,"nextSibling",l)},prevUntil:function(e,t,l){return xe(e,"previousSibling",l)},siblings:function(e){return ke((e.parentNode||{}).firstChild,e)},children:function(e){return ke(e.firstChild)},contents:function(e){return"undefined"!==typeof e.contentDocument?e.contentDocument:(s(e,"template")&&(e=e.content||e),ve.merge([],e.childNodes))}},(function(e,t){ve.fn[e]=function(l,n){var r=ve.map(this,t,l);return"Until"!==e.slice(-5)&&(n=l),n&&"string"===typeof n&&(r=ve.filter(n,r)),this.length>1&&(Ee[e]||ve.uniqueSort(r),_e.test(e)&&r.reverse()),this.pushStack(r)}}));var Pe=/[^\x20\t\r\n\f]+/g;ve.Callbacks=function(e){e="string"===typeof e?function(e){var t={};return ve.each(e.match(Pe)||[],(function(e,l){t[l]=!0})),t}(e):ve.extend({},e);var t,l,n,r,a=[],i=[],s=-1,c=function(){for(r=r||e.once,n=t=!0;i.length;s=-1)for(l=i.shift();++s-1;)a.splice(l,1),l<=s&&s--})),this},has:function(e){return e?ve.inArray(e,a)>-1:a.length>0},empty:function(){return a&&(a=[]),this},disable:function(){return r=i=[],a=l="",this},disabled:function(){return!a},lock:function(){return r=i=[],l||t||(a=l=""),this},locked:function(){return!!r},fireWith:function(e,l){return r||(l=[e,(l=l||[]).slice?l.slice():l],i.push(l),t||c()),this},fire:function(){return u.fireWith(this,arguments),this},fired:function(){return!!n}};return u},ve.extend({Deferred:function(e){var t=[["notify","progress",ve.Callbacks("memory"),ve.Callbacks("memory"),2],["resolve","done",ve.Callbacks("once memory"),ve.Callbacks("once memory"),0,"resolved"],["reject","fail",ve.Callbacks("once memory"),ve.Callbacks("once memory"),1,"rejected"]],n="pending",r={state:function(){return n},always:function(){return a.done(arguments).fail(arguments),this},catch:function(e){return r.then(null,e)},pipe:function(){var e=arguments;return ve.Deferred((function(l){ve.each(t,(function(t,n){var r=me(e[n[4]])&&e[n[4]];a[n[1]]((function(){var e=r&&r.apply(this,arguments);e&&me(e.promise)?e.promise().progress(l.notify).done(l.resolve).fail(l.reject):l[n[0]+"With"](this,r?[e]:arguments)}))})),e=null})).promise()},then:function(e,n,r){function a(e,t,n,r){return function(){var i=this,s=arguments,c=function(){var l,c;if(!(e=o&&(n!==f&&(i=void 0,s=[l]),t.rejectWith(i,s))}};e?u():(ve.Deferred.getStackHook&&(u.stackTrace=ve.Deferred.getStackHook()),l.setTimeout(u))}}var o=0;return ve.Deferred((function(l){t[0][3].add(a(0,l,me(r)?r:d,l.notifyWith)),t[1][3].add(a(0,l,me(e)?e:d)),t[2][3].add(a(0,l,me(n)?n:f))})).promise()},promise:function(e){return null!=e?ve.extend(e,r):r}},a={};return ve.each(t,(function(e,l){var o=l[2],i=l[5];r[l[1]]=o.add,i&&o.add((function(){n=i}),t[3-e][2].disable,t[3-e][3].disable,t[0][2].lock,t[0][3].lock),o.add(l[3].fire),a[l[0]]=function(){return a[l[0]+"With"](this===a?void 0:this,arguments),this},a[l[0]+"With"]=o.fireWith})),r.promise(a),e&&e.call(a,a),a},when:function(e){var t=arguments.length,l=t,n=Array(l),r=ae.call(arguments),a=ve.Deferred(),o=function(e){return function(l){n[e]=this,r[e]=arguments.length>1?ae.call(arguments):l,--t||a.resolveWith(n,r)}};if(t<=1&&(p(e,a.done(o(l)).resolve,a.reject,!t),"pending"===a.state()||me(r[l]&&r[l].then)))return a.then();for(;l--;)p(r[l],o(l),a.reject);return a.promise()}});var Ae=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;ve.Deferred.exceptionHook=function(e,t){l.console&&l.console.warn&&e&&Ae.test(e.name)&&l.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},ve.readyException=function(e){l.setTimeout((function(){throw e}))};var Te=ve.Deferred();ve.fn.ready=function(e){return Te.then(e).catch((function(e){ve.readyException(e)})),this},ve.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--ve.readyWait:ve.isReady)||(ve.isReady=!0,!0!==e&&--ve.readyWait>0||Te.resolveWith(ne,[ve]))}}),ve.ready.then=Te.then,"complete"===ne.readyState||"loading"!==ne.readyState&&!ne.documentElement.doScroll?l.setTimeout(ve.ready):(ne.addEventListener("DOMContentLoaded",h),l.addEventListener("load",h));var je=function(e,t,l,n,r,a,i){var s=0,c=e.length,u=null==l;if("object"===o(l))for(s in r=!0,l)je(e,t,s,l[s],!0,a,i);else if(void 0!==n&&(r=!0,me(n)||(i=!0),u&&(i?(t.call(e,n),t=null):(u=t,t=function(e,t,l){return u.call(ve(e),l)})),t))for(;s1,null,!0)},removeData:function(e){return this.each((function(){Re.remove(this,e)}))}}),ve.extend({queue:function(e,t,l){var n;if(e)return t=(t||"fx")+"queue",n=Le.get(e,t),l&&(!n||Array.isArray(l)?n=Le.access(e,t,ve.makeArray(l)):n.push(l)),n||[]},dequeue:function(e,t){t=t||"fx";var l=ve.queue(e,t),n=l.length,r=l.shift(),a=ve._queueHooks(e,t);"inprogress"===r&&(r=l.shift(),n--),r&&("fx"===t&&l.unshift("inprogress"),delete a.stop,r.call(e,(function(){ve.dequeue(e,t)}),a)),!n&&a&&a.empty.fire()},_queueHooks:function(e,t){var l=t+"queueHooks";return Le.get(e,l)||Le.access(e,l,{empty:ve.Callbacks("once memory").add((function(){Le.remove(e,[t+"queue",l])}))})}}),ve.fn.extend({queue:function(e,t){var l=2;return"string"!==typeof e&&(t=e,e="fx",l--),arguments.length\x20\t\r\n\f]*)/i,Xe=/^$|^module$|\/(?:java|ecma)script/i,Je={option:[1,""],thead:[1,"","
    "],col:[2,"","
    "],tr:[2,"","
    "],td:[3,"","
    "],_default:[0,"",""]};Je.optgroup=Je.option,Je.tbody=Je.tfoot=Je.colgroup=Je.caption=Je.thead,Je.th=Je.td;var Qe=/<|&#?\w+;/;!function(){var e=ne.createDocumentFragment().appendChild(ne.createElement("div")),t=ne.createElement("input");t.setAttribute("type","radio"),t.setAttribute("checked","checked"),t.setAttribute("name","t"),e.appendChild(t),he.checkClone=e.cloneNode(!0).cloneNode(!0).lastChild.checked,e.innerHTML="",he.noCloneChecked=!!e.cloneNode(!0).lastChild.defaultValue}();var et=/^key/,tt=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,lt=/^([^.]*)(?:\.(.+)|)/;ve.event={global:{},add:function(e,t,l,n,r){var a,o,i,s,c,u,d,f,p,h,m,g=Le.get(e);if(g)for(l.handler&&(l=(a=l).handler,r=a.selector),r&&ve.find.matchesSelector(Ve,r),l.guid||(l.guid=ve.guid++),(s=g.events)||(s=g.events={}),(o=g.handle)||(o=g.handle=function(t){return"undefined"!==typeof ve&&ve.event.triggered!==t.type?ve.event.dispatch.apply(e,arguments):void 0}),c=(t=(t||"").match(Pe)||[""]).length;c--;)p=m=(i=lt.exec(t[c])||[])[1],h=(i[2]||"").split(".").sort(),p&&(d=ve.event.special[p]||{},p=(r?d.delegateType:d.bindType)||p,d=ve.event.special[p]||{},u=ve.extend({type:p,origType:m,data:n,handler:l,guid:l.guid,selector:r,needsContext:r&&ve.expr.match.needsContext.test(r),namespace:h.join(".")},a),(f=s[p])||((f=s[p]=[]).delegateCount=0,d.setup&&!1!==d.setup.call(e,n,h,o)||e.addEventListener&&e.addEventListener(p,o)),d.add&&(d.add.call(e,u),u.handler.guid||(u.handler.guid=l.guid)),r?f.splice(f.delegateCount++,0,u):f.push(u),ve.event.global[p]=!0)},remove:function(e,t,l,n,r){var a,o,i,s,c,u,d,f,p,h,m,g=Le.hasData(e)&&Le.get(e);if(g&&(s=g.events)){for(c=(t=(t||"").match(Pe)||[""]).length;c--;)if(p=m=(i=lt.exec(t[c])||[])[1],h=(i[2]||"").split(".").sort(),p){for(d=ve.event.special[p]||{},f=s[p=(n?d.delegateType:d.bindType)||p]||[],i=i[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),o=a=f.length;a--;)u=f[a],!r&&m!==u.origType||l&&l.guid!==u.guid||i&&!i.test(u.namespace)||n&&n!==u.selector&&("**"!==n||!u.selector)||(f.splice(a,1),u.selector&&f.delegateCount--,d.remove&&d.remove.call(e,u));o&&!f.length&&(d.teardown&&!1!==d.teardown.call(e,h,g.handle)||ve.removeEvent(e,p,g.handle),delete s[p])}else for(p in s)ve.event.remove(e,p+t[c],l,n,!0);ve.isEmptyObject(s)&&Le.remove(e,"handle events")}},dispatch:function(e){var t,l,n,r,a,o,i=ve.event.fix(e),s=new Array(arguments.length),c=(Le.get(this,"events")||{})[i.type]||[],u=ve.event.special[i.type]||{};for(s[0]=i,t=1;t=1))for(;c!==this;c=c.parentNode||this)if(1===c.nodeType&&("click"!==e.type||!0!==c.disabled)){for(a=[],o={},l=0;l-1:ve.find(r,this,null,[c]).length),o[r]&&a.push(n);a.length&&i.push({elem:c,handlers:a})}return c=this,s\x20\t\r\n\f]*)[^>]*)\/>/gi,rt=/\s*$/g;ve.extend({htmlPrefilter:function(e){return e.replace(nt,"<$1>")},clone:function(e,t,l){var n,r,a,o,i=e.cloneNode(!0),s=We(e);if(!he.noCloneChecked&&(1===e.nodeType||11===e.nodeType)&&!ve.isXMLDoc(e))for(o=k(i),n=0,r=(a=k(e)).length;n0&&S(o,!s&&k(e,"script")),i},cleanData:function(e){for(var t,l,n,r=ve.event.special,a=0;void 0!==(l=e[a]);a++)if(Ne(l)){if(t=l[Le.expando]){if(t.events)for(n in t.events)r[n]?ve.event.remove(l,n):ve.removeEvent(l,n,t.handle);l[Le.expando]=void 0}l[Re.expando]&&(l[Re.expando]=void 0)}}}),ve.fn.extend({detach:function(e){return L(this,e,!0)},remove:function(e){return L(this,e)},text:function(e){return je(this,(function(e){return void 0===e?ve.text(this):this.empty().each((function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)}))}),null,e,arguments.length)},append:function(){return N(this,arguments,(function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||A(this,e).appendChild(e)}))},prepend:function(){return N(this,arguments,(function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=A(this,e);t.insertBefore(e,t.firstChild)}}))},before:function(){return N(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this)}))},after:function(){return N(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)}))},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(ve.cleanData(k(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map((function(){return ve.clone(this,e,t)}))},html:function(e){return je(this,(function(e){var t=this[0]||{},l=0,n=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"===typeof e&&!rt.test(e)&&!Je[(Ye.exec(e)||["",""])[1].toLowerCase()]){e=ve.htmlPrefilter(e);try{for(;l1)}}),ve.Tween=V,V.prototype={constructor:V,init:function(e,t,l,n,r,a){this.elem=e,this.prop=l,this.easing=r||ve.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=n,this.unit=a||(ve.cssNumber[l]?"":"px")},cur:function(){var e=V.propHooks[this.prop];return e&&e.get?e.get(this):V.propHooks._default.get(this)},run:function(e){var t,l=V.propHooks[this.prop];return this.options.duration?this.pos=t=ve.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),l&&l.set?l.set(this):V.propHooks._default.set(this),this}},V.prototype.init.prototype=V.prototype,V.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=ve.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){ve.fx.step[e.prop]?ve.fx.step[e.prop](e):1!==e.elem.nodeType||!ve.cssHooks[e.prop]&&null==e.elem.style[F(e.prop)]?e.elem[e.prop]=e.now:ve.style(e.elem,e.prop,e.now+e.unit)}}},V.propHooks.scrollTop=V.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},ve.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},ve.fx=V.prototype.init,ve.fx.step={};var yt,vt,bt=/^(?:toggle|show|hide)$/,wt=/queueHooks$/;ve.Animation=ve.extend(Z,{tweeners:{"*":[function(e,t){var l=this.createTween(e,t);return b(l.elem,e,Ue.exec(t),l),l}]},tweener:function(e,t){me(e)?(t=e,e=["*"]):e=e.match(Pe);for(var l,n=0,r=e.length;n1)},removeAttr:function(e){return this.each((function(){ve.removeAttr(this,e)}))}}),ve.extend({attr:function(e,t,l){var n,r,a=e.nodeType;if(3!==a&&8!==a&&2!==a)return"undefined"===typeof e.getAttribute?ve.prop(e,t,l):(1===a&&ve.isXMLDoc(e)||(r=ve.attrHooks[t.toLowerCase()]||(ve.expr.match.bool.test(t)?xt:void 0)),void 0!==l?null===l?void ve.removeAttr(e,t):r&&"set"in r&&void 0!==(n=r.set(e,l,t))?n:(e.setAttribute(t,l+""),l):r&&"get"in r&&null!==(n=r.get(e,t))?n:null==(n=ve.find.attr(e,t))?void 0:n)},attrHooks:{type:{set:function(e,t){if(!he.radioValue&&"radio"===t&&s(e,"input")){var l=e.value;return e.setAttribute("type",t),l&&(e.value=l),t}}}},removeAttr:function(e,t){var l,n=0,r=t&&t.match(Pe);if(r&&1===e.nodeType)for(;l=r[n++];)e.removeAttribute(l)}}),xt={set:function(e,t,l){return!1===t?ve.removeAttr(e,l):e.setAttribute(l,l),l}},ve.each(ve.expr.match.bool.source.match(/\w+/g),(function(e,t){var l=kt[t]||ve.find.attr;kt[t]=function(e,t,n){var r,a,o=t.toLowerCase();return n||(a=kt[o],kt[o]=r,r=null!=l(e,t,n)?o:null,kt[o]=a),r}}));var St=/^(?:input|select|textarea|button)$/i,Ct=/^(?:a|area)$/i;ve.fn.extend({prop:function(e,t){return je(this,ve.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each((function(){delete this[ve.propFix[e]||e]}))}}),ve.extend({prop:function(e,t,l){var n,r,a=e.nodeType;if(3!==a&&8!==a&&2!==a)return 1===a&&ve.isXMLDoc(e)||(t=ve.propFix[t]||t,r=ve.propHooks[t]),void 0!==l?r&&"set"in r&&void 0!==(n=r.set(e,l,t))?n:e[t]=l:r&&"get"in r&&null!==(n=r.get(e,t))?n:e[t]},propHooks:{tabIndex:{get:function(e){var t=ve.find.attr(e,"tabindex");return t?parseInt(t,10):St.test(e.nodeName)||Ct.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),he.optSelected||(ve.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),ve.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){ve.propFix[this.toLowerCase()]=this})),ve.fn.extend({addClass:function(e){var t,l,n,r,a,o,i,s=0;if(me(e))return this.each((function(t){ve(this).addClass(e.call(this,t,Y(this)))}));if((t=X(e)).length)for(;l=this[s++];)if(r=Y(l),n=1===l.nodeType&&" "+K(r)+" "){for(o=0;a=t[o++];)n.indexOf(" "+a+" ")<0&&(n+=a+" ");r!==(i=K(n))&&l.setAttribute("class",i)}return this},removeClass:function(e){var t,l,n,r,a,o,i,s=0;if(me(e))return this.each((function(t){ve(this).removeClass(e.call(this,t,Y(this)))}));if(!arguments.length)return this.attr("class","");if((t=X(e)).length)for(;l=this[s++];)if(r=Y(l),n=1===l.nodeType&&" "+K(r)+" "){for(o=0;a=t[o++];)for(;n.indexOf(" "+a+" ")>-1;)n=n.replace(" "+a+" "," ");r!==(i=K(n))&&l.setAttribute("class",i)}return this},toggleClass:function(e,t){var l=typeof e,n="string"===l||Array.isArray(e);return"boolean"===typeof t&&n?t?this.addClass(e):this.removeClass(e):me(e)?this.each((function(l){ve(this).toggleClass(e.call(this,l,Y(this),t),t)})):this.each((function(){var t,r,a,o;if(n)for(r=0,a=ve(this),o=X(e);t=o[r++];)a.hasClass(t)?a.removeClass(t):a.addClass(t);else void 0!==e&&"boolean"!==l||((t=Y(this))&&Le.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||!1===e?"":Le.get(this,"__className__")||""))}))},hasClass:function(e){var t,l,n=0;for(t=" "+e+" ";l=this[n++];)if(1===l.nodeType&&(" "+K(Y(l))+" ").indexOf(t)>-1)return!0;return!1}});var Ot=/\r/g;ve.fn.extend({val:function(e){var t,l,n,r=this[0];return arguments.length?(n=me(e),this.each((function(l){var r;1===this.nodeType&&(null==(r=n?e.call(this,l,ve(this).val()):e)?r="":"number"===typeof r?r+="":Array.isArray(r)&&(r=ve.map(r,(function(e){return null==e?"":e+""}))),(t=ve.valHooks[this.type]||ve.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,r,"value")||(this.value=r))}))):r?(t=ve.valHooks[r.type]||ve.valHooks[r.nodeName.toLowerCase()])&&"get"in t&&void 0!==(l=t.get(r,"value"))?l:"string"===typeof(l=r.value)?l.replace(Ot,""):null==l?"":l:void 0}}),ve.extend({valHooks:{option:{get:function(e){var t=ve.find.attr(e,"value");return null!=t?t:K(ve.text(e))}},select:{get:function(e){var t,l,n,r=e.options,a=e.selectedIndex,o="select-one"===e.type,i=o?null:[],c=o?a+1:r.length;for(n=a<0?c:o?a:0;n-1)&&(l=!0);return l||(e.selectedIndex=-1),a}}}}),ve.each(["radio","checkbox"],(function(){ve.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=ve.inArray(ve(e).val(),t)>-1}},he.checkOn||(ve.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})})),he.focusin="onfocusin"in l;var Mt=/^(?:focusinfocus|focusoutblur)$/,_t=function(e){e.stopPropagation()};ve.extend(ve.event,{trigger:function(e,t,n,r){var a,o,i,s,c,u,d,f,p=[n||ne],h=de.call(e,"type")?e.type:e,m=de.call(e,"namespace")?e.namespace.split("."):[];if(o=f=i=n=n||ne,3!==n.nodeType&&8!==n.nodeType&&!Mt.test(h+ve.event.triggered)&&(h.indexOf(".")>-1&&(m=h.split("."),h=m.shift(),m.sort()),c=h.indexOf(":")<0&&"on"+h,(e=e[ve.expando]?e:new ve.Event(h,"object"===typeof e&&e)).isTrigger=r?2:3,e.namespace=m.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+m.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=null==t?[e]:ve.makeArray(t,[e]),d=ve.event.special[h]||{},r||!d.trigger||!1!==d.trigger.apply(n,t))){if(!r&&!d.noBubble&&!ge(n)){for(s=d.delegateType||h,Mt.test(s+h)||(o=o.parentNode);o;o=o.parentNode)p.push(o),i=o;i===(n.ownerDocument||ne)&&p.push(i.defaultView||i.parentWindow||l)}for(a=0;(o=p[a++])&&!e.isPropagationStopped();)f=o,e.type=a>1?s:d.bindType||h,(u=(Le.get(o,"events")||{})[e.type]&&Le.get(o,"handle"))&&u.apply(o,t),(u=c&&o[c])&&u.apply&&Ne(o)&&(e.result=u.apply(o,t),!1===e.result&&e.preventDefault());return e.type=h,r||e.isDefaultPrevented()||d._default&&!1!==d._default.apply(p.pop(),t)||!Ne(n)||c&&me(n[h])&&!ge(n)&&((i=n[c])&&(n[c]=null),ve.event.triggered=h,e.isPropagationStopped()&&f.addEventListener(h,_t),n[h](),e.isPropagationStopped()&&f.removeEventListener(h,_t),ve.event.triggered=void 0,i&&(n[c]=i)),e.result}},simulate:function(e,t,l){var n=ve.extend(new ve.Event,l,{type:e,isSimulated:!0});ve.event.trigger(n,null,t)}}),ve.fn.extend({trigger:function(e,t){return this.each((function(){ve.event.trigger(e,t,this)}))},triggerHandler:function(e,t){var l=this[0];if(l)return ve.event.trigger(e,t,l,!0)}}),he.focusin||ve.each({focus:"focusin",blur:"focusout"},(function(e,t){var l=function(e){ve.event.simulate(t,e.target,ve.event.fix(e))};ve.event.special[t]={setup:function(){var n=this.ownerDocument||this,r=Le.access(n,t);r||n.addEventListener(e,l,!0),Le.access(n,t,(r||0)+1)},teardown:function(){var n=this.ownerDocument||this,r=Le.access(n,t)-1;r?Le.access(n,t,r):(n.removeEventListener(e,l,!0),Le.remove(n,t))}}}));var Et=l.location,Pt=Date.now(),At=/\?/;ve.parseXML=function(e){var t;if(!e||"string"!==typeof e)return null;try{t=(new l.DOMParser).parseFromString(e,"text/xml")}catch(e){t=void 0}return t&&!t.getElementsByTagName("parsererror").length||ve.error("Invalid XML: "+e),t};var Tt=/\[\]$/,jt=/\r?\n/g,Dt=/^(?:submit|button|image|reset|file)$/i,It=/^(?:input|select|textarea|keygen)/i;ve.param=function(e,t){var l,n=[],r=function(e,t){var l=me(t)?t():t;n[n.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==l?"":l)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!ve.isPlainObject(e))ve.each(e,(function(){r(this.name,this.value)}));else for(l in e)J(l,e[l],t,r);return n.join("&")},ve.fn.extend({serialize:function(){return ve.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var e=ve.prop(this,"elements");return e?ve.makeArray(e):this})).filter((function(){var e=this.type;return this.name&&!ve(this).is(":disabled")&&It.test(this.nodeName)&&!Dt.test(e)&&(this.checked||!Ke.test(e))})).map((function(e,t){var l=ve(this).val();return null==l?null:Array.isArray(l)?ve.map(l,(function(e){return{name:t.name,value:e.replace(jt,"\r\n")}})):{name:t.name,value:l.replace(jt,"\r\n")}})).get()}});var Nt=/%20/g,Lt=/#.*$/,Rt=/([?&])_=[^&]*/,Bt=/^(.*?):[ \t]*([^\r\n]*)$/gm,Ft=/^(?:GET|HEAD)$/,zt=/^\/\//,Ut={},Ht={},Vt="*/".concat("*"),Wt=ne.createElement("a");Wt.href=Et.href,ve.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Et.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Et.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Vt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":ve.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?te(te(e,ve.ajaxSettings),t):te(ve.ajaxSettings,e)},ajaxPrefilter:Q(Ut),ajaxTransport:Q(Ht),ajax:function(e,t){function n(e,t,n,i){var c,f,p,w,x,k=t;u||(u=!0,s&&l.clearTimeout(s),r=void 0,o=i||"",S.readyState=e>0?4:0,c=e>=200&&e<300||304===e,n&&(w=function(e,t,l){for(var n,r,a,o,i=e.contents,s=e.dataTypes;"*"===s[0];)s.shift(),void 0===n&&(n=e.mimeType||t.getResponseHeader("Content-Type"));if(n)for(r in i)if(i[r]&&i[r].test(n)){s.unshift(r);break}if(s[0]in l)a=s[0];else{for(r in l){if(!s[0]||e.converters[r+" "+s[0]]){a=r;break}o||(o=r)}a=a||o}if(a)return a!==s[0]&&s.unshift(a),l[a]}(h,S,n)),w=function(e,t,l,n){var r,a,o,i,s,c={},u=e.dataTypes.slice();if(u[1])for(o in e.converters)c[o.toLowerCase()]=e.converters[o];for(a=u.shift();a;)if(e.responseFields[a]&&(l[e.responseFields[a]]=t),!s&&n&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),s=a,a=u.shift())if("*"===a)a=s;else if("*"!==s&&s!==a){if(!(o=c[s+" "+a]||c["* "+a]))for(r in c)if((i=r.split(" "))[1]===a&&(o=c[s+" "+i[0]]||c["* "+i[0]])){!0===o?o=c[r]:!0!==c[r]&&(a=i[0],u.unshift(i[1]));break}if(!0!==o)if(o&&e.throws)t=o(t);else try{t=o(t)}catch(e){return{state:"parsererror",error:o?e:"No conversion from "+s+" to "+a}}}return{state:"success",data:t}}(h,w,S,c),c?(h.ifModified&&((x=S.getResponseHeader("Last-Modified"))&&(ve.lastModified[a]=x),(x=S.getResponseHeader("etag"))&&(ve.etag[a]=x)),204===e||"HEAD"===h.type?k="nocontent":304===e?k="notmodified":(k=w.state,f=w.data,c=!(p=w.error))):(p=k,!e&&k||(k="error",e<0&&(e=0))),S.status=e,S.statusText=(t||k)+"",c?y.resolveWith(m,[f,k,S]):y.rejectWith(m,[S,k,p]),S.statusCode(b),b=void 0,d&&g.trigger(c?"ajaxSuccess":"ajaxError",[S,h,c?f:p]),v.fireWith(m,[S,k]),d&&(g.trigger("ajaxComplete",[S,h]),--ve.active||ve.event.trigger("ajaxStop")))}"object"===typeof e&&(t=e,e=void 0),t=t||{};var r,a,o,i,s,c,u,d,f,p,h=ve.ajaxSetup({},t),m=h.context||h,g=h.context&&(m.nodeType||m.jquery)?ve(m):ve.event,y=ve.Deferred(),v=ve.Callbacks("once memory"),b=h.statusCode||{},w={},x={},k="canceled",S={readyState:0,getResponseHeader:function(e){var t;if(u){if(!i)for(i={};t=Bt.exec(o);)i[t[1].toLowerCase()+" "]=(i[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=i[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return u?o:null},setRequestHeader:function(e,t){return null==u&&(e=x[e.toLowerCase()]=x[e.toLowerCase()]||e,w[e]=t),this},overrideMimeType:function(e){return null==u&&(h.mimeType=e),this},statusCode:function(e){var t;if(e)if(u)S.always(e[S.status]);else for(t in e)b[t]=[b[t],e[t]];return this},abort:function(e){var t=e||k;return r&&r.abort(t),n(0,t),this}};if(y.promise(S),h.url=((e||h.url||Et.href)+"").replace(zt,Et.protocol+"//"),h.type=t.method||t.type||h.method||h.type,h.dataTypes=(h.dataType||"*").toLowerCase().match(Pe)||[""],null==h.crossDomain){c=ne.createElement("a");try{c.href=h.url,c.href=c.href,h.crossDomain=Wt.protocol+"//"+Wt.host!==c.protocol+"//"+c.host}catch(e){h.crossDomain=!0}}if(h.data&&h.processData&&"string"!==typeof h.data&&(h.data=ve.param(h.data,h.traditional)),ee(Ut,h,t,S),u)return S;for(f in(d=ve.event&&h.global)&&0===ve.active++&&ve.event.trigger("ajaxStart"),h.type=h.type.toUpperCase(),h.hasContent=!Ft.test(h.type),a=h.url.replace(Lt,""),h.hasContent?h.data&&h.processData&&0===(h.contentType||"").indexOf("application/x-www-form-urlencoded")&&(h.data=h.data.replace(Nt,"+")):(p=h.url.slice(a.length),h.data&&(h.processData||"string"===typeof h.data)&&(a+=(At.test(a)?"&":"?")+h.data,delete h.data),!1===h.cache&&(a=a.replace(Rt,"$1"),p=(At.test(a)?"&":"?")+"_="+Pt+++p),h.url=a+p),h.ifModified&&(ve.lastModified[a]&&S.setRequestHeader("If-Modified-Since",ve.lastModified[a]),ve.etag[a]&&S.setRequestHeader("If-None-Match",ve.etag[a])),(h.data&&h.hasContent&&!1!==h.contentType||t.contentType)&&S.setRequestHeader("Content-Type",h.contentType),S.setRequestHeader("Accept",h.dataTypes[0]&&h.accepts[h.dataTypes[0]]?h.accepts[h.dataTypes[0]]+("*"!==h.dataTypes[0]?", "+Vt+"; q=0.01":""):h.accepts["*"]),h.headers)S.setRequestHeader(f,h.headers[f]);if(h.beforeSend&&(!1===h.beforeSend.call(m,S,h)||u))return S.abort();if(k="abort",v.add(h.complete),S.done(h.success),S.fail(h.error),r=ee(Ht,h,t,S)){if(S.readyState=1,d&&g.trigger("ajaxSend",[S,h]),u)return S;h.async&&h.timeout>0&&(s=l.setTimeout((function(){S.abort("timeout")}),h.timeout));try{u=!1,r.send(w,n)}catch(e){if(u)throw e;n(-1,e)}}else n(-1,"No Transport");return S},getJSON:function(e,t,l){return ve.get(e,t,l,"json")},getScript:function(e,t){return ve.get(e,void 0,t,"script")}}),ve.each(["get","post"],(function(e,t){ve[t]=function(e,l,n,r){return me(l)&&(r=r||n,n=l,l=void 0),ve.ajax(ve.extend({url:e,type:t,dataType:r,data:l,success:n},ve.isPlainObject(e)&&e))}})),ve._evalUrl=function(e,t){return ve.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){ve.globalEval(e,t)}})},ve.fn.extend({wrapAll:function(e){var t;return this[0]&&(me(e)&&(e=e.call(this[0])),t=ve(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map((function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e})).append(this)),this},wrapInner:function(e){return me(e)?this.each((function(t){ve(this).wrapInner(e.call(this,t))})):this.each((function(){var t=ve(this),l=t.contents();l.length?l.wrapAll(e):t.append(e)}))},wrap:function(e){var t=me(e);return this.each((function(l){ve(this).wrapAll(t?e.call(this,l):e)}))},unwrap:function(e){return this.parent(e).not("body").each((function(){ve(this).replaceWith(this.childNodes)})),this}}),ve.expr.pseudos.hidden=function(e){return!ve.expr.pseudos.visible(e)},ve.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},ve.ajaxSettings.xhr=function(){try{return new l.XMLHttpRequest}catch(e){}};var $t={0:200,1223:204},Gt=ve.ajaxSettings.xhr();he.cors=!!Gt&&"withCredentials"in Gt,he.ajax=Gt=!!Gt,ve.ajaxTransport((function(e){var t,n;if(he.cors||Gt&&!e.crossDomain)return{send:function(r,a){var o,i=e.xhr();if(i.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(o in e.xhrFields)i[o]=e.xhrFields[o];for(o in e.mimeType&&i.overrideMimeType&&i.overrideMimeType(e.mimeType),e.crossDomain||r["X-Requested-With"]||(r["X-Requested-With"]="XMLHttpRequest"),r)i.setRequestHeader(o,r[o]);t=function(e){return function(){t&&(t=n=i.onload=i.onerror=i.onabort=i.ontimeout=i.onreadystatechange=null,"abort"===e?i.abort():"error"===e?"number"!==typeof i.status?a(0,"error"):a(i.status,i.statusText):a($t[i.status]||i.status,i.statusText,"text"!==(i.responseType||"text")||"string"!==typeof i.responseText?{binary:i.response}:{text:i.responseText},i.getAllResponseHeaders()))}},i.onload=t(),n=i.onerror=i.ontimeout=t("error"),void 0!==i.onabort?i.onabort=n:i.onreadystatechange=function(){4===i.readyState&&l.setTimeout((function(){t&&n()}))},t=t("abort");try{i.send(e.hasContent&&e.data||null)}catch(e){if(t)throw e}},abort:function(){t&&t()}}})),ve.ajaxPrefilter((function(e){e.crossDomain&&(e.contents.script=!1)})),ve.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return ve.globalEval(e),e}}}),ve.ajaxPrefilter("script",(function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")})),ve.ajaxTransport("script",(function(e){var t,l;if(e.crossDomain||e.scriptAttrs)return{send:function(n,r){t=ve("