/*! For license information please see main.e6c6ddad5fe28649a79a.chunk.js.LICENSE.txt */ (window.webpackJsonp=window.webpackJsonp||[]).push([[0],{0:function(e,t){},"000e687100360508b435":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e){return"@@redux-saga/"+e},l=r("CANCEL_PROMISE"),a=r("CHANNEL_END"),o=r("IO"),i=r("MATCH"),s=r("MULTICAST"),c=r("SAGA_ACTION"),u=r("SELF_CANCELLATION"),d=r("TASK"),f=r("TASK_CANCEL"),p=r("TERMINATE"),h=r("LOCATION");t.CANCEL=l,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,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PhotoshopPicker=void 0;var r=i(n("8af190b70a6bc55c6f1b")),l=i(n("608c27659c3f9bc71af5")),a=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n("dd2851c8aa973ffe308b")),o=n("cdbdceb308980cb97c93");function i(e){return e&&e.__esModule?e:{default:e}}var s=t.PhotoshopPicker=function(e){var t=e.onChange,n=e.rgb,i=e.hsv,s=e.hex,c=(0,l.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,r){e["#"]?a.isValidHex(e["#"])&&t({hex:e["#"],source:"hex"},r):e.r||e.g||e.b?t({r:e.r||n.r,g:e.g||n.g,b:e.b||n.b,source:"rgb"},r):(e.h||e.s||e.v)&&t({h:e.h||i.h,s:e.s||i.s,v:e.v||i.v,source:"hsv"},r)};return r.default.createElement("div",{style:c.fields},r.default.createElement(o.EditableInput,{style:{wrap:c.RGBwrap,input:c.RGBinput,label:c.RGBlabel},label:"h",value:Math.round(i.h),onChange:u}),r.default.createElement(o.EditableInput,{style:{wrap:c.RGBwrap,input:c.RGBinput,label:c.RGBlabel},label:"s",value:Math.round(100*i.s),onChange:u}),r.default.createElement(o.EditableInput,{style:{wrap:c.RGBwrap,input:c.RGBinput,label:c.RGBlabel},label:"v",value:Math.round(100*i.v),onChange:u}),r.default.createElement("div",{style:c.divider}),r.default.createElement(o.EditableInput,{style:{wrap:c.RGBwrap,input:c.RGBinput,label:c.RGBlabel},label:"r",value:n.r,onChange:u}),r.default.createElement(o.EditableInput,{style:{wrap:c.RGBwrap,input:c.RGBinput,label:c.RGBlabel},label:"g",value:n.g,onChange:u}),r.default.createElement(o.EditableInput,{style:{wrap:c.RGBwrap,input:c.RGBinput,label:c.RGBlabel},label:"b",value:n.b,onChange:u}),r.default.createElement("div",{style:c.divider}),r.default.createElement(o.EditableInput,{style:{wrap:c.HEXwrap,input:c.HEXinput,label:c.HEXlabel},label:"#",value:s.replace("#",""),onChange:u}),r.default.createElement("div",{style:c.fieldSymbols},r.default.createElement("div",{style:c.symbol},"\xb0"),r.default.createElement("div",{style:c.symbol},"%"),r.default.createElement("div",{style:c.symbol},"%")))};t.default=s},"00f57ecbb6b5a4cfca6b":function(e,t,n){function r(e){var n;function r(){if(r.enabled){var e=r,l=+new Date,a=l-(n||l);e.diff=a,e.prev=n,e.curr=l,n=l;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 r,l=n("946c421bbd773ef0a0b8"),a=(r=l)&&r.__esModule?r:{default:r};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,n){"use strict";n.r(t);var r=n("98bae3dbabd51089d613"),l=n("8af190b70a6bc55c6f1b");function a(e,t){return"function"===typeof e?e(t):e&&(e.current=t),e}var o="undefined"!==typeof window?l.useLayoutEffect:l.useEffect,i=new WeakMap;function s(e,t){var n,r,s,c=(n=t||null,r=function(t){return e.forEach((function(e){return a(e,t)}))},(s=Object(l.useState)((function(){return{value:n,callback:r,facade:{get current(){return s.value},set current(e){var t=s.value;t!==e&&(s.value=e,s.callback(e,t))}}}}))[0]).callback=r,s.facade);return o((function(){var t=i.get(c);if(t){var n=new Set(t),r=new Set(e),l=c.current;n.forEach((function(e){r.has(e)||a(e,null)})),r.forEach((function(e){n.has(e)||a(e,l)}))}i.set(c,e)}),[e]),c}var c=n("f4049c5ad4b4240097d1"),u=Object(c.createSidecarMedium)(),d=function(){},f=l.forwardRef((function(e,t){var n=l.useRef(null),a=l.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,v=e.sideCar,b=e.noRelative,y=e.noIsolation,w=e.inert,x=e.allowPinchZoom,k=e.as,S=void 0===k?"div":k,C=e.gapMode,O=Object(r.__rest)(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),M=v,_=s([n,t]),E=Object(r.__assign)(Object(r.__assign)({},O),o);return l.createElement(l.Fragment,null,m&&l.createElement(M,{sideCar:u,removeScrollBar:h,shards:g,noRelative:b,noIsolation:y,inert:w,setCallbacks:i,allowPinchZoom:!!x,lockRef:n,gapMode:C}),c?l.cloneElement(l.Children.only(f),Object(r.__assign)(Object(r.__assign)({},E),{ref:_})):l.createElement(S,Object(r.__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=n("2255d654b1a6bb9f1a33");var h=function(){var e=0,t=null;return{add:function(n){var r,l;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}())&&(l=n,(r=t).styleSheet?r.styleSheet.cssText=l:r.appendChild(document.createTextNode(l)),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,n){l.useEffect((function(){return e.add(t),function(){e.remove()}}),[t&&n])});return function(e){var n=e.styles,r=e.dynamic;return t(n,r),null}},g={left:0,top:0,right:0,gap:0},v=function(e){return parseInt(e||"",10)||0},b=function(e){if(void 0===e&&(e="margin"),"undefined"===typeof window)return g;var t=function(e){var t=window.getComputedStyle(document.body),n=t["padding"===e?"paddingLeft":"marginLeft"],r=t["padding"===e?"paddingTop":"marginTop"],l=t["padding"===e?"paddingRight":"marginRight"];return[v(n),v(r),v(l)]}(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},y=m(),w="data-scroll-locked",x=function(e,t,n,r){var l=e.left,a=e.top,o=e.right,i=e.gap;return void 0===n&&(n="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(r,";\n padding-right: ").concat(i,"px ").concat(r,";\n }\n body[").concat(w,"] {\n overflow: hidden ").concat(r,";\n overscroll-behavior: contain;\n ").concat([t&&"position: relative ".concat(r,";"),"margin"===n&&"\n padding-left: ".concat(l,"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(r,";\n "),"padding"===n&&"padding-right: ".concat(i,"px ").concat(r,";")].filter(Boolean).join(""),"\n }\n \n .").concat("right-scroll-bar-position"," {\n right: ").concat(i,"px ").concat(r,";\n }\n \n .").concat("width-before-scroll-bar"," {\n margin-right: ").concat(i,"px ").concat(r,";\n }\n \n .").concat("right-scroll-bar-position"," .").concat("right-scroll-bar-position"," {\n right: 0 ").concat(r,";\n }\n \n .").concat("width-before-scroll-bar"," .").concat("width-before-scroll-bar"," {\n margin-right: 0 ").concat(r,";\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,n=e.noImportant,r=e.gapMode,a=void 0===r?"margin":r;l.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=l.useMemo((function(){return b(a)}),[a]);return l.createElement(y,{styles:x(o,!t,a,n?"":"!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 n=window.getComputedStyle(e);return"hidden"!==n[t]&&!(n.overflowY===n.overflowX&&!function(e){return"TEXTAREA"===e.tagName}(e)&&"visible"===n[t])},E=function(e,t){var n=t.ownerDocument,r=t;do{if("undefined"!==typeof ShadowRoot&&r instanceof ShadowRoot&&(r=r.host),P(e,r)){var l=A(e,r);if(l[1]>l[2])return!0}r=r.parentNode}while(r&&r!==n.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?[(n=t).scrollTop,n.scrollHeight,n.clientHeight]:function(e){return[e.scrollLeft,e.scrollWidth,e.clientWidth]}(t);var n},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},N=function(e){return"\n .block-interactivity-".concat(e," {pointer-events: none;}\n .allow-interactivity-").concat(e," {pointer-events: all;}\n")},I=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=l.useRef([]),n=l.useRef([0,0]),a=l.useRef(),o=l.useState(I++)[0],i=l.useState(m)[0],s=l.useRef(e);l.useEffect((function(){s.current=e}),[e]),l.useEffect((function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var t=Object(r.__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=l.useCallback((function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!s.current.allowPinchZoom;var r,l=T(e),o=n.current,i="deltaX"in e?e.deltaX:o[0]-l[0],c="deltaY"in e?e.deltaY:o[1]-l[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?r=d:(r="v"===d?"h":"v",h=E(d,u)),!h)return!1;if(!a.current&&"changedTouches"in e&&(i||c)&&(a.current=r),!r)return!0;var m=a.current||r;return function(e,t,n,r,l){var a=function(e,t){return"h"===e&&"rtl"===t?-1:1}(e,window.getComputedStyle(t).direction),o=a*r,i=n.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&&(l&&Math.abs(d)<1||!l&&o>d)||!u&&(l&&Math.abs(f)<1||!l&&-o>f))&&(c=!0),c}(m,t,e,"h"===m?i:c,!0)}),[]),u=l.useCallback((function(e){var n=e;if(L.length&&L[L.length-1]===i){var r="deltaY"in n?j(n):T(n),l=t.current.filter((function(e){return e.name===n.type&&(e.target===n.target||n.target===e.shadowParent)&&(t=e.delta,l=r,t[0]===l[0]&&t[1]===l[1]);var t,l}))[0];if(l&&l.should)n.cancelable&&n.preventDefault();else if(!l){var a=(s.current.shards||[]).map(D).filter(Boolean).filter((function(e){return e.contains(n.target)}));(a.length>0?c(n,a[0]):!s.current.noIsolation)&&n.cancelable&&n.preventDefault()}}}),[]),d=l.useCallback((function(e,n,r,l){var a={name:e,delta:n,target:r,should:l,shadowParent:R(r)};t.current.push(a),setTimeout((function(){t.current=t.current.filter((function(e){return e!==a}))}),1)}),[]),f=l.useCallback((function(e){n.current=T(e),a.current=void 0}),[]),p=l.useCallback((function(t){d(t.type,j(t),t.target,c(t,e.lockRef.current))}),[]),h=l.useCallback((function(t){d(t.type,T(t),t.target,c(t,e.lockRef.current))}),[]);l.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,v=e.inert;return l.createElement(l.Fragment,null,v?l.createElement(i,{styles:N(o)}):null,g?l.createElement(S,{noRelative:e.noRelative,gapMode:e.gapMode}):null)})),F=l.forwardRef((function(e,t){return l.createElement(f,Object(r.__assign)({},e,{ref:t,sideCar:B}))}));F.classNames=f.classNames;var z=F;n.d(t,"RemoveScroll",(function(){return z}))},"021c21eea8a24c5dfc4e":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,l,a=i(n("ef9b7114accb11c5822b")),o=i(n("e130b6eb98e4dd103350"));function i(e){return e&&e.__esModule?e:{default:e}}var s=0,c=0;var u=function(e,t,n){var i=t&&n||0,u=t||[],d=(e=e||{}).node||r,f=void 0!==e.clockseq?e.clockseq:l;if(null==d||null==f){var p=e.random||(e.rng||a.default)();null==d&&(d=r=[1|p[0],p[1],p[2],p[3],p[4],p[5]]),null==f&&(f=l=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,l=f;var v=(1e4*(268435455&(h+=122192928e5))+m)%4294967296;u[i++]=v>>>24&255,u[i++]=v>>>16&255,u[i++]=v>>>8&255,u[i++]=255&v;var b=h/4294967296*1e4&268435455;u[i++]=b>>>8&255,u[i++]=255&b,u[i++]=b>>>24&15|16,u[i++]=b>>>16&255,u[i++]=f>>>8|128,u[i++]=255&f;for(var y=0;y<6;++y)u[i+y]=d[y];return t||(0,o.default)(u)};t.default=u,e.exports=t.default},"026fa72aba871a7fa9f3":function(e,t,n){"use strict";var r=n("8e6d34d5e2b1c9c449c0");t.__esModule=!0,t.default=void 0;var l=r(n("2c62cf50f9b98ad5e2af")),a=r(n("84ed169f5b76a6b15fc0")),o=r(n("b912ecc4473ae8a2ff0b")),i=r(n("8af190b70a6bc55c6f1b")),s=n("de45080f617146192f27"),c=["bsPrefix","fluid","as","className"],u=i.default.forwardRef((function(e,t){var n=e.bsPrefix,r=e.fluid,u=e.as,d=void 0===u?"div":u,f=e.className,p=(0,a.default)(e,c),h=(0,s.useBootstrapPrefix)(n,"container"),m="string"===typeof r?"-"+r:"-fluid";return i.default.createElement(d,(0,l.default)({ref:t},p,{className:(0,o.default)(f,r?""+h+m:h)}))}));u.displayName="Container",u.defaultProps={fluid:!1};var d=u;t.default=d,e.exports=t.default},"029a2d7b698f7b3be616":function(e,t,n){e.exports=n("b9a1d5941fc03465628f")()},"02a648851faf9f3e7366":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ColorWrap=void 0;var r=Object.assign||function(e){for(var t=1;t{const n="function"===typeof e?e():e;return n.addEventListener(t,o,r),()=>n.removeEventListener(t,o,r)},[e])};var r,l=n("8af190b70a6bc55c6f1b"),a=(r=n("976c83b14986293285d6"))&&r.__esModule?r:{default:r}},"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,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PhotoshopPointerCircle=void 0;var r=a(n("8af190b70a6bc55c6f1b")),l=a(n("608c27659c3f9bc71af5"));function a(e){return e&&e.__esModule?e:{default:e}}var o=t.PhotoshopPointerCircle=function(){var e=(0,l.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 r.default.createElement("div",{style:e.pointer},r.default.createElement("div",{style:e.left},r.default.createElement("div",{style:e.leftInside})),r.default.createElement("div",{style:e.right},r.default.createElement("div",{style:e.rightInside})))};t.default=o},"04971d54099dfd1748a4":function(e,t,n){"use strict";function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,l,a,o,i=[],s=!0,c=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=a.call(n)).done)&&(i.push(r.value),i.length!==t);s=!0);}catch(e){c=!0,l=e}finally{try{if(!s&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw l}}return i}}(e,t)||l(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 l(e,t){if(e){if("string"==typeof e)return a(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?a(e,t):void 0}}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n=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(){n=n.call(e)},n:function(){var e=n.next();return i=e.done,e},e:function(e){s=!0,o=e},f:function(){try{i||null==n.return||n.return()}finally{if(s)throw o}}}}(d(t));try{var s=function(){var l=a.value;p.call(e,l)||l===n||c(e,l,{get:function(){return t[l]},enumerable:!(r=u(t,l))||r.enumerable})};for(i.s();!(a=i.n()).done;)s()}catch(e){i.e(e)}finally{i.f()}}return e},m=function(e,t,n){return n=null!=e?s(f(e)):{},h(!t&&e&&e.__esModule?n:c(n,"default",{value:e,enumerable:!0}),e)},g={};!function(e,t){for(var n in t)c(e,n,{get:t[n],enumerable:!0})}(g,{Presence:function(){return x},Root:function(){return S}}),e.exports=(i=g,h(c({},"__esModule",{value:!0}),i));var v=m(n("8af190b70a6bc55c6f1b")),b=n("99cbd339fcb61a1e941e"),y=n("648137dd78243ecf2736"),w=m(n("8af190b70a6bc55c6f1b"));var x=function(e){var t=e.present,n=e.children,l=function(e){var t=r(v.useState(),2),n=t[0],l=t[1],a=v.useRef(null),o=v.useRef(e),i=v.useRef("none"),s=r(function(e,t){return w.useReducer((function(e,n){var r=t[e][n];return null!==r&&void 0!==r?r: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 v.useEffect((function(){var e=k(a.current);i.current="mounted"===c?e:"none"}),[c]),(0,y.useLayoutEffect)((function(){var t=a.current,n=o.current;if(n!==e){var r=i.current,l=k(t);if(e)u("MOUNT");else if("none"===l||"none"===(null===t||void 0===t?void 0:t.display))u("UNMOUNT");else{u(n&&r!==l?"ANIMATION_OUT":"UNMOUNT")}o.current=e}}),[e,u]),(0,y.useLayoutEffect)((function(){if(n){var e,t,r=null!==(e=n.ownerDocument.defaultView)&&void 0!==e?e:window,l=function(e){var l=k(a.current).includes(CSS.escape(e.animationName));if(e.target===n&&l&&(u("ANIMATION_END"),!o.current)){var i=n.style.animationFillMode;n.style.animationFillMode="forwards",t=r.setTimeout((function(){"forwards"===n.style.animationFillMode&&(n.style.animationFillMode=i)}))}},s=function(e){e.target===n&&(i.current=k(a.current))};return n.addEventListener("animationstart",s),n.addEventListener("animationcancel",l),n.addEventListener("animationend",l),function(){r.clearTimeout(t),n.removeEventListener("animationstart",s),n.removeEventListener("animationcancel",l),n.removeEventListener("animationend",l)}}u("ANIMATION_END")}),[n,u]),{isPresent:["mounted","unmountSuspended"].includes(c),ref:v.useCallback((function(e){a.current=e?getComputedStyle(e):null,l(e)}),[])}}(t),a="function"===typeof n?n({present:l.isPresent}):v.Children.only(n),o=(0,b.useComposedRefs)(l.ref,function(e){var t,n,r=null===(t=Object.getOwnPropertyDescriptor(e.props,"ref"))||void 0===t?void 0:t.get,l=r&&"isReactWarning"in r&&r.isReactWarning;if(l)return e.ref;if(r=null===(n=Object.getOwnPropertyDescriptor(e,"ref"))||void 0===n?void 0:n.get,l=r&&"isReactWarning"in r&&r.isReactWarning)return e.props.ref;return e.props.ref||e.ref}(a));return"function"===typeof n||l.isPresent?v.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,n){"use strict";function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,l,a,o,i=[],s=!0,c=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=a.call(n)).done)&&(i.push(r.value),i.length!==t);s=!0);}catch(e){c=!0,l=e}finally{try{if(!s&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw l}}return i}}(e,t)||l(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 l(e,t){if(e){if("string"==typeof e)return a(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?a(e,t):void 0}}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n=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(){n=n.call(e)},n:function(){var e=n.next();return i=e.done,e},e:function(e){s=!0,o=e},f:function(){try{i||null==n.return||n.return()}finally{if(s)throw o}}}}(d(t));try{var s=function(){var l=a.value;p.call(e,l)||l===n||c(e,l,{get:function(){return t[l]},enumerable:!(r=u(t,l))||r.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 n in t)c(e,n,{get:t[n],enumerable:!0})}(m,{useSize:function(){return b}}),e.exports=(i=m,h(c({},"__esModule",{value:!0}),i));var g=function(e,t,n){return n=null!=e?s(f(e)):{},h(!t&&e&&e.__esModule?n:c(n,"default",{value:e,enumerable:!0}),e)}(n("8af190b70a6bc55c6f1b")),v=n("648137dd78243ecf2736");function b(e){var t=r(g.useState(void 0),2),n=t[0],l=t[1];return(0,v.useLayoutEffect)((function(){if(e){l({width:e.offsetWidth,height:e.offsetHeight});var t=new ResizeObserver((function(t){if(Array.isArray(t)&&t.length){var n,r,a=t[0];if("borderBoxSize"in a){var o=a.borderBoxSize,i=Array.isArray(o)?o[0]:o;n=i.inlineSize,r=i.blockSize}else n=e.offsetWidth,r=e.offsetHeight;l({width:n,height:r})}}));return t.observe(e,{box:"border-box"}),function(){return t.unobserve(e)}}l(void 0)}),[e]),n}},"04b48582e102cd179009":function(e,t,n){"use strict";var r=n("8e6d34d5e2b1c9c449c0");t.__esModule=!0,t.default=function(e,t){return e;var n=(0,l.useCallback)((function(e){null!=e&&e.isReactComponent&&invariant(!1)}),[t]);return(0,a.default)(n,e)};r(n("6a4f9c383785f9168266"));var l=n("8af190b70a6bc55c6f1b"),a=r(n("d0c7e0066872e4e40b2c"));e.exports=t.default},"04d132165fb91c5cb35b":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TimeSelect24h=function({label:e,value:t,onChange:n,className:c,labelClassName:u,disabled:d}){const{hour:f,minute:p}=function(e){const[t,n]=(e||"00:00").split(":"),r=parseInt(t||"0",10),l=parseInt(n||"0",10);return{hour:Number.isFinite(r)?Math.max(0,Math.min(23,r)):0,minute:Number.isFinite(l)?Math.max(0,Math.min(59,l)):0}}(t);return r.createElement("div",{className:(0,l.cn)("flex! flex-col!",c)},r.createElement("label",{className:u},e),r.createElement("div",{className:"grid! grid-cols-[minmax(0,1fr)_auto_minmax(0,1fr)]! items-center! gap-1.5!"},r.createElement("select",{"aria-label":e+" hour",className:(0,l.cn)(a.INPUT_BASE_MODAL,"px-1.5! text-center! min-w-0!"),value:f,disabled:d,onChange:e=>{return t=parseInt(e.target.value,10),void n(`${s(t)}:${s(p)}`);var t}},o.map(e=>r.createElement("option",{key:e,value:e},s(e)))),r.createElement("span",{className:"text-[16px]! font-semibold! text-text-dim! leading-none!"},":"),r.createElement("select",{"aria-label":e+" minute",className:(0,l.cn)(a.INPUT_BASE_MODAL,"px-1.5! text-center! min-w-0!"),value:p,disabled:d,onChange:e=>{return t=parseInt(e.target.value,10),void n(`${s(f)}:${s(t)}`);var t}},i.map(e=>r.createElement("option",{key:e,value:e},s(e))))))};const r=n("8af190b70a6bc55c6f1b"),l=n("486df73e776ca2f8b99b"),a=n("fe2271b04a464f3f88cf"),o=Array.from({length:24},(e,t)=>t),i=Array.from({length:60},(e,t)=>t);function s(e){return String(e).padStart(2,"0")}},"04d6e2d4983bf78bb6b9":function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e,t){return r(e.querySelectorAll(t))};var r=Function.prototype.bind.call(Function.prototype.call,[].slice);e.exports=t.default},"04e4d2208e59011a2c20":function(e,t,n){e.exports=function(){"use strict";function e(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function t(t){for(var n=1;n0&&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 v(e,t){for(var n=[],r=new Uint8Array(e);r.length>0;)n.push(m.apply(null,f(r.subarray(0,8192)))),r=r.subarray(8192);return"data:".concat(t,";base64,").concat(g(n.join("")))}function b(e){var t,n=new DataView(e);try{var r,l,a;if(255===n.getUint8(0)&&216===n.getUint8(1))for(var o=n.byteLength,i=2;i+1=8&&(a=s+u)}}}if(a){var d,f,p=n.getUint16(a,r);for(f=0;f1&&void 0!==arguments[1]?arguments[1]:1e11;return y.test(e)?Math.round(e*t)/t:e}function x(e){var t=e.aspectRatio,n=e.height,r=e.width,l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"none",a=u(r),o=u(n);if(a&&o){var i=n*t;("contain"===l||"none"===l)&&i>r||"cover"===l&&i1&&l(o,function(e){var t=0,n=1,r=1;switch(e){case 2:n=-1;break;case 3:t=-180;break;case 4:r=-1;break;case 5:t=90,r=-1;break;case 6:t=90;break;case 7:t=90,n=-1;break;case 8:t=-90}return{rotate:t,scaleX:n,scaleY:r}}(c)),s&&(e.exif=function(e){for(var t=f(new Uint8Array(e)),n=t.length,r=[],l=0;l+31?v(r,a):C.createObjectURL(t):r,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 n=this,r=this.file,l=this.image;l.onload=function(){n.draw(t(t({},e),{},{naturalWidth:l.naturalWidth,naturalHeight:l.naturalHeight}))},l.onabort=function(){n.fail(new Error("Aborted to load the image."))},l.onerror=function(){n.fail(new Error("Failed to load the image."))},c.navigator&&/(?:iPad|iPhone|iPod).*?AppleWebKit/i.test(c.navigator.userAgent)&&(l.crossOrigin="anonymous"),l.alt=r.name,l.src=e.url}},{key:"draw",value:function(e){var t=this,n=e.naturalWidth,r=e.naturalHeight,l=e.rotate,a=void 0===l?0:l,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,b=document.createElement("canvas"),y=b.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=n/r,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 N=[T,A];A=N[0],T=N[1]}C&&(P=A/T);var I=x({aspectRatio:P,width:O,height:M},"contain");O=I.width,M=I.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?n:F;var z=B.height;T=void 0===z?r:z}var U=-(A=Math.floor(w(Math.min(Math.max(A,_),O))))/2,V=-(T=Math.floor(w(Math.min(Math.max(T,E),M))))/2,H=A,W=T,q=[];if(C){var G,$,Z,K,Y=x({aspectRatio:P,width:n,height:r},{contain:"cover",cover:"contain"}[g.resize]);Z=Y.width,K=Y.height,G=(n-Z)/2,$=(r-K)/2,q.push(G,$,Z,K)}if(q.push(U,V,H,W),k){var X=[T,A];A=X[0],T=X[1]}b.width=A,b.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"),y.fillStyle=J,y.fillRect(0,0,A,T),g.beforeDraw&&g.beforeDraw.call(this,y,b),!this.aborted&&(y.save(),y.translate(A/2,T/2),y.rotate(a*Math.PI/180),y.scale(s,d),y.drawImage.apply(y,[m].concat(q)),y.restore(),g.drew&&g.drew.call(this,y,b),!this.aborted)){var ee=function(e){if(!t.aborted){var l=function(e){return t.done({naturalWidth:n,naturalHeight:r,result:e})};if(e&&Q&&g.retainExif&&t.exif&&t.exif.length>0){var a=function(e){return l(i(v(function(e,t){var n=f(new Uint8Array(e));if(255!==n[2]||224!==n[3])return e;var r=256*n[4]+n[5],l=[255,216].concat(t,n.slice(4+r));return new Uint8Array(l)}(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 l(e)}};b.toBlob?b.toBlob(ee,g.mimeType,g.quality):ee(i(b.toDataURL(g.mimeType,g.quality)))}}},{key:"done",value:function(e){var t,n,r=e.naturalWidth,l=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>r||s.height>l||s.minWidth>r||s.minHeight>l||s.maxWidth0?r:n)(e)}},"05076d5e3633e7d9df4d":function(e,t,n){"use strict";var r=n("8e6d34d5e2b1c9c449c0");t.__esModule=!0,t.default=function(e,t){var n=(0,l.default)(e);return n?n.innerWidth:t?e.clientWidth:(0,a.default)(e).width};var l=r(n("0ef2d2bcfd2f568d82ae")),a=r(n("af65ea87a4ca3f13be35"));e.exports=t.default},"052b60f51ae6da363115":function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=n("db86d8470315e76725af"),l=/^\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 r.__assign(r.__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,n=0;e&&("number"===typeof e.framesToPop?n=e.framesToPop:c.test(e.message)&&(n=1));try{if(t=function(e){if(!e||!e.stacktrace)return null;for(var t,n=e.stacktrace,r=/ line (\d+).*script (?:in )?(\S+)(?:: in function (\S+))?$/i,l=/ line (\d+), column (\d+)\s*(?:in (?:]+)>|([^)]+))\((.*)\))? in (.*):\s*$/i,a=n.split("\n"),o=[],i=0;i eval")>-1&&(t=i.exec(n[3]))?(n[1]=n[1]||"eval",n[3]=t[1],n[4]=t[2],n[5]=""):0!==f||n[5]||void 0===e.columnNumber||(c[0].column=e.columnNumber+1),r={url:n[3],func:n[1]||"?",args:n[2]?n[2].split(","):[],line:n[4]?+n[4]:null,column:n[5]?+n[5]:null}}!r.func&&r.line&&(r.func="?"),c.push(r)}if(!c.length)return null;return{message:d(e),name:e.name,stack:c}}(e))return u(t,n)}catch(e){}return{message:d(e),name:e&&e.name,stack:[],failed:!0}}},"0610821415057bf7a005":function(e,t,n){"use strict";var r=n("8e6d34d5e2b1c9c449c0");t.__esModule=!0,t.default=t.onceSupported=t.optionsSupported=void 0;var l=r(n("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}};l.default&&(window.addEventListener("test",i,i),window.removeEventListener("test",i,!0))}catch(e){}var s=function(e,t,n,r){if(r&&"boolean"!==typeof r&&!o){var l=r.once,i=r.capture,s=n;!o&&l&&(s=n.__once||function e(r){this.removeEventListener(t,e,i),n.call(this,r)},n.__once=s),e.addEventListener(t,s,a?r:i)}e.addEventListener(t,n,r)};t.default=s},"06fdc6612000b1e70f3d":function(e,t,n){"use strict";var r=n("8e6d34d5e2b1c9c449c0");t.__esModule=!0,t.map=function(e,t){var n=0;return l.default.Children.map(e,(function(e){return l.default.isValidElement(e)?t(e,n++):e}))},t.forEach=function(e,t){var n=0;l.default.Children.forEach(e,(function(e){l.default.isValidElement(e)&&t(e,n++)}))};var l=r(n("8af190b70a6bc55c6f1b"))},"07899052b6ad9ac5b1fa":function(e,t,n){"use strict";var r=n("1c3db079b29f5367242a");function l(){}function a(){}a.resetWarningCache=l,e.exports=function(){function e(e,t,n,l,a,o){if(o!==r){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 n={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:l};return n.PropTypes=n,n}},"079a8f9f9a11e5abd794":function(e,t,n){var r=n("9c055a37695b454dd210");"string"===typeof r&&(r=[[e.i,r,""]]);var l={hmr:!0,transform:void 0,insertInto:void 0};n("1e4534d1d62a11482e97")(r,l);r.locals&&(e.exports=r.locals)},"085535a1e09c30d8db5e":function(e,t,n){"use strict";var r=n("8e6d34d5e2b1c9c449c0");t.__esModule=!0,t.default=t.ReactReduxContext=void 0;var l=r(n("8af190b70a6bc55c6f1b")).default.createContext(null);t.ReactReduxContext=l;var a=l;t.default=a},"08f089f2ae3de5523500":function(e,t,n){"use strict";var r=n("8e6d34d5e2b1c9c449c0");t.__esModule=!0,t.default=void 0;var l=(0,r(n("10fa21b44717d82288e9")).default)("carousel-caption");t.default=l,e.exports=t.default},"09689132863af87e59e1":function(e,t,n){var r=n("a1585b80eeeca030383b");"string"===typeof r&&(r=[[e.i,r,""]]);var l={hmr:!0,transform:void 0,insertInto:void 0};n("1e4534d1d62a11482e97")(r,l);r.locals&&(e.exports=r.locals)},"09800db97cfafd52530f":function(e,t,n){"use strict";var r=n("8e6d34d5e2b1c9c449c0");t.__esModule=!0,t.default=void 0;var l=r(n("2c62cf50f9b98ad5e2af")),a=r(n("84ed169f5b76a6b15fc0")),o=r(n("b912ecc4473ae8a2ff0b")),i=r(n("8af190b70a6bc55c6f1b")),s=n("de45080f617146192f27"),c=["as","bsPrefix","children","className"],u=i.default.forwardRef((function(e,t){var n=e.as,r=void 0===n?"div":n,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(r,(0,l.default)({ref:t},p,{className:h}),d)}));u.displayName="CarouselItem";var d=u;t.default=d,e.exports=t.default},"09b2597701fdebc2702d":function(e,t,n){"use strict";var r,l=n("0ef7089d7aa482a1e9ea"),a=n("cb1dc2f1b0e48e5476a6")(),o=n("1ea92141d63d9b32569f"),i=n("5ac538617d9f5f8a7b04");if(a){var s=l("RegExp.prototype.exec"),c={},u=function(){throw c},d={toString:u,valueOf:u};"symbol"===typeof Symbol.toPrimitive&&(d[Symbol.toPrimitive]=u),r=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=l("Object.prototype.toString");r=function(e){return!(!e||"object"!==typeof e&&"function"!==typeof e)&&"[object RegExp]"===f(e)}}e.exports=r},"09df9fbaa379fb5af7a2":function(e,t,n){e.exports=n("c1032c1a9ba290409b15")()},"09e3cb8c466f0d61a74c":function(e,t,n){"use strict";var r=n("8e6d34d5e2b1c9c449c0");t.__esModule=!0,t.default=void 0;var l=r(n("2c62cf50f9b98ad5e2af")),a=r(n("84ed169f5b76a6b15fc0")),o=r(n("8af190b70a6bc55c6f1b")),i=r(n("1071238d53a57e392963")),s=n("de45080f617146192f27"),c=r(n("ffb31eae7b0bff144515")),u=["children","bsPrefix"],d=o.default.forwardRef((function(e,t){var n=e.children,r=e.bsPrefix,d=(0,a.default)(e,u);return r=(0,s.useBootstrapPrefix)(r,"navbar-collapse"),o.default.createElement(c.default.Consumer,null,(function(e){return o.default.createElement(i.default,(0,l.default)({in:!(!e||!e.expanded)},d),o.default.createElement("div",{ref:t,className:r},n))}))}));d.displayName="NavbarCollapse";var f=d;t.default=f,e.exports=t.default},"0a059c115e29cfe72a82":function(e,t,n){"use strict";var r=n("8e6d34d5e2b1c9c449c0");t.__esModule=!0,t.default=void 0;var l=r(n("2c62cf50f9b98ad5e2af")),a=r(n("84ed169f5b76a6b15fc0")),o=r(n("b912ecc4473ae8a2ff0b")),i=m(n("8af190b70a6bc55c6f1b")),s=n("de45080f617146192f27"),c=r(n("85686cb433cd9022c6c0")),u=m(n("8091d4c30d49f465376d")),d=r(n("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,n=new WeakMap;return(h=function(e){return e?n: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 n=h(t);if(n&&n.has(e))return n.get(e);var r={},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var o=l?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(r,a,o):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}var g=i.default.forwardRef((function(e,t){var n=function(e){var t=(0,i.useContext)(c.default);if(!t)return e;var n=t.activeKey,r=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,l.default)({},e,{active:null==e.active&&null!=h?(0,u.makeEventKey)(n)===h:e.active,id:r(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),r=n.bsPrefix,h=n.className,m=n.active,g=n.onEnter,v=n.onEntering,b=n.onEntered,y=n.onExit,w=n.onExiting,x=n.onExited,k=n.mountOnEnter,S=n.unmountOnExit,C=n.transition,O=n.as,M=void 0===O?"div":O,_=(n.eventKey,(0,a.default)(n,p)),E=(0,s.useBootstrapPrefix)(r,"tab-pane");if(!m&&!C&&S)return null;var P=i.default.createElement(M,(0,l.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:v,onEntered:b,onExit:y,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 v=g;t.default=v,e.exports=t.default},"0a9936ebdb71a791edd8":function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=n("db86d8470315e76725af"),l=n("bc9d99ff713fa8e834f8"),a=n("6b00f1d7fb6bde96d1bc"),o=n("9c37e652710639934358"),i=a.getGlobalObject(),s=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r.__extends(t,e),t.prototype.sendEvent=function(e){return this._sendRequest(l.eventToSentryRequest(e,this._api),e)},t.prototype.sendSession=function(e){return this._sendRequest(l.sessionToSentryRequest(e,this._api),e)},t.prototype._sendRequest=function(e,t){var n=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 r={body:e.body,method:"POST",referrerPolicy:a.supportsReferrerPolicy()?"origin":""};return void 0!==this.options.fetchParameters&&Object.assign(r,this.options.fetchParameters),void 0!==this.options.headers&&(r.headers=this.options.headers),this._buffer.add(new a.SyncPromise((function(t,l){i.fetch(e.url,r).then((function(r){var a={"x-sentry-rate-limits":r.headers.get("X-Sentry-Rate-Limits"),"retry-after":r.headers.get("Retry-After")};n._handleResponse({requestType:e.type,response:r,headers:a,resolve:t,reject:l})})).catch(l)})))},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 n=t.protocol+"//"+t.host,r=n+t.pathname.replace(/\/[^\/]*$/,"/");return e.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,(function(e,t){var l,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:(l=0===a.indexOf("//")?a:0===a.indexOf("/")?n+a:r+a.replace(/^\.\//,""),"url("+JSON.stringify(l)+")")}))}},"0aca0f0e7b7b05bdb76c":function(e,t,n){var r;!function(l){"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 v(e,t){var n,r,l,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,l=t.e,c=c.slice(),a=o-l){for(a<0?(r=c,a=-a,s=u.length):(r=u,l=o,s=c.length),a>(s=(o=Math.ceil(f/7))>s?o+1:s+1)&&(a=s,r.length=1),r.reverse();a--;)r.push(0);r.reverse()}for((s=c.length)-(a=u.length)<0&&(a=s,r=u,u=c,c=r),n=0;a;)n=(c[--a]=c[a]+u[a]+n)/h|0,c[a]%=h;for(n&&(c.unshift(n),++l),s=c.length;0==c[--s];)c.pop();return t.d=c,t.e=l,i?_(t,f):t}function b(e,t,n){if(e!==~~e||en)throw Error(c+e)}function y(e){var t,n,r,l=e.length-1,a="",o=e[0];if(l>0){for(a+=o,t=1;te.e^a.s<0?1:-1;for(t=0,n=(r=a.d.length)<(l=e.d.length)?r:l;te.d[t]^a.s<0?1:-1;return r===l?0:r>l^a.s<0?1:-1},g.decimalPlaces=g.dp=function(){var e=this,t=e.d.length-1,n=7*(t-e.e);if(t=e.d[t])for(;t%10==0;t/=10)n--;return n<0?0:n},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,n=this,r=n.constructor,l=r.precision,o=l+5;if(void 0===e)e=new r(10);else if((e=new r(e)).s<1||e.eq(a))throw Error(s+"NaN");if(n.s<1)throw Error(s+(n.s?"NaN":"-Infinity"));return n.eq(a)?new r(0):(i=!1,t=w(O(n,o),O(e,o),o),i=!0,_(t,l))},g.minus=g.sub=function(e){var t=this;return e=new t.constructor(e),t.s==e.s?E(t,e):v(t,(e.s=-e.s,e))},g.modulo=g.mod=function(e){var t,n=this,r=n.constructor,l=r.precision;if(!(e=new r(e)).s)throw Error(s+"NaN");return n.s?(i=!1,t=w(n,e,0,1).times(e),i=!0,n.minus(t)):_(new r(n),l)},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?v(t,e):E(t,(e.s=-e.s,e))},g.precision=g.sd=function(e){var t,n,r,l=this;if(void 0!==e&&e!==!!e&&1!==e&&0!==e)throw Error(c+e);if(t=k(l)+1,n=7*(r=l.d.length-1)+1,r=l.d[r]){for(;r%10==0;r/=10)n--;for(r=l.d[0];r>=10;r/=10)n++}return e&&t>n?t:n},g.squareRoot=g.sqrt=function(){var e,t,n,r,l,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==(l=Math.sqrt(+c))||l==1/0?(((t=y(c.d)).length+e)%2==0&&(t+="0"),l=Math.sqrt(t),e=d((e+1)/2)-(e<0||e%2),r=new u(t=l==1/0?"5e"+e:(t=l.toExponential()).slice(0,t.indexOf("e")+1)+e)):r=new u(l.toString()),l=o=(n=u.precision)+3;;)if(r=(a=r).plus(w(c,a,o+2)).times(.5),y(a.d).slice(0,o)===(t=y(r.d)).slice(0,o)){if(t=t.slice(o-3,o+1),l==o&&"4999"==t){if(_(a,n+1,0),a.times(a).eq(c)){r=a;break}}else if("9999"!=t)break;o+=4}return i=!0,_(r,n)},g.times=g.mul=function(e){var t,n,r,l,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,n=d.e+e.e,(c=p.length)<(u=m.length)&&(a=p,p=m,m=a,o=c,c=u,u=o),a=[],r=o=c+u;r--;)a.push(0);for(r=u;--r>=0;){for(t=0,l=c+r;l>r;)s=a[l]+m[r]*p[l-r-1]+t,a[l--]=s%h|0,t=s/h|0;a[l]=(a[l]+t)%h|0}for(;!a[--o];)a.pop();return t?++n:a.shift(),e.d=a,e.e=n,i?_(e,f.precision):e},g.toDecimalPlaces=g.todp=function(e,t){var n=this,r=n.constructor;return n=new r(n),void 0===e?n:(b(e,0,1e9),void 0===t?t=r.rounding:b(t,0,8),_(n,e+k(n)+1,t))},g.toExponential=function(e,t){var n,r=this,l=r.constructor;return void 0===e?n=P(r,!0):(b(e,0,1e9),void 0===t?t=l.rounding:b(t,0,8),n=P(r=_(new l(r),e+1,t),!0,e+1)),n},g.toFixed=function(e,t){var n,r,l=this,a=l.constructor;return void 0===e?P(l):(b(e,0,1e9),void 0===t?t=a.rounding:b(t,0,8),n=P((r=_(new a(l),e+k(l)+1,t)).abs(),!1,e+k(r)+1),l.isneg()&&!l.isZero()?"-"+n:n)},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,n,r,l,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(r=f.precision,e.eq(a))return _(u,r);if(c=(t=e.e)>=(n=e.d.length-1),o=u.s,c){if((n=p<0?-p:p)<=9007199254740991){for(l=new f(a),t=Math.ceil(r/7+4),i=!1;n%2&&A((l=l.times(u)).d,t),0!==(n=d(n/2));)A((u=u.times(u)).d,t);return i=!0,e.s<0?new f(a).div(l):_(l,r)}}else if(o<0)throw Error(s+"NaN");return o=o<0&&1&e.d[Math.max(t,n)]?-1:1,u.s=1,i=!1,l=e.times(O(u,r+12)),i=!0,(l=x(l)).s=o,l},g.toPrecision=function(e,t){var n,r,l=this,a=l.constructor;return void 0===e?r=P(l,(n=k(l))<=a.toExpNeg||n>=a.toExpPos):(b(e,1,1e9),void 0===t?t=a.rounding:b(t,0,8),r=P(l=_(new a(l),e,t),e<=(n=k(l))||n<=a.toExpNeg,e)),r},g.toSignificantDigits=g.tosd=function(e,t){var n=this.constructor;return void 0===e?(e=n.precision,t=n.rounding):(b(e,1,1e9),void 0===t?t=n.rounding:b(t,0,8)),_(new n(this),e,t)},g.toString=g.valueOf=g.val=g.toJSON=function(){var e=this,t=k(e),n=e.constructor;return P(e,t<=n.toExpNeg||t>=n.toExpPos)};var w=function(){function e(e,t){var n,r=0,l=e.length;for(e=e.slice();l--;)n=e[l]*t+r,e[l]=n%h|0,r=n/h|0;return r&&e.unshift(r),e}function t(e,t,n,r){var l,a;if(n!=r)a=n>r?1:-1;else for(l=a=0;lt[l]?1:-1;break}return a}function n(e,t,n){for(var r=0;n--;)e[n]-=r,r=e[n]1;)e.shift()}return function(r,l,a,o){var i,c,u,d,f,p,m,g,v,b,y,w,x,S,C,O,M,E,P=r.constructor,A=r.s==l.s?1:-1,T=r.d,j=l.d;if(!r.s)return new P(r);if(!l.s)throw Error(s+"Division by zero");for(c=r.e-l.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(r)-k(l))+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,b=(v=T.slice(0,M)).length;b=h/2&&++O;do{d=0,(i=t(j,v,M,b))<0?(y=v[0],M!=b&&(y=y*h+(v[1]||0)),(d=y/O|0)>1?(d>=h&&(d=h-1),1==(i=t(f=e(j,d),v,p=f.length,b=v.length))&&(d--,n(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,n=r=l=new p(a),p.precision=s;;){if(r=_(r.times(e),s),n=n.times(++c),y((o=l.plus(w(r,n,s))).d).slice(0,s)===y(l.d).slice(0,s)){for(;d--;)l=_(l.times(l),s);return p.precision=h,null==t?(i=!0,_(l,h)):l}l=o}}function k(e){for(var t=7*e.e,n=e.d[0];n>=10;n/=10)t++;return t}function S(e,t,n){if(t>e.LN10.sd())throw i=!0,n&&(e.precision=n),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 n,r,l,o,c,u,d,f,p,h=1,m=e,g=m.d,v=m.constructor,b=v.precision;if(m.s<1)throw Error(s+(m.s?"NaN":"-Infinity"));if(m.eq(a))return new v(0);if(null==t?(i=!1,f=b):f=t,m.eq(10))return null==t&&(i=!0),S(v,f);if(f+=10,v.precision=f,r=(n=y(g)).charAt(0),o=k(m),!(Math.abs(o)<15e14))return d=S(v,f+2,b).times(o+""),m=O(new v(r+"."+n.slice(1)),f-10).plus(d),v.precision=b,null==t?(i=!0,_(m,b)):m;for(;r<7&&1!=r||1==r&&n.charAt(1)>3;)r=(n=y((m=m.times(e)).d)).charAt(0),h++;for(o=k(m),r>1?(m=new v("0."+n),o++):m=new v(r+"."+n.slice(1)),u=c=m=w(m.minus(a),m.plus(a),f),p=_(m.times(m),f),l=3;;){if(c=_(c.times(p),f),y((d=u.plus(w(c,new v(l),f))).d).slice(0,f)===y(u.d).slice(0,f))return u=u.times(2),0!==o&&(u=u.plus(S(v,f+2,b).times(o+""))),u=w(u,new v(h),f),v.precision=b,null==t?(i=!0,_(u,b)):u;u=d,l+=2}}function M(e,t){var n,r,l;for((n=t.indexOf("."))>-1&&(t=t.replace(".","")),(r=t.search(/e/i))>0?(n<0&&(n=r),n+=+t.slice(r+1),t=t.substring(0,r)):n<0&&(n=t.length),r=0;48===t.charCodeAt(r);)++r;for(l=t.length;48===t.charCodeAt(l-1);)--l;if(t=t.slice(r,l)){if(l-=r,n=n-r-1,e.e=d(n/7),e.d=[],r=(n+1)%7,n<0&&(r+=7),rm||e.e<-m))throw Error(u+n)}else e.s=0,e.e=0,e.d=[0];return e}function _(e,t,n){var r,l,a,o,s,c,p,g,v=e.d;for(o=1,a=v[0];a>=10;a/=10)o++;if((r=t-o)<0)r+=7,l=t,p=v[g=0];else{if((g=Math.ceil((r+1)/7))>=(a=v.length))return e;for(p=a=v[g],o=1;a>=10;a/=10)o++;l=(r%=7)-7+o}if(void 0!==n&&(s=p/(a=f(10,o-l-1))%10|0,c=t<0||void 0!==v[g+1]||p%a,c=n<4?(s||c)&&(0==n||n==(e.s<0?3:2)):s>5||5==s&&(4==n||c||6==n&&(r>0?l>0?p/f(10,o-l):0:v[g-1])%10&1||n==(e.s<0?8:7))),t<1||!v[0])return c?(a=k(e),v.length=1,t=t-a-1,v[0]=f(10,(7-t%7)%7),e.e=d(-t/7)||0):(v.length=1,v[0]=e.e=e.s=0),e;if(0==r?(v.length=g,a=1,g--):(v.length=g+1,a=f(10,7-r),v[g]=l>0?(p/f(10,o-l)%f(10,l)|0)*a:0),c)for(;;){if(0==g){(v[0]+=a)==h&&(v[0]=1,++e.e);break}if(v[g]+=a,v[g]!=h)break;v[g--]=0,a=1}for(r=v.length;0===v[--r];)v.pop();if(i&&(e.e>m||e.e<-m))throw Error(u+k(e));return e}function E(e,t){var n,r,l,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,r=t.e,u=e.e,c=c.slice(),o=u-r){for((d=o<0)?(n=c,o=-o,s=f.length):(n=f,r=u,s=c.length),o>(l=Math.max(Math.ceil(m/7),s)+2)&&(o=l,n.length=1),n.reverse(),l=o;l--;)n.push(0);n.reverse()}else{for((d=(l=c.length)<(s=f.length))&&(s=l),l=0;l0;--l)c[s++]=0;for(l=f.length;l>o;){if(c[--l]0?a=a.charAt(0)+"."+a.slice(1)+C(r):o>1&&(a=a.charAt(0)+"."+a.slice(1)),a=a+(l<0?"e":"e+")+l):l<0?(a="0."+C(-l-1)+a,n&&(r=n-o)>0&&(a+=C(r))):l>=o?(a+=C(l+1-o),n&&(r=n-l-1)>0&&(a=a+"."+C(r))):((r=l+1)0&&(l+1===o&&(a+="."),a+=C(r))),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,n,r,l=["precision",1,1e9,"rounding",0,8,"toExpNeg",-1/0,0,"toExpPos",0,1/0];for(t=0;t=l[t+1]&&r<=l[t+2]))throw Error(c+n+": "+r);this[n]=r}if(void 0!==(r=e[n="LN10"])){if(r!=Math.LN10)throw Error(c+n+": "+r);this[n]=new this(r)}return this}(o=function e(t){var n,r,l;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(l=["precision","rounding","toExpNeg","toExpPos","LN10"],n=0;n2&&void 0!==arguments[2]?arguments[2]:{},r=n.whitelist||null,l=n.blacklist||null;function a(e){return!(!r||-1!==r.indexOf(e))||!(!l||-1===l.indexOf(e))}return{in:function(t,n,r){return!a(n)&&e?e(t,n,r):t},out:function(e,n,r){return!a(n)&&t?t(e,n,r):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,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n("aec43e730db4baaa2f6a")),l=a(n("9582b203e9cc9cae1aa8"));function a(e){return e&&e.__esModule?e:{default:e}}var o=(0,r.default)("v5",80,l.default);t.default=o,e.exports=t.default},"0bf817924258aa08734c":function(e,t,n){"use strict";t.__esModule=!0;var r,l=n("3ab2e978f88fe5b3f2d5"),a=(r=l)&&r.__esModule?r:{default:r};t.default=function(){function e(e,t){for(var n=0;n{const n=a.en||{};return(a[t]||a.es)[e]||n[e]||e},[t]),s=(0,l.useMemo)(()=>({locale:t,setLocale:n,t:i}),[t,n,i]);return r.createElement(o.Provider,{value:s},e)},t.useI18n=function(){return(0,l.useContext)(o)};const r=n("8af190b70a6bc55c6f1b"),l=n("8af190b70a6bc55c6f1b");t.BO_LANGUAGES=[{code:"es",name:"Espa\xf1ol",flag:"\ud83c\uddea\ud83c\uddf8"},{code:"en",name:"English",flag:"\ud83c\uddec\ud83c\udde7"},{code:"pt",name:"Portugu\xeas",flag:"\ud83c\uddf5\ud83c\uddf9"}],t.CONTENT_LANGUAGES=[{code:"es",name:"Espa\xf1ol",flag:"\ud83c\uddea\ud83c\uddf8"},{code:"en",name:"English",flag:"\ud83c\uddec\ud83c\udde7"},{code:"pt",name:"Portugu\xeas",flag:"\ud83c\uddf5\ud83c\uddf9"},{code:"fr",name:"Fran\xe7ais",flag:"\ud83c\uddeb\ud83c\uddf7",boOnly:!1}];const a={es:{"app.online":"En l\xednea","app.offline":"Fuera de l\xednea","app.save":"Guardar cambios","app.edit":"Editar","app.cancel":"Cancelar","app.delete":"Eliminar","app.add":"A\xf1adir","app.search":"Buscar","app.all":"Todos","app.available":"Disponible","app.unavailable":"No disponible","app.preview":"Vista previa","app.previewOn":"Vista previa On","app.done":"Hecho","app.apply":"Aplicar","app.reset":"Restablecer","app.close":"Cerrar","app.fallbackCityMadrid":"Madrid","app.fallbackCityLisbon":"Lisboa","app.fallbackCityParis":"Par\xeds","app.fallbackCityLondon":"Londres","app.fallbackCountrySpain":"Espa\xf1a","app.fallbackCountryPortugal":"Portugal","app.fallbackCountryFrance":"Francia","app.fallbackCountryUnitedKingdom":"Reino Unido","nav.dashboard":"Panel Operacional","nav.realtime":"Tiempo Real","nav.activeOrders":"Pedidos Activos","nav.orderHistory":"Historial de Pedidos","nav.incidents":"Incidencias","nav.restaurant":"Restaurante","nav.catalogue":"Cat\xe1logo","nav.payments":"Pagos","nav.operations":"Operaciones","nav.analytics":"Anal\xedticas","nav.settings":"Configuraci\xf3n","rest.title":"Perfil del Restaurante","rest.subtitle":"Configura perfil, traducciones y ajustes operacionales","rest.profileTab":"Perfil","rest.operationsTab":"Operaciones y Horarios","rest.schedulesTab":"Horarios","rest.settingsTab":"Configuraciones","rest.basicInfo":"Informaci\xf3n B\xe1sica","rest.partnerName":"Nombre del Partner","rest.partnerNameHelp":"Debe ser id\xe9ntico en todos los idiomas","rest.description":"Descripci\xf3n","rest.contactPhone":"Tel\xe9fono de contacto","rest.contactEmail":"Email de contacto","rest.address":"Direcci\xf3n","rest.pickupInstructions":"Instrucciones de recogida (visible al rider en Tookan)","rest.postalCode":"C\xf3digo Postal","rest.city":"Ciudad","rest.country":"Pa\xeds","rest.district":"Distrito","rest.region":"Regi\xf3n","rest.restaurantGroup":"Grupo de Restaurante","rest.volupMargin":"Margen de Volup","rest.keywords":"Palabras clave","rest.keywordsHelp":"Separadas por comas. Ayudan a mejorar la b\xfasqueda del restaurante.","rest.deepLink":"Deep Link","rest.deepLinkUrl":"URL de Deep Linking","rest.deepLinkHelp":"Enlace directo al restaurante en la app","rest.copyLink":"Copiar","rest.businessConfig":"Configuraci\xf3n Comercial","rest.heroCarousel":"Carrusel Hero","rest.addSlide":"A\xf1adir Slide","rest.heroCarouselHelp":"Im\xe1genes del carrusel hero en la p\xe1gina del restaurante. Arrastra para reordenar. M\xe1ximo 5 slides.","rest.emptySlideWarning":"Hay slides sin imagen asignada. A\xf1ade una URL para que aparezcan en el preview.","rest.autoTranslate":"Auto-traducir a todos","rest.autoTranslatePending":"Auto-traducir pendientes","rest.langConfig":"Configuraci\xf3n de Idiomas","rest.boLanguage":"Idioma del Backoffice","rest.contentBaseLanguage":"Idioma base del contenido","rest.contentBaseLangHelp":"Determinado por la ubicaci\xf3n del restaurante","rest.translationStatus":"Estado de Traducci\xf3n","rest.base":"Base","rest.translated":"Traducido","rest.pending":"Pendiente","rest.manuallyEdited":"Editado manualmente","rest.restaurantId":"ID del Restaurante","rest.created":"Creado","rest.lastModified":"\xdaltima modificaci\xf3n","rest.availability":"Controles de Disponibilidad","rest.restaurantAvailable":"Restaurante Disponible","rest.restaurantAvailableHelp":"Cambia para poner el restaurante en l\xednea/fuera de l\xednea inmediatamente","rest.runningDelay":"Funcionando con retraso","rest.runningDelayHelp":"A\xf1ade tiempo extra de preparaci\xf3n a la entrega estimada","rest.delayActive":"El modo retraso est\xe1 activo. +15 min a\xf1adidos a todas las estimaciones de entrega.","rest.delayCustomerMsg":'Los clientes ver\xe1n "Experimentando retrasos" en la app.',"rest.prepTime":"Tiempo de Preparaci\xf3n","rest.prepTimeLabel":"Tiempo de preparaci\xf3n estimado","rest.prepTimeHelp":'Tiempo extra a\xf1adido a la estimaci\xf3n de entrega. Los clientes ver\xe1n "Experimentando retrasos" en la app.',"rest.prepTimeMinutes":"minutos","rest.calendarView":"Vista de Calendario","rest.calendarViewHelp":"Vista general de los turnos y horarios del mes actual.","rest.shifts":"Turnos","rest.morningShift":"Turno Ma\xf1ana","rest.eveningShift":"Turno Tarde/Noche","rest.orderSettings":"Configuraci\xf3n de Pedidos","rest.minOrderAmount":"Pedido m\xednimo","rest.maxOrdersPerSlot":"M\xe1x. pedidos por franja","rest.autoAccept":"Auto-aceptar pedidos","rest.autoAcceptHelp":"Los pedidos se aceptan autom\xe1ticamente sin intervenci\xf3n manual","rest.deliverySettings":"Configuraci\xf3n de Entrega","rest.deliveryRadius":"Radio de entrega","rest.deliveryFee":"Tarifa de entrega base","rest.freeDeliveryMin":"Env\xedo gratis desde","rest.estimatedDelivery":"Tiempo estimado de entrega","rest.zoneRadius":"Radio","rest.addZone":"A\xf1adir Zona","rest.promotions":"Promociones","rest.promotionsHelp":"Configura ofertas y descuentos visibles para los clientes en la app.","rest.addPromotion":"A\xf1adir Promoci\xf3n","rest.promoName":"Nombre","rest.promoDiscount":"Descuento","rest.promoMinOrder":"Pedido m\xedn.","rest.promoValidUntil":"V\xe1lida hasta","rest.promoStatus":"Estado","rest.promoActive":"Activa","rest.promoScheduled":"Programada","rest.promoExpired":"Expirada","rest.promoPaused":"Pausada","rest.promoCode":"C\xf3digo","rest.promoUsage":"Usos","rest.mapToolDraw":"Dibujar zona","rest.mapToolEdit":"Editar","rest.mapToolDelete":"Borrar","rest.mapToolSelect":"Seleccionar","rest.weeklyHours":"Horario Semanal de Operaci\xf3n","rest.applyAllDays":"Aplicar a todos los d\xedas","rest.open":"Abierto","rest.closed":"Cerrado","rest.scheduledUnavailability":"Indisponibilidad Programada","rest.schedule":"Programar","rest.noScheduled":"No hay indisponibilidad programada","rest.active":"Activa","rest.scheduled":"Programada","rest.remove":"Eliminar","rest.timezone":"Configuraci\xf3n de Zona Horaria","rest.timezoneHelp":"Afecta a los pedidos programados y la visualizaci\xf3n de horarios para clientes.","rest.quickStats":"Estad\xedsticas R\xe1pidas","rest.avgPrepTime":"Tiempo medio de preparaci\xf3n","rest.ordersToday":"Pedidos hoy","rest.rating":"Valoraci\xf3n","rest.acceptanceRate":"Tasa de aceptaci\xf3n","rest.cancellationRate":"Tasa de cancelaci\xf3n","rest.deliveryZones":"Zonas de Entrega","rest.deliveryZonesHelp":"Configura las zonas de cobertura de entrega. Haz clic en el mapa para ajustar.","day.Monday":"Lunes","day.Tuesday":"Martes","day.Wednesday":"Mi\xe9rcoles","day.Thursday":"Jueves","day.Friday":"Viernes","day.Saturday":"S\xe1bado","day.Sunday":"Domingo","cat.title":"Cat\xe1logo y Men\xfa","cat.subtitle":"Gestiona categor\xedas, art\xedculos, horarios y disponibilidad","cat.addCategory":"A\xf1adir Categor\xeda","cat.addItem":"A\xf1adir art\xedculo","cat.categories":"Categor\xedas","cat.totalItems":"Total Art\xedculos","cat.searchItems":"Buscar art\xedculos...","cat.noCategoriesYet":"A\xfan no hay categor\xedas","cat.noCategoriesHint":"A\xf1ade una categor\xeda para empezar a gestionar tu cat\xe1logo.","cat.noItemsFound":"Ning\xfan art\xedculo encontrado","cat.noItemsFoundHint":"Prueba a cambiar el filtro o el t\xe9rmino de b\xfasqueda.","cat.item":"art\xedculo","cat.items":"art\xedculos","cat.onlyLeft":"Solo quedan","cat.leftToday":"hoy","cat.markUnavailable":"Marcar no disponible","cat.markAvailable":"Marcar disponible","cat.translations":"Traducciones","cat.baseRequired":"obligatorio","cat.autoTranslated":"Auto-traducido","cat.namePlaceholder":"Introduce el nombre del producto en","cat.descPlaceholder":"Escribe una descripci\xf3n atractiva en","cat.contentLang":"Idioma del contenido","cat.language":"Idioma:","cat.editTranslations":"Editar traducciones","cat.autoTranslateAll":"Auto-traducir todo","cat.translationUpdated":"Traducci\xf3n actualizada","cat.discardChanges":"Descartar cambios","cat.discardChangesConfirm":"\xbfDescartar todos los cambios no guardados del cat\xe1logo?","cat.saveCatalogue":"Guardar cat\xe1logo","cat.save":"Guardar","cat.price":"Precio","cat.specialPrice":"Precio especial","cat.questions":"Preguntas","cat.duplicate":"Duplicar","cat.editCategory":"Editar Categor\xeda","cat.categoryName":"Nombre de categor\xeda","cat.categoryPlaceholder":"ej. Entrantes","cat.limitedPeriod":"Per\xedodo limitado","cat.limitedPeriodDesc":"Restringir esta categor\xeda a horarios espec\xedficos","cat.startHour":"Hora inicio","cat.endHour":"Hora fin","cat.saveCategory":"Guardar categor\xeda","cat.panelSubtitle":"Establece un nombre en los 4 idiomas","cat.allLangsComplete":"Los 4 idiomas completos","cat.missingLangs":"Falta:","cat.categoryDuplicated":"Categor\xeda duplicada","cat.itemDuplicated":"Art\xedculo duplicado","cat.missingNamesFor":"Faltan nombres para:","cat.switchToFill":"Cambia a cada idioma y rellena el nombre antes de guardar.","cat.deleteCategoryBlockedTitle":"No se puede eliminar esta categor\xeda","cat.deleteCategoryBlockedBody":"Debes eliminar todos los art\xedculos de esta categor\xeda antes de eliminarla.","cat.copy":"(copia)","cat.langEs":"\ud83c\uddea\ud83c\uddf8 Espa\xf1ol","cat.langEn":"\ud83c\uddec\ud83c\udde7 Ingl\xe9s","cat.langPt":"\ud83c\uddf5\ud83c\uddf9 Portugu\xe9s","cat.langFr":"\ud83c\uddeb\ud83c\uddf7 Franc\xe9s","productItem.availability.title":"Disponibilidad","productItem.availability.availableDays":"D\xedas de Disponibilidad","productItem.availability.selectDays":"Seleccionar d\xedas","productItem.availability.daysToPrepare":"D\xedas de anticipaci\xf3n para venta","productItem.availability.daysSuffix":"d\xedas","productItem.active":"Online","productItem.inactive":"Inactivo","productItem.nav.back":"Volver","productItem.breadcrumb.catalogue":"Cat\xe1logo","productItem.actions.discard":"Descartar","productItem.actions.saveItem":"Guardar art\xedculo","productItem.sections.itemInfo":"Informaci\xf3n del art\xedculo","productItem.sections.pricing":"Precios","productItem.fields.contentLanguage":"Idioma del contenido:","productItem.fields.code":"C\xf3digo","productItem.fields.name":"Nombre","productItem.fields.namePlaceholder":"Nombre del art\xedculo","productItem.fields.prepTime":"Tiempo prep.","productItem.fields.minuteSuffix":"min","productItem.fields.description":"Descripci\xf3n","productItem.fields.descriptionPlaceholder":"Describe el art\xedculo...","productItem.fields.category":"Categor\xeda","productItem.fields.selectCategory":"Seleccionar categor\xeda","productItem.fields.subCategory":"Subcategor\xeda","productItem.fields.selectSubCategory":"Seleccionar subcategor\xeda","productItem.fields.tax":"Impuesto","productItem.fields.selectTax":"Seleccionar impuesto","productItem.fields.price":"Precio","productItem.fields.specialPrice":"Precio especial","productItem.fields.offerUntil":"Oferta hasta","productItem.fields.imageUpload":"Suelta la imagen aqu\xed\no haz clic para subirla","productItem.fields.imageSizeHelper":"Tama\xf1o m\xe1ximo de imagen: 1.2 MB.","productItem.fields.imageSizeError":"La imagen supera el tama\xf1o m\xe1ximo permitido de 1.2 MB.","productItem.validation.readyToSave":"Listo para guardar","productItem.validation.missingName":"Falta nombre en","productItem.validation.missingDescription":"Falta descripci\xf3n en","productItem.validation.priceRequired":"El precio es obligatorio","productItem.validation.categoryRequired":"Selecciona una categor\xeda","productItem.validation.taxRequired":"Selecciona un impuesto","productItem.userGroups.title":"Grupos de usuarios espec\xedficos","productItem.userGroups.restrict":"Restringir visibilidad a grupos seleccionados","productItem.userGroups.allUsers":"Todos los usuarios (sin restricci\xf3n)","productItem.allergens.title":"Al\xe9rgenos","productItem.suggestedProducts.title":"Productos sugeridos","productItem.suggestedProducts.empty":"A\xfan no se a\xf1adieron productos sugeridos","productItem.suggestedProducts.addProduct":"A\xf1adir producto","productItem.suggestedProducts.addProductSubtitle":"Selecciona productos para sugerir junto a este art\xedculo","productItem.suggestedProducts.untitled":"Producto sin t\xedtulo","productItem.suggestedProducts.noMore":"No hay m\xe1s productos disponibles","productItem.suggestedProducts.cancel":"Cancelar","productItem.suggestedProducts.addSelected":"A\xf1adir seleccionados","productItem.suggestedProducts.remove":"Quitar producto","productItem.questions.addQuestion":"A\xf1adir pregunta","productItem.questions.addQuestionSubtitle":"Selecciona preguntas existentes del cat\xe1logo para este art\xedculo","productItem.questions.untitled":"Pregunta sin t\xedtulo","productItem.questions.noMore":"No hay m\xe1s preguntas disponibles","productItem.questions.cancel":"Cancelar","productItem.questions.addSelected":"A\xf1adir seleccionadas","productItem.questions.title":"Preguntas","productItem.questions.question":"Pregunta","productItem.questions.minMax":"M\xedn. \u2013 M\xe1x.","productItem.questions.options":"Opciones","productItem.questions.optionSingular":"opci\xf3n","productItem.questions.optionPlural":"opciones","productItem.questions.edit":"Editar","productItem.questions.delete":"Eliminar","productItem.questions.empty":"A\xfan no se a\xf1adieron preguntas","productItem.questions.expand":"Expandir","productItem.questions.option":"Opci\xf3n","productItem.questions.additionalPrice":"Precio adicional","productItem.questions.activated":"Activado","productItem.questions.noOptions":"Esta pregunta no tiene opciones","pay.title":"Pagos y Facturaci\xf3n","pay.subtitle":"Gestiona comisiones, historial de pagos y facturas"},en:{"app.online":"Online","app.offline":"Offline","app.save":"Save Changes","app.edit":"Edit","app.cancel":"Cancel","app.delete":"Delete","app.add":"Add","app.search":"Search","app.all":"All","app.available":"Available","app.unavailable":"Unavailable","app.preview":"Preview","app.previewOn":"Preview On","app.done":"Done","app.apply":"Apply","app.reset":"Reset","app.close":"Close","app.fallbackCityMadrid":"Madrid","app.fallbackCityLisbon":"Lisbon","app.fallbackCityParis":"Paris","app.fallbackCityLondon":"London","app.fallbackCountrySpain":"Spain","app.fallbackCountryPortugal":"Portugal","app.fallbackCountryFrance":"France","app.fallbackCountryUnitedKingdom":"United Kingdom","nav.dashboard":"Operational Dashboard","nav.realtime":"Real-Time","nav.activeOrders":"Active Orders","nav.orderHistory":"Order History","nav.incidents":"Incidents","nav.restaurant":"Restaurant","nav.catalogue":"Catalog","nav.payments":"Payments","nav.operations":"Operations","nav.analytics":"Analytics","nav.settings":"Settings","rest.title":"Restaurant Profile","rest.subtitle":"Configure profile, translations and operational settings","rest.profileTab":"Profile","rest.operationsTab":"Operations & Schedules","rest.schedulesTab":"Schedules","rest.settingsTab":"Settings","rest.basicInfo":"Basic Information","rest.partnerName":"Partner Name","rest.partnerNameHelp":"Must be identical across all languages","rest.description":"Description","rest.contactPhone":"Contact Phone","rest.contactEmail":"Contact Email","rest.address":"Address","rest.pickupInstructions":"Pickup Instructions (visible to driver in Tookan)","rest.postalCode":"Postal Code","rest.city":"City","rest.country":"Country","rest.district":"District","rest.region":"Region","rest.restaurantGroup":"Restaurant Group","rest.volupMargin":"Volup Margin","rest.keywords":"Keywords","rest.keywordsHelp":"Comma-separated. Helps improve restaurant search.","rest.deepLink":"Deep Link","rest.deepLinkUrl":"Deep Linking URL","rest.deepLinkHelp":"Direct link to the restaurant in the app","rest.copyLink":"Copy","rest.businessConfig":"Business Configuration","rest.heroCarousel":"Hero Carousel","rest.addSlide":"Add Slide","rest.heroCarouselHelp":"Hero carousel images on the restaurant page. Drag to reorder. Maximum 5 slides.","rest.emptySlideWarning":"Some slides have no image. Add a URL so they appear in the preview.","rest.autoTranslate":"Auto-translate to all","rest.autoTranslatePending":"Auto-translate pending","rest.langConfig":"Language Configuration","rest.boLanguage":"Backoffice Language","rest.contentBaseLanguage":"Content Base Language","rest.contentBaseLangHelp":"Determined by restaurant location","rest.translationStatus":"Translation Status","rest.base":"Base","rest.translated":"Translated","rest.pending":"Pending","rest.manuallyEdited":"Manually edited","rest.restaurantId":"Restaurant ID","rest.created":"Created","rest.lastModified":"Last modified","rest.availability":"Availability Controls","rest.restaurantAvailable":"Restaurant Available","rest.restaurantAvailableHelp":"Toggle to immediately take restaurant online/offline","rest.runningDelay":"Running with Delay","rest.runningDelayHelp":"Adds extra preparation time to estimated delivery","rest.delayActive":"Delay mode is active. +15 min added to all delivery estimates.","rest.delayCustomerMsg":'Customers will see "Currently experiencing delays" on the app.',"rest.prepTime":"Preparation Time","rest.prepTimeLabel":"Estimated preparation time","rest.prepTimeHelp":'Extra time added to delivery estimates. Customers will see "Currently experiencing delays" on the app.',"rest.prepTimeMinutes":"minutes","rest.calendarView":"Calendar View","rest.calendarViewHelp":"General view of shifts and schedules for the current month.","rest.shifts":"Shifts","rest.morningShift":"Morning Shift","rest.eveningShift":"Evening/Night Shift","rest.orderSettings":"Order Settings","rest.minOrderAmount":"Minimum Order Amount","rest.maxOrdersPerSlot":"Max Orders per Slot","rest.autoAccept":"Auto-accept Orders","rest.autoAcceptHelp":"Orders are automatically accepted without manual intervention","rest.deliverySettings":"Delivery Settings","rest.deliveryRadius":"Delivery Radius","rest.deliveryFee":"Base Delivery Fee","rest.freeDeliveryMin":"Free Delivery from","rest.estimatedDelivery":"Estimated Delivery Time","rest.zoneRadius":"Radius","rest.addZone":"Add Zone","rest.promotions":"Promotions","rest.promotionsHelp":"Configure offers and discounts visible to customers in the app.","rest.addPromotion":"Add Promotion","rest.promoName":"Name","rest.promoDiscount":"Discount","rest.promoMinOrder":"Min. Order","rest.promoValidUntil":"Valid Until","rest.promoStatus":"Status","rest.promoActive":"Active","rest.promoScheduled":"Scheduled","rest.promoExpired":"Expired","rest.promoPaused":"Paused","rest.promoCode":"Code","rest.promoUsage":"Usage","rest.mapToolDraw":"Draw Zone","rest.mapToolEdit":"Edit","rest.mapToolDelete":"Delete","rest.mapToolSelect":"Select","rest.weeklyHours":"Weekly Operating Hours","rest.applyAllDays":"Apply to all days","rest.open":"Open","rest.closed":"Closed","rest.scheduledUnavailability":"Scheduled Unavailability","rest.schedule":"Schedule","rest.noScheduled":"No scheduled unavailability","rest.active":"Active","rest.scheduled":"Scheduled","rest.remove":"Remove","rest.timezone":"Timezone Configuration","rest.timezoneHelp":"Affects scheduled orders and operating hours display for customers.","rest.quickStats":"Quick Stats","rest.avgPrepTime":"Avg. prep time","rest.ordersToday":"Orders today","rest.rating":"Rating","rest.acceptanceRate":"Acceptance rate","rest.cancellationRate":"Cancellation rate","rest.deliveryZones":"Delivery Zones","rest.deliveryZonesHelp":"Configure delivery coverage zones. Click on the map to adjust.","day.Monday":"Monday","day.Tuesday":"Tuesday","day.Wednesday":"Wednesday","day.Thursday":"Thursday","day.Friday":"Friday","day.Saturday":"Saturday","day.Sunday":"Sunday","cat.title":"Catalog & Menu","cat.subtitle":"Manage categories, items, schedules and availability","cat.addCategory":"Add Category","cat.addItem":"Add item","cat.categories":"Categories","cat.totalItems":"Total Items","cat.searchItems":"Search items...","cat.noCategoriesYet":"No categories yet","cat.noCategoriesHint":"Add a category to start managing your catalog.","cat.noItemsFound":"No items found","cat.noItemsFoundHint":"Try changing the filter or search term.","cat.item":"item","cat.items":"items","cat.onlyLeft":"Only","cat.leftToday":"left today","cat.markUnavailable":"Mark unavailable","cat.markAvailable":"Mark available","cat.translations":"Translations","cat.baseRequired":"required","cat.autoTranslated":"Auto-translated","cat.namePlaceholder":"Enter the product name in","cat.descPlaceholder":"Write an attractive description in","cat.contentLang":"Content language","cat.language":"Language:","cat.editTranslations":"Edit translations","cat.autoTranslateAll":"Auto-translate all","cat.translationUpdated":"Translation updated","cat.discardChanges":"Discard changes","cat.discardChangesConfirm":"Discard all unsaved changes to the catalog?","cat.saveCatalogue":"Save catalog","cat.save":"Save","cat.price":"Price","cat.specialPrice":"Special price","cat.questions":"Questions","cat.duplicate":"Duplicate","cat.editCategory":"Edit category","cat.categoryName":"Category name","cat.categoryPlaceholder":"e.g. Starters","cat.limitedPeriod":"Limited period","cat.limitedPeriodDesc":"Restrict this category to specific hours","cat.startHour":"Start hour","cat.endHour":"End hour","cat.saveCategory":"Save category","cat.panelSubtitle":"Set a name in all 4 languages","cat.allLangsComplete":"All 4 languages complete","cat.missingLangs":"Missing:","cat.categoryDuplicated":"Category duplicated","cat.itemDuplicated":"Item duplicated","cat.missingNamesFor":"Missing names for:","cat.switchToFill":"Switch to each language and fill in the name before saving.","cat.deleteCategoryBlockedTitle":"This category can't be deleted yet","cat.deleteCategoryBlockedBody":"You must remove all items from this category before deleting it.","cat.copy":"(copy)","cat.langEs":"\ud83c\uddea\ud83c\uddf8 Spanish","cat.langEn":"\ud83c\uddec\ud83c\udde7 English","cat.langPt":"\ud83c\uddf5\ud83c\uddf9 Portuguese","cat.langFr":"\ud83c\uddeb\ud83c\uddf7 French","productItem.availability.title":"Availability","productItem.availability.availableDays":"Available days","productItem.availability.selectDays":"Select days","productItem.availability.daysToPrepare":"Days in advance for sale?","productItem.availability.daysSuffix":"days","productItem.active":"Online","productItem.inactive":"Inactive","productItem.nav.back":"Back","productItem.breadcrumb.catalogue":"Catalog","productItem.actions.discard":"Discard","productItem.actions.saveItem":"Save item","productItem.sections.itemInfo":"Item info","productItem.sections.pricing":"Pricing","productItem.fields.contentLanguage":"Content language:","productItem.fields.code":"Code","productItem.fields.name":"Name","productItem.fields.namePlaceholder":"Item name","productItem.fields.prepTime":"Prep time","productItem.fields.minuteSuffix":"min","productItem.fields.description":"Description","productItem.fields.descriptionPlaceholder":"Describe the item...","productItem.fields.category":"Category","productItem.fields.selectCategory":"Select category","productItem.fields.subCategory":"Sub-category","productItem.fields.selectSubCategory":"Select sub-category","productItem.fields.tax":"Tax","productItem.fields.selectTax":"Select tax","productItem.fields.price":"Price","productItem.fields.specialPrice":"Special price","productItem.fields.offerUntil":"Offer until","productItem.fields.imageUpload":"Drop image here\nor click to upload","productItem.fields.imageSizeHelper":"Maximum image size: 1.2 MB.","productItem.fields.imageSizeError":"Image exceeds the maximum allowed size of 1.2 MB.","productItem.validation.readyToSave":"Ready to save","productItem.validation.missingName":"Name missing in","productItem.validation.missingDescription":"Description missing in","productItem.validation.priceRequired":"Price is required","productItem.validation.categoryRequired":"Select a category","productItem.validation.taxRequired":"Select a tax","productItem.userGroups.title":"Specific User Groups","productItem.userGroups.restrict":"Restrict visibility to selected groups","productItem.userGroups.allUsers":"All users (no restriction)","productItem.allergens.title":"Allergens","productItem.suggestedProducts.title":"Suggested products","productItem.suggestedProducts.empty":"No suggested products added yet","productItem.suggestedProducts.addProduct":"Add product","productItem.suggestedProducts.addProductSubtitle":"Select products to suggest alongside this item","productItem.suggestedProducts.untitled":"Untitled product","productItem.suggestedProducts.noMore":"No more products available","productItem.suggestedProducts.cancel":"Cancel","productItem.suggestedProducts.addSelected":"Add selected","productItem.suggestedProducts.remove":"Remove product","productItem.questions.addQuestion":"Add question","productItem.questions.addQuestionSubtitle":"Select existing catalog questions for this item","productItem.questions.untitled":"Untitled question","productItem.questions.noMore":"No more questions available","productItem.questions.cancel":"Cancel","productItem.questions.addSelected":"Add selected","productItem.questions.title":"Questions","productItem.questions.question":"Question","productItem.questions.minMax":"Min \u2013 Max","productItem.questions.options":"Options","productItem.questions.optionSingular":"option","productItem.questions.optionPlural":"options","productItem.questions.edit":"Edit","productItem.questions.delete":"Delete","productItem.questions.empty":"No questions added yet","productItem.questions.expand":"Expand","productItem.questions.option":"Option","productItem.questions.additionalPrice":"Additional price","productItem.questions.activated":"Activated","productItem.questions.noOptions":"This question has no options","pay.title":"Payments & Billing","pay.subtitle":"Manage commissions, payment history and invoices"},pt:{"app.online":"Online","app.offline":"Offline","app.save":"Guardar alteraciones","app.edit":"Editar","app.cancel":"Cancelar","app.delete":"Eliminar","app.add":"Adicionar","app.search":"Pesquisar","app.all":"Todos","app.available":"Dispon\xedvel","app.unavailable":"Indispon\xedvel","app.preview":"Pr\xe9-visualiza\xe7\xe3o","app.previewOn":"Pr\xe9-visualiza\xe7\xe3o On","app.done":"Conclu\xeddo","app.apply":"Aplicar","app.reset":"Repor","app.close":"Fechar","app.fallbackCityMadrid":"Madrid","app.fallbackCityLisbon":"Lisboa","app.fallbackCityParis":"Paris","app.fallbackCityLondon":"Londres","app.fallbackCountrySpain":"Espanha","app.fallbackCountryPortugal":"Portugal","app.fallbackCountryFrance":"Fran\xe7a","app.fallbackCountryUnitedKingdom":"Reino Unido","nav.dashboard":"Painel Operacional","nav.realtime":"Tempo Real","nav.activeOrders":"Pedidos Ativos","nav.orderHistory":"Hist\xf3rico de Pedidos","nav.incidents":"Incidentes","nav.restaurant":"Restaurante","nav.catalogue":"Cat\xe1logo","nav.payments":"Pagamentos","nav.operations":"Opera\xe7\xf5es","nav.analytics":"Anal\xedticas","nav.settings":"Defini\xe7\xf5es","rest.title":"Perfil do Restaurante","rest.subtitle":"Configure perfil, tradu\xe7\xf5es e defini\xe7\xf5es operacionais","rest.profileTab":"Perfil","rest.operationsTab":"Opera\xe7\xf5es e Hor\xe1rios","rest.schedulesTab":"Hor\xe1rios","rest.settingsTab":"Configura\xe7\xf5es","rest.basicInfo":"Informa\xe7\xe3o B\xe1sica","rest.partnerName":"Nome do Parceiro","rest.partnerNameHelp":"Deve ser id\xeantico em todos os idiomas","rest.description":"Descri\xe7\xe3o","rest.contactPhone":"Telefone de contacto","rest.contactEmail":"Email de contacto","rest.address":"Morada","rest.pickupInstructions":"Instru\xe7\xf5es de recolha (vis\xedvel ao estafeta no Tookan)","rest.postalCode":"C\xf3digo Postal","rest.city":"Cidade","rest.country":"Pa\xeds","rest.district":"Distrito","rest.region":"Regi\xe3o","rest.restaurantGroup":"Grupo de Restaurante","rest.volupMargin":"Margem de Volup","rest.keywords":"Palavras chave","rest.keywordsHelp":"Separadas por comas. Ayudan a mejorar la b\xfasqueda del restaurante.","rest.deepLink":"Deep Link","rest.deepLinkUrl":"URL de Deep Linking","rest.deepLinkHelp":"Enlace directo al restaurante en la app","rest.copyLink":"Copiar","rest.businessConfig":"Configuraci\xf3n Comercial","rest.heroCarousel":"Carrossel Hero","rest.addSlide":"Adicionar Slide","rest.heroCarouselHelp":"Imagens do carrossel hero na p\xe1gina do restaurante. Arrasta para reordenar. M\xe1ximo 5 slides.","rest.emptySlideWarning":"Existem slides sem imagem. Adicione um URL para que apare\xe7am na pr\xe9-visualiza\xe7\xe3o.","rest.autoTranslate":"Auto-traduzir para todos","rest.autoTranslatePending":"Auto-traducir pendentes","rest.langConfig":"Configura\xe7\xe3o de Idiomas","rest.boLanguage":"Idioma do Backoffice","rest.contentBaseLanguage":"Idioma base do conte\xfado","rest.contentBaseLangHelp":"Determinado pela localiza\xe7\xe3o do restaurante","rest.translationStatus":"Estado da Tradu\xe7\xe3o","rest.base":"Base","rest.translated":"Traduzido","rest.pending":"Pendente","rest.manuallyEdited":"Editado manualmente","rest.restaurantId":"ID do Restaurante","rest.created":"Criado","rest.lastModified":"\xdaltima modifica\xe7\xe3o","rest.availability":"Controlos de Disponibilidade","rest.restaurantAvailable":"Restaurante Dispon\xedvel","rest.restaurantAvailableHelp":"Alternar para colocar o restaurante online/offline imediatamente","rest.runningDelay":"A funcionar com atraso","rest.runningDelayHelp":"Adiciona tempo extra de prepara\xe7\xe3o \xe0 entrega estimada","rest.delayActive":"O modo atraso est\xe1 ativo. +15 min adicionados a todas as estimativas de entrega.","rest.delayCustomerMsg":'Os clientes ver\xe3o "A experimentar atrasos" na app.',"rest.prepTime":"Tempo de Prepara\xe7\xe3o","rest.prepTimeLabel":"Tempo de prepara\xe7\xe3o estimado","rest.prepTimeHelp":'Tempo extra adicionado \xe0 estimativa de entrega. Os clientes ver\xe3o "A experimentar atrasos" na app.',"rest.prepTimeMinutes":"minutos","rest.calendarView":"Vista de Calend\xe1rio","rest.calendarViewHelp":"Vista geral dos turnos e hor\xe1rios do m\xeas atual.","rest.shifts":"Turnos","rest.morningShift":"Turno Ma\xf1ana","rest.eveningShift":"Turno Tarde/Noche","rest.orderSettings":"Configuraci\xf3n de Pedidos","rest.minOrderAmount":"Pedido m\xednimo","rest.maxOrdersPerSlot":"M\xe1x. pedidos por franja","rest.autoAccept":"Auto-aceptar pedidos","rest.autoAcceptHelp":"Os pedidos s\xe3o aceites automaticamente sem interven\xe7\xe3o manual","rest.deliverySettings":"Configuraci\xf3n de Entrega","rest.deliveryRadius":"Raio de entrega","rest.deliveryFee":"Tarifa de entrega base","rest.freeDeliveryMin":"Env\xedo gr\xe1tis desde","rest.estimatedDelivery":"Tempo estimado de entrega","rest.zoneRadius":"Raio","rest.addZone":"A\xf1adir Zona","rest.promotions":"Promociones","rest.promotionsHelp":"Configura ofertas y descuentos visibles para los clientes en la app.","rest.addPromotion":"A\xf1adir Promoci\xf3n","rest.promoName":"Nombre","rest.promoDiscount":"Descuento","rest.promoMinOrder":"Pedido m\xedn.","rest.promoValidUntil":"V\xe1lida hasta","rest.promoStatus":"Estado","rest.promoActive":"Activa","rest.promoScheduled":"Programada","rest.promoExpired":"Expirada","rest.promoPaused":"Pausada","rest.promoCode":"C\xf3digo","rest.promoUsage":"Usos","rest.mapToolDraw":"Dibujar zona","rest.mapToolEdit":"Editar","rest.mapToolDelete":"Borrar","rest.mapToolSelect":"Seleccionar","rest.weeklyHours":"Hor\xe1rio Semanal de Funcionamento","rest.applyAllDays":"Aplicar a todos os dias","rest.open":"Aberto","rest.closed":"Fechado","rest.scheduledUnavailability":"Indisponibilidade Programada","rest.schedule":"Programar","rest.noScheduled":"Sem indisponibilidade programada","rest.active":"Ativa","rest.scheduled":"Programada","rest.remove":"Remover","rest.timezone":"Configura\xe7\xe3o de Fuso Hor\xe1rio","rest.timezoneHelp":"Afeta pedidos agendados e a exibi\xe7\xe3o de hor\xe1rios para clientes.","rest.quickStats":"Estat\xedsticas R\xe1pidas","rest.avgPrepTime":"Tempo m\xe9dio de prepara\xe7\xe3o","rest.ordersToday":"Pedidos hoje","rest.rating":"Avalia\xe7\xe3o","rest.acceptanceRate":"Taxa de aceita\xe7\xe3o","rest.cancellationRate":"Taxa de cancelamento","rest.deliveryZones":"Zonas de Entrega","rest.deliveryZonesHelp":"Configura as zonas de cobertura de entrega. Clique no mapa para ajustar.","day.Monday":"Segunda-feira","day.Tuesday":"Ter\xe7a-feira","day.Wednesday":"Quarta-feira","day.Thursday":"Quinta-feira","day.Friday":"Sexta-feira","day.Saturday":"S\xe1bado","day.Sunday":"Domingo","cat.title":"Cat\xe1logo e Menu","cat.subtitle":"Gerir categorias, artigos, hor\xe1rios e disponibilidade","cat.addCategory":"Adicionar Categoria","cat.addItem":"Adicionar artigo","cat.categories":"Categorias","cat.totalItems":"Total de Artigos","cat.searchItems":"Pesquisar artigos...","cat.noCategoriesYet":"Ainda n\xe3o h\xe1 categorias","cat.noCategoriesHint":"Adicione uma categoria para come\xe7ar a gerir o seu cat\xe1logo.","cat.noItemsFound":"Nenhum artigo encontrado","cat.noItemsFoundHint":"Tente mudar o filtro ou o termo de pesquisa.","cat.item":"artigo","cat.items":"artigos","cat.onlyLeft":"Apenas","cat.leftToday":"restam hoje","cat.markUnavailable":"Marcar indispon\xedvel","cat.markAvailable":"Marcar dispon\xedvel","cat.translations":"Tradu\xe7\xf5es","cat.baseRequired":"obrigat\xf3rio","cat.autoTranslated":"Auto-traduzido","cat.namePlaceholder":"Introduza o nome do produto em","cat.descPlaceholder":"Escreva uma descri\xe7\xe3o atrativa em","cat.contentLang":"Idioma do conte\xfado","cat.language":"Idioma:","cat.editTranslations":"Editar tradu\xe7\xf5es","cat.autoTranslateAll":"Auto-traduzir tudo","cat.translationUpdated":"Tradu\xe7\xe3o atualizada","cat.discardChanges":"Descartar altera\xe7\xf5es","cat.discardChangesConfirm":"Descartar todas as altera\xe7\xf5es n\xe3o guardadas do cat\xe1logo?","cat.saveCatalogue":"Guardar cat\xe1logo","cat.save":"Guardar","cat.price":"Pre\xe7o","cat.specialPrice":"Pre\xe7o especial","cat.questions":"Perguntas","cat.duplicate":"Duplicar","cat.editCategory":"Editar Categoria","cat.categoryName":"Nome da categoria","cat.categoryPlaceholder":"ex. Entradas","cat.limitedPeriod":"Per\xedodo limitado","cat.limitedPeriodDesc":"Restringir esta categoria a hor\xe1rios espec\xedficos","cat.startHour":"Hora in\xedcio","cat.endHour":"Hora fim","cat.saveCategory":"Guardar categoria","cat.panelSubtitle":"Defina um nome nos 4 idiomas","cat.allLangsComplete":"Todos os 4 idiomas completos","cat.missingLangs":"Faltam:","cat.categoryDuplicated":"Categoria duplicada","cat.itemDuplicated":"Artigo duplicado","cat.missingNamesFor":"Faltam nomes para:","cat.switchToFill":"Mude para cada idioma e preencha o nome antes de guardar.","cat.deleteCategoryBlockedTitle":"N\xe3o \xe9 poss\xedvel eliminar esta categoria","cat.deleteCategoryBlockedBody":"Deve remover todos os artigos desta categoria antes de a eliminar.","cat.copy":"(c\xf3pia)","cat.langEs":"\ud83c\uddea\ud83c\uddf8 Espanhol","cat.langEn":"\ud83c\uddec\ud83c\udde7 Ingl\xeas","cat.langPt":"\ud83c\uddf5\ud83c\uddf9 Portugu\xeas","cat.langFr":"\ud83c\uddeb\ud83c\uddf7 Franc\xeas","productItem.availability.title":"Disponibilidade","productItem.availability.availableDays":"Dias de Disponibilidade","productItem.availability.selectDays":"Selecionar dias","productItem.availability.daysToPrepare":"Dias de anteced\xeancia para venda?","productItem.availability.daysSuffix":"dias","productItem.active":"Online","productItem.inactive":"Inativo","productItem.nav.back":"Voltar","productItem.breadcrumb.catalogue":"Cat\xe1logo","productItem.actions.discard":"Descartar","productItem.actions.saveItem":"Guardar item","productItem.sections.itemInfo":"Informa\xe7\xe3o do item","productItem.sections.pricing":"Pre\xe7os","productItem.fields.contentLanguage":"Idioma do conte\xfado:","productItem.fields.code":"C\xf3digo","productItem.fields.name":"Nome","productItem.fields.namePlaceholder":"Nome do item","productItem.fields.prepTime":"Tempo prep.","productItem.fields.minuteSuffix":"min","productItem.fields.description":"Descri\xe7\xe3o","productItem.fields.descriptionPlaceholder":"Descreva o item...","productItem.fields.category":"Categoria","productItem.fields.selectCategory":"Selecionar categoria","productItem.fields.subCategory":"Sub-categoria","productItem.fields.selectSubCategory":"Selecionar sub-categoria","productItem.fields.tax":"Taxa","productItem.fields.selectTax":"Selecionar taxa","productItem.fields.price":"Pre\xe7o","productItem.fields.specialPrice":"Pre\xe7o especial","productItem.fields.offerUntil":"Oferta at\xe9","productItem.fields.imageUpload":"Arraste a imagem aqui\nou clique para carregar","productItem.fields.imageSizeHelper":"Tamanho m\xe1ximo da imagem: 1.2 MB.","productItem.fields.imageSizeError":"A imagem excede o tamanho m\xe1ximo permitido de 1.2 MB.","productItem.validation.readyToSave":"Pronto para guardar","productItem.validation.missingName":"Nome em falta em","productItem.validation.missingDescription":"Descri\xe7\xe3o em falta em","productItem.validation.priceRequired":"O pre\xe7o \xe9 obrigat\xf3rio","productItem.validation.categoryRequired":"Selecione uma categoria","productItem.validation.taxRequired":"Selecione uma taxa","productItem.userGroups.title":"Grupos de utilizadores espec\xedficos","productItem.userGroups.restrict":"Restringir visibilidade aos grupos selecionados","productItem.userGroups.allUsers":"Todos os utilizadores (sem restri\xe7\xe3o)","productItem.allergens.title":"Alerg\xe9nicos","productItem.suggestedProducts.title":"Produtos sugeridos","productItem.suggestedProducts.empty":"Ainda n\xe3o foram adicionados produtos sugeridos","productItem.suggestedProducts.addProduct":"Adicionar produto","productItem.suggestedProducts.addProductSubtitle":"Seleciona produtos para sugerir junto a este artigo","productItem.suggestedProducts.untitled":"Produto sem t\xedtulo","productItem.suggestedProducts.noMore":"N\xe3o h\xe1 mais produtos dispon\xedveis","productItem.suggestedProducts.cancel":"Cancelar","productItem.suggestedProducts.addSelected":"Adicionar selecionados","productItem.suggestedProducts.remove":"Remover produto","productItem.questions.addQuestion":"Adicionar quest\xe3o","productItem.questions.addQuestionSubtitle":"Selecione quest\xf5es existentes do cat\xe1logo para este item","productItem.questions.untitled":"Quest\xe3o sem t\xedtulo","productItem.questions.noMore":"N\xe3o h\xe1 mais quest\xf5es dispon\xedveis","productItem.questions.cancel":"Cancelar","productItem.questions.addSelected":"Adicionar selecionadas","productItem.questions.title":"Quest\xf5es","productItem.questions.question":"Quest\xe3o","productItem.questions.minMax":"M\xedn. \u2013 M\xe1x.","productItem.questions.options":"Op\xe7\xf5es","productItem.questions.optionSingular":"op\xe7\xe3o","productItem.questions.optionPlural":"op\xe7\xf5es","productItem.questions.edit":"Editar","productItem.questions.delete":"Eliminar","productItem.questions.empty":"Ainda n\xe3o foram adicionadas quest\xf5es","productItem.questions.expand":"Expandir","productItem.questions.option":"Op\xe7\xe3o","productItem.questions.additionalPrice":"Pre\xe7o adicional","productItem.questions.activated":"Ativado","productItem.questions.noOptions":"Esta quest\xe3o n\xe3o tem op\xe7\xf5es","pay.title":"Pagamentos e Fatura\xe7\xe3o","pay.subtitle":"Gerir comiss\xf5es, hist\xf3rico de pagamentos e faturas"}};t.MOCK_AUTO_TRANSLATIONS={Zafiro:{es:"Zafiro",en:"Sapphire",pt:"Safira",fr:"Saphir"},Tradicional:{es:"Tradicional",en:"Traditional",pt:"Tradicional",fr:"Traditionnel"},"Chocolate Blanco":{es:"Chocolate Blanco",en:"White Chocolate",pt:"Chocolate Branco",fr:"Chocolat Blanc"},"Chocolate Belga":{es:"Chocolate Belga",en:"Belgian Chocolate",pt:"Chocolate Belga",fr:"Chocolat Belge"},"Dulce de Leche":{es:"Dulce de Leche",en:"Dulce de Leche",pt:"Doce de Leite",fr:"Dulce de Leche"},"Pistacho Ib\xe9rico":{es:"Pistacho Ib\xe9rico",en:"Iberian Pistachio",pt:"Pist\xe1chio Ib\xe9rico",fr:"Pistache Ib\xe9rique"},Oreo:{es:"Oreo",en:"Oreo",pt:"Oreo",fr:"Oreo"},"Galleta Lotus":{es:"Galleta Lotus",en:"Lotus Biscoff",pt:"Bolacha Lotus",fr:"Biscuit Lotus"},"Happy Hippo":{es:"Happy Hippo",en:"Happy Hippo",pt:"Happy Hippo",fr:"Happy Hippo"},"Mediana \xb7 20 cms \xb7 8 porciones":{es:"Mediana \xb7 20 cms \xb7 8 porciones",en:"Medium \xb7 20 cm \xb7 8 servings",pt:"M\xe9dia \xb7 20 cm \xb7 8 por\xe7\xf5es",fr:"Moyenne \xb7 20 cm \xb7 8 portions"},"Peque\xf1a \xb7 13 cms \xb7 2 porciones":{es:"Peque\xf1a \xb7 13 cms \xb7 2 porciones",en:"Small \xb7 13 cm \xb7 2 servings",pt:"Pequena \xb7 13 cm \xb7 2 por\xe7\xf5es",fr:"Petite \xb7 13 cm \xb7 2 portions"},"Pasteler\xeda artesanal premium. Tartas de dise\xf1o elaboradas con ingredientes de primera calidad. Especialidad en tartas de autor personalizadas para eventos y celebraciones.":{es:"Pasteler\xeda artesanal premium. Tartas de dise\xf1o elaboradas con ingredientes de primera calidad. Especialidad en tartas de autor personalizadas para eventos y celebraciones.",en:"Premium artisan pastry shop. Designer cakes made with the finest ingredients. Specialising in bespoke signature cakes for events and celebrations.",pt:"Pastelaria artesanal premium. Bolos de design elaborados com ingredientes da mais alta qualidade. Especialidade em bolos de autor personalizados para eventos e celebra\xe7\xf5es.",fr:"P\xe2tisserie artisanale premium. G\xe2teaux design \xe9labor\xe9s avec des ingr\xe9dients de premi\xe8re qualit\xe9. Sp\xe9cialit\xe9 en g\xe2teaux signature personnalis\xe9s pour \xe9v\xe9nements et c\xe9l\xe9brations."},Tartas:{es:"Tartas",en:"Cakes",pt:"Bolos",fr:"G\xe2teaux"},Medianas:{es:"Medianas",en:"Medium",pt:"M\xe9dias",fr:"Moyennes"},"Peque\xf1as":{es:"Peque\xf1as",en:"Small",pt:"Pequenas",fr:"Petites"},"Entrar por la puerta principal en Calle Vel\xe1zquez. El pedido estar\xe1 en el mostrador de recogida a la derecha. Preguntar por Mar\xeda si hay alg\xfan problema.":{es:"Entrar por la puerta principal en Calle Vel\xe1zquez. El pedido estar\xe1 en el mostrador de recogida a la derecha. Preguntar por Mar\xeda si hay alg\xfan problema.",en:"Enter through the main door on Calle Vel\xe1zquez. The order will be at the pickup counter on the right. Ask for Mar\xeda if there is any issue.",pt:"Entrar pela porta principal na Calle Vel\xe1zquez. O pedido estar\xe1 no balc\xe3o de recolha \xe0 direita. Perguntar pela Mar\xeda se houver algum problema.",fr:"Entrer par la porte principale sur Calle Vel\xe1zquez. La commande sera au comptoir de retrait \xe0 droite. Demander Mar\xeda en cas de probl\xe8me."}};const o=(0,l.createContext)({locale:"es",setLocale:()=>{},t:e=>e})},"0cabfeb91a080c2a2e97":function(e,t,n){var r=n("a7d3190ee2e892143ae8");"string"===typeof r&&(r=[[e.i,r,""]]);var l={hmr:!0,transform:void 0,insertInto:void 0};n("1e4534d1d62a11482e97")(r,l);r.locals&&(e.exports=r.locals)},"0cbc23df16a5c6ceec4d":function(e,t,n){e.exports=n.p+".htaccess"},"0cda946e1dbf62727634":function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e,t){return e.stateReconciler=void 0===e.stateReconciler?a.default:e.stateReconciler,(0,l.default)(e,(0,r.combineReducers)(t))};var r=n("ab4cb61bcb2dc161defb"),l=o(n("9f939b2e8b2b678f6867")),a=o(n("41986e0f63e565a35d50"));function o(e){return e&&e.__esModule?e:{default:e}}},"0cea0e08f7620dad1133":function(e,t,n){"use strict";var r=n("8e6d34d5e2b1c9c449c0");t.__esModule=!0,t.default=void 0;var l=r(n("2c62cf50f9b98ad5e2af")),a=r(n("8af190b70a6bc55c6f1b")),o=r(n("b912ecc4473ae8a2ff0b"));t.default=function(e){return a.default.forwardRef((function(t,n){return a.default.createElement("div",(0,l.default)({},t,{ref:n,className:(0,o.default)(t.className,e)}))}))},e.exports=t.default},"0cf5e47162bebf346900":function(e,t,n){e.exports=n.p+"dba92cb9dc60f9f35cbf62428afd3ac1.ttf"},"0d1dc604b6ac99d57df3":function(e,t){var n="undefined"!==typeof n?n:"undefined"!==typeof WebKitBlobBuilder?WebKitBlobBuilder:"undefined"!==typeof MSBlobBuilder?MSBlobBuilder:"undefined"!==typeof MozBlobBuilder&&MozBlobBuilder,r=function(){try{return 2===new Blob(["hi"]).size}catch(e){return!1}}(),l=r&&function(){try{return 2===new Blob([new Uint8Array([1,2])]).size}catch(e){return!1}}(),a=n&&n.prototype.append&&n.prototype.getBlob;function o(e){return e.map((function(e){if(e.buffer instanceof ArrayBuffer){var t=e.buffer;if(e.byteLength!==t.byteLength){var n=new Uint8Array(e.byteLength);n.set(new Uint8Array(t,e.byteOffset,e.byteLength)),t=n.buffer}return t}return e}))}function i(e,t){t=t||{};var r=new n;return o(e).forEach((function(e){r.append(e)})),t.type?r.getBlob(t.type):r.getBlob()}function s(e,t){return new Blob(o(e),t||{})}"undefined"!==typeof Blob&&(i.prototype=Blob.prototype,s.prototype=Blob.prototype),e.exports=r?l?Blob:s:a?i:void 0},"0d244869b6b039982d5e":function(e,t,n){"use strict";var r=n("8e6d34d5e2b1c9c449c0");t.__esModule=!0,t.default=function(e){return(0,l.default)(e&&e.parentElement?e.parentElement.firstElementChild:null,e)};var l=r(n("a47cb1f71988bf62fb88"));e.exports=t.default},"0d7f0986bcd2f33d8a2a":function(e,t,n){"use strict";(function(e){function r(e){return e&&"object"===typeof e&&"default"in e?e.default:e}Object.defineProperty(t,"__esModule",{value:!0});var l,a,o,i,s=r(n("4e0567a7cc47aad06163")),c=r(n("7830fb198d99e49e14ff")),u=r(n("ecab4188101df42db36a")),d=r(n("8af190b70a6bc55c6f1b")),f=r(n("83406643bfb209d249f4")),p="bodyAttributes",h="htmlAttributes",m="titleAttributes",g={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title"},v=(Object.keys(g).map((function(e){return g[e]})),"charset"),b="cssText",y="href",w="http-equiv",x="innerHTML",k="itemprop",S="name",C="property",O="rel",M="src",_="target",E={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},P="defaultTitle",A="defer",T="encodeSpecialCharacters",j="onChangeClientState",D="titleTemplate",N=Object.keys(E).reduce((function(e,t){return e[E[t]]=t,e}),{}),I=[g.NOSCRIPT,g.SCRIPT,g.STYLE],L="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},R=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},B=function(){function e(e,t){for(var n=0;n=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n},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},V=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,"'")},H=function(e){var t=Z(e,g.TITLE),n=Z(e,D);if(n&&t)return n.replace(/%s/g,(function(){return Array.isArray(t)?t.join(""):t}));var r=Z(e,P);return t||r||void 0},W=function(e){return Z(e,j)||function(){}},q=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,n){if(!t.length)for(var r=Object.keys(n),l=0;l=0;n--){var r=e[n];if(r.hasOwnProperty(t))return r[t]}return null},K=(l=Date.now(),function(e){var t=Date.now();t-l>16?(l=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 n=e.baseTag,r=e.bodyAttributes,l=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;le(g.BODY,r),le(g.HTML,l),re(d,f);var p={baseTag:ae(g.BASE,n),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],n=t.newTags,r=t.oldTags;n.length&&(h[e]=n),r.length&&(m[e]=p[e].oldTags)})),t&&t(),s(e,h,m)},ne=function(e){return Array.isArray(e)?e.join(""):e},re=function(e,t){"undefined"!==typeof e&&document.title!==e&&(document.title=ne(e)),le(g.TITLE,t)},le=function(e,t){var n=document.getElementsByTagName(e)[0];if(n){for(var r=n.getAttribute("data-react-helmet"),l=r?r.split(","):[],a=[].concat(l),o=Object.keys(t),i=0;i=0;d--)n.removeAttribute(a[d]);l.length===a.length?n.removeAttribute("data-react-helmet"):n.getAttribute("data-react-helmet")!==o.join(",")&&n.setAttribute("data-react-helmet",o.join(","))}},ae=function(e,t){var n=document.head||document.querySelector(g.HEAD),r=n.querySelectorAll(e+"[data-react-helmet]"),l=Array.prototype.slice.call(r),a=[],o=void 0;return t&&t.length&&t.forEach((function(t){var n=document.createElement(e);for(var r in t)if(t.hasOwnProperty(r))if(r===x)n.innerHTML=t.innerHTML;else if(r===b)n.styleSheet?n.styleSheet.cssText=t.cssText:n.appendChild(document.createTextNode(t.cssText));else{var i="undefined"===typeof t[r]?"":t[r];n.setAttribute(r,i)}n.setAttribute("data-react-helmet","true"),l.some((function(e,t){return o=t,n.isEqualNode(e)}))?l.splice(o,1):a.push(n)})),l.forEach((function(e){return e.parentNode.removeChild(e)})),a.forEach((function(e){return n.appendChild(e)})),{oldTags:l,newTags:a}},oe=function(e){return Object.keys(e).reduce((function(t,n){var r="undefined"!==typeof e[n]?n+'="'+e[n]+'"':""+n;return t?t+" "+r:r}),"")},ie=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(e).reduce((function(t,n){return t[E[n]||n]=e[n],t}),t)},se=function(e,t,n){switch(e){case g.TITLE:return{toComponent:function(){return e=t.title,n=t.titleAttributes,(r={key:e})["data-react-helmet"]=!0,l=ie(n,r),[d.createElement(g.TITLE,l,e)];var e,n,r,l},toString:function(){return function(e,t,n,r){var l=oe(n),a=ne(t);return l?"<"+e+' data-react-helmet="true" '+l+">"+V(a,r)+"":"<"+e+' data-react-helmet="true">'+V(a,r)+""}(e,t.title,t.titleAttributes,n)}};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,n){var r,l=((r={key:n})["data-react-helmet"]=!0,r);return Object.keys(t).forEach((function(e){var n=E[e]||e;if(n===x||n===b){var r=t.innerHTML||t.cssText;l.dangerouslySetInnerHTML={__html:r}}else l[n]=t[e]})),d.createElement(e,l)}))}(e,t)},toString:function(){return function(e,t,n){return t.reduce((function(t,r){var l=Object.keys(r).filter((function(e){return!(e===x||e===b)})).reduce((function(e,t){var l="undefined"===typeof r[t]?t:t+'="'+V(r[t],n)+'"';return e?e+" "+l:l}),""),a=r.innerHTML||r.cssText||"",o=-1===I.indexOf(e);return t+"<"+e+' data-react-helmet="true" '+l+(o?"/>":">"+a+"")}),"")}(e,t,n)}}}},ce=function(e){var t=e.baseTag,n=e.bodyAttributes,r=e.encode,l=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,r),bodyAttributes:se(p,n,r),htmlAttributes:se(h,l,r),link:se(g.LINK,a,r),meta:se(g.META,o,r),noscript:se(g.NOSCRIPT,i,r),script:se(g.SCRIPT,s,r),style:se(g.STYLE,c,r),title:se(g.TITLE,{title:d,titleAttributes:f},r)}},ue=c((function(e){return{baseTag:G([y,_],e),bodyAttributes:q(p,e),defer:Z(e,A),encode:Z(e,T),htmlAttributes:q(h,e),linkTags:$(g.LINK,[O,y],e),metaTags:$(g.META,[S,v,w,C,k],e),noscriptTags:$(g.NOSCRIPT,[x],e),onChangeClientState:W(e),scriptTags:$(g.SCRIPT,[M,x],e),styleTags:$(g.STYLE,[b],e),title:H(e),titleAttributes:q(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,n=e.child,r=e.arrayTypeChildren,l=e.newChildProps,a=e.nestedChildren;return F({},r,((t={})[n.type]=[].concat(r[n.type]||[],[F({},l,this.mapNestedChildrenToProps(n,a))]),t))},t.prototype.mapObjectTypeChildren=function(e){var t,n,r=e.child,l=e.newProps,a=e.newChildProps,o=e.nestedChildren;switch(r.type){case g.TITLE:return F({},l,((t={})[r.type]=o,t.titleAttributes=F({},a),t));case g.BODY:return F({},l,{bodyAttributes:F({},a)});case g.HTML:return F({},l,{htmlAttributes:F({},a)})}return F({},l,((n={})[r.type]=F({},a),n))},t.prototype.mapArrayTypeChildrenToProps=function(e,t){var n=F({},t);return Object.keys(e).forEach((function(t){var r;n=F({},n,((r={})[t]=e[t],r))})),n},t.prototype.warnOnInvalidChildren=function(e,t){return!0},t.prototype.mapChildrenToProps=function(e,t){var n=this,r={};return d.Children.forEach(e,(function(e){if(e&&e.props){var l=e.props,a=l.children,o=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(e).reduce((function(t,n){return t[N[n]||n]=e[n],t}),t)}(z(l,["children"]));switch(n.warnOnInvalidChildren(e,a),e.type){case g.LINK:case g.META:case g.NOSCRIPT:case g.SCRIPT:case g.STYLE:r=n.flattenArrayTypeChildren({child:e,arrayTypeChildren:r,newChildProps:o,nestedChildren:a});break;default:t=n.mapObjectTypeChildren({child:e,newProps:t,newChildProps:o,nestedChildren:a})}}})),t=this.mapArrayTypeChildrenToProps(r,t)},t.prototype.render=function(){var e=this.props,t=e.children,n=z(e,["children"]),r=F({},n);return t&&(r=this.mapChildrenToProps(t,r)),d.createElement(a,r)},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,n("698d75b157f24ae829cc"))},"0d7f6c423a7393c9b359":function(e,t,n){(t=e.exports=n("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,n){"use strict";var r=n("e5a243b0d2e9e9bd500e"),l=n("e16a3cd35c890a9c2059");e.exports=function(e){var t,n,a=e.length,o=[],i=[],s=-1;for(;++sthis.length)&&(t=this.length),t-=e.length;var n=this.indexOf(e,t);return-1!==n&&n===t})),String.prototype.repeat||r(String.prototype,"repeat",(function(e){for(var t="",n=this;e>0;)1&e&&(t+=n),(e>>=1)&&(n+=n);return t})),String.prototype.includes||r(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),n=1;n>>0,r=arguments[1],l=r>>0,a=l<0?Math.max(n+l,0):Math.min(l,n),o=arguments[2],i=void 0===o?n:o>>0,s=i<0?Math.max(n+i,0):Math.min(i,n);a0;)1&t&&(n+=e),(t>>=1)&&(e+=e);return n};var r=/^\s\s*/,l=/\s\s*$/;t.stringTrimLeft=function(e){return e.replace(r,"")},t.stringTrimRight=function(e){return e.replace(l,"")},t.copyObject=function(e){var t={};for(var n in e)t[n]=e[n];return t},t.copyArray=function(e){for(var t=[],n=0,r=e.length;n65535?2:1}})),ace.define("ace/lib/useragent",["require","exports","module"],(function(e,t,n){"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 r="object"==typeof navigator?navigator:{},l=(/mac|win|linux/i.exec(r.platform)||["other"])[0].toLowerCase(),a=r.userAgent||"",o=r.appName||"";t.isWin="win"==l,t.isMac="mac"==l,t.isLinux="linux"==l,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,n){"use strict";var r,l=e("./useragent");t.buildDom=function e(t,n,r){if("string"==typeof t&&t){var l=document.createTextNode(t);return n&&n.appendChild(l),l}if(!Array.isArray(t))return t&&t.appendChild&&n&&n.appendChild(t),t;if("string"!=typeof t[0]||!t[0]){for(var a=[],o=0;o1&&(e.style.left=2*n-r+"px")}if(e.style.right){n=parseFloat(e.style.right),r=window.innerWidth-t.right;Math.abs(n-r)>1&&(e.style.right=2*n-r+"px")}if(e.style.top){n=parseFloat(e.style.top),r=+t.top;Math.abs(n-r)>1&&(e.style.top=2*n-r+"px")}if(e.style.bottom){n=parseFloat(e.style.bottom),r=window.innerHeight-t.bottom;Math.abs(n-r)>1&&(e.style.bottom=2*n-r+"px")}},t.scrollbarWidth=function(e){var n=t.createElement("ace_inner");n.style.width="100%",n.style.minWidth="0px",n.style.height="200px",n.style.display="block";var r=t.createElement("ace_outer"),l=r.style;l.position="absolute",l.left="-10000px",l.overflow="hidden",l.width="200px",l.minWidth="0px",l.height="150px",l.display="block",r.appendChild(n);var a=e&&e.documentElement||document&&document.documentElement;if(!a)return 0;a.appendChild(r);var o=n.offsetWidth;l.overflow="scroll";var i=n.offsetWidth;return o===i&&(i=r.clientWidth),a.removeChild(r),o-i},t.computedStyle=function(e,t){return window.getComputedStyle(e,"")||{}},t.setStyle=function(e,t,n){e[t]!==n&&(e[t]=n)},t.HAS_CSS_ANIMATION=!1,t.HAS_CSS_TRANSFORMS=!1,t.HI_DPI=!l.isWin||"undefined"!==typeof window&&window.devicePixelRatio>=1.5,l.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),l.isEdge||"undefined"===typeof s.style.animationName||(t.HAS_CSS_ANIMATION=!0),s=null}t.HAS_CSS_TRANSFORMS?t.translate=function(e,t,n){e.style.transform="translate("+Math.round(t)+"px, "+Math.round(n)+"px)"}:t.translate=function(e,t,n){e.style.top=Math.round(n)+"px",e.style.left=Math.round(t)+"px"}})),ace.define("ace/lib/net",["require","exports","module","ace/lib/dom"],(function(e,t,n){"use strict";var r=e("./dom");t.get=function(e,t){var n=new XMLHttpRequest;n.open("GET",e,!0),n.onreadystatechange=function(){4===n.readyState&&t(n.responseText)},n.send(null)},t.loadScript=function(e,t){var n=r.getDocumentHead(),l=document.createElement("script");l.src=e,n.appendChild(l),l.onload=l.onreadystatechange=function(e,n){!n&&l.readyState&&"loaded"!=l.readyState&&"complete"!=l.readyState||(l=l.onload=l.onreadystatechange=null,n||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,n){"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 n in t)e[n]=t[n];return e},t.implement=function(e,n){t.mixin(e,n)}})),ace.define("ace/lib/event_emitter",["require","exports","module"],(function(e,t,n){"use strict";var r={},l=function(){this.propagationStopped=!0},a=function(){this.defaultPrevented=!0};r._emit=r._dispatchEvent=function(e,t){this._eventRegistry||(this._eventRegistry={}),this._defaultHandlers||(this._defaultHandlers={});var n=this._eventRegistry[e]||[],r=this._defaultHandlers[e];if(n.length||r){"object"==typeof t&&t||(t={}),t.type||(t.type=e),t.stopPropagation||(t.stopPropagation=l),t.preventDefault||(t.preventDefault=a),n=n.slice();for(var o=0;o1&&(l=n[n.length-2]);var o=i[t+"Path"];return null==o?o=i.basePath:"/"==r&&(t=r=""),o&&"/"!=o.slice(-1)&&(o+="/"),o+t+r+l+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(n,r){var a;if(Array.isArray(n))var o=n[0],i=n[1];else if("string"==typeof n)i=n;var u=function(n){if(n&&!t.$loading[i])return r&&r(n);if(t.$loading[i]||(t.$loading[i]=[]),t.$loading[i].push(r),!(t.$loading[i].length>1)){var a=function(){!function(t,n){"ace/theme/textmate"===t||"./theme/textmate"===t?n(null,e("./theme/textmate")):s?s(t,n):console.error("loader is not configured")}(i,(function(e,n){n&&(t.$loaded[i]=n),t._emit("load.module",{name:i,module:n});var r=t.$loading[i];t.$loading[i]=null,r.forEach((function(e){e&&e(n)}))}))};if(!t.get("packaged"))return a();l.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 n.require){return n.require(e)}},t.setModuleLoader=function(e,n){t.dynamicModules[e]=n};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,r){"use strict";e("./lib/fixoldbrowsers");var l=e("./config");l.setLoader((function(t,n){e([t],(function(e){n(null,e)}))}));var a=function(){return this||"undefined"!=typeof window&&window}();function o(t){if(a&&a.document){l.set("packaged",t||e.packaged||r.packaged||a.define&&n("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,n=e.end,r=e.start;return 1==(t=this.compare(n.row,n.column))?1==(t=this.compare(r.row,r.column))?2:0==t?1:0:-1==t?-2:-1==(t=this.compare(r.row,r.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,n){if(this.end.row>n)var r={row:n+1,column:0};else if(this.end.rown)var l={row:n+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}),n[d-1]||600),1==d&&(i=e.clientX,s=e.clientY)}if(e._clicks=d,r[l]("mousedown",e),d>4)d=0;else if(d>1)return r[l](f[d],e)}Array.isArray(e)||(e=[e]),e.forEach((function(e){u(e,"mousedown",p,o)}))},t.getModifierString=function(e){return l.KEY_MODS[f(e)]},t.addCommandKeyListener=function(e,n,r){var s=null;u(e,"keydown",(function(e){o[e.keyCode]=(o[e.keyCode]||0)+1;var t=function(e,t,n){var r=f(t);if(!n&&t.code&&(n=l.$codeToKeyCode[t.code]||n),!a.isMac&&o){if(t.getModifierState&&(t.getModifierState("OS")||t.getModifierState("Win"))&&(r|=8),o.altGr){if(3==(3&r))return;o.altGr=0}if(18===n||17===n){var s=t.location;if(17===n&&1===s)1==o[n]&&(i=t.timeStamp);else if(18===n&&3===r&&2===s){t.timeStamp-i<50&&(o.altGr=!0)}}}if(n in l.MODIFIER_KEYS&&(n=-1),r||13!==n||3!==t.location||(e(t,r,-n),!t.defaultPrevented)){if(a.isChromeOS&&8&r){if(e(t,r,n),t.defaultPrevented)return;r&=-9}return!!(r||n in l.FUNCTION_KEYS||n in l.PRINTABLE_KEYS)&&e(t,r,n)}}(n,e,e.keyCode);return s=e.defaultPrevented,t}),r),u(e,"keypress",(function(e){s&&(e.ctrlKey||e.altKey||e.shiftKey||e.metaKey)&&(t.stopEvent(e),s=null)}),r),u(e,"keyup",(function(e){o[e.keyCode]=null}),r),o||(p(),u(window,"focus",p))},"object"==typeof window&&window.postMessage&&!a.isOldIE){var h=1;t.nextTick=function(e,n){n=n||window;var r="zero-timeout-message-"+h++,l=function(a){a.data==r&&(t.stopPropagation(a),d(n,"message",l),e())};u(n,"message",l),n.postMessage(r,"*")}}t.$idleBlocked=!1,t.onIdle=function(e,n){return setTimeout((function n(){t.$idleBlocked?setTimeout(n,100):e()}),n)},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,n){"use strict";var r;n.exports={lineMode:!1,pasteCancelled:function(){return!!(r&&r>Date.now()-50)||(r=!1)},cancel:function(){r=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,n){"use strict";var r=e("../lib/event"),l=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,v=function(){function e(e,t){var n=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"}),r.addListener(this.text,"blur",(function(e){n.ignoreFocusEvents||(t.onBlur(e),n.$isFocused=!1)}),t),r.addListener(this.text,"focus",(function(e){if(!n.ignoreFocusEvents){if(n.$isFocused=!0,a.isEdge)try{if(!document.hasFocus())return}catch(e){}t.onFocus(e),a.isEdge?setTimeout(n.resetSelection.bind(n)):n.resetSelection()}}),t),this.$focusScroll=!1,t.on("beforeEndOperation",(function(){var e=t.curOp,r=e&&e.command&&e.command.name;if("insertstring"!=r){var l=r&&(e.docChanged||e.selectionChanged);n.inComposition&&l&&(n.lastValue=n.text.value="",n.onCompositionEnd()),n.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,r.addCommandKeyListener(this.text,(function(e,r,l){if(!n.inComposition)return t.onCommandKey(e,r,l)}),t),r.addListener(this.text,"select",this.onSelect.bind(this),t),r.addListener(this.text,"input",this.onInput.bind(this),t),r.addListener(this.text,"cut",this.onCut.bind(this),t),r.addListener(this.text,"copy",this.onCopy.bind(this),t),r.addListener(this.text,"paste",this.onPaste.bind(this),t),"oncut"in this.text&&"oncopy"in this.text&&"onpaste"in this.text||r.addListener(e,"keydown",(function(e){if((!a.isMac||e.metaKey)&&e.ctrlKey)switch(e.keyCode){case 67:n.onCopy(e);break;case 86:n.onPaste(e);break;case 88:n.onCut(e)}}),t),this.syncComposition=i.delayedCall(this.onCompositionUpdate.bind(this),50).schedule.bind(null,null),r.addListener(this.text,"compositionstart",this.onCompositionStart.bind(this),t),r.addListener(this.text,"compositionupdate",this.onCompositionUpdate.bind(this),t),r.addListener(this.text,"keyup",this.onKeyup.bind(this),t),r.addListener(this.text,"keydown",this.syncComposition.bind(this),t),r.addListener(this.text,"compositionend",this.onCompositionEnd.bind(this),t),this.closeTimeout,r.addListener(this.text,"mouseup",this.$onContextMenu.bind(this),t),r.addListener(this.text,"mousedown",(function(e){e.preventDefault(),n.onContextMenuClose()}),t),r.addListener(t.renderer.scroller,"contextmenu",this.$onContextMenu.bind(this),t),r.addListener(this.text,"contextmenu",this.$onContextMenu.bind(this),t),h&&this.addIosSelectionHandler(e,t,this.text)}return e.prototype.addIosSelectionHandler=function(e,t,n){var r=this,l=null,a=!1;n.addEventListener("keydown",(function(e){l&&clearTimeout(l),a=!0}),!0),n.addEventListener("keyup",(function(e){l=setTimeout((function(){a=!1}),100)}),!0);var o=function(e){if(document.activeElement===n&&!(a||r.inComposition||t.$mouseHandler.isMousePressed)&&!r.copied){var l=n.selectionStart,o=n.selectionEnd,i=null,s=0;if(0==l?i=f.up:1==l?i=f.home:o>r.lastSelectionEnd&&"\n"==r.lastValue[o]?i=f.end:lr.lastSelectionEnd&&r.lastValue.slice(0,o).split("\n").length>2?i=f.down:o>r.lastSelectionEnd&&" "==r.lastValue[o-1]?(i=f.right,s=p.option):(o>r.lastSelectionEnd||o==r.lastSelectionEnd&&r.lastSelectionEnd!=r.lastSelectionStart&&l==o)&&(i=f.right),l!==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)}r.lastSelectionStart=l,r.lastSelectionEnd=o,r.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(n)||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 n=this.text.selectionStart,r=this.text.selectionEnd,l=this.lastSelectionStart,o=this.lastValue.length-this.lastSelectionEnd,i=e,s=e.length-n,c=e.length-r,u=0;l>0&&this.lastValue[u]==e[u];)u++,l--;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&&(l=-d,d=0),i=i.slice(0,d),!t&&!i&&!s&&!l&&!o&&!c)return"";this.sendingText=!0;var f=!1;return a.isAndroid&&". "==i&&(i=" ",f=!0),i&&!l&&!o&&!s&&!c||this.commandMode?this.host.onTextInput(i):this.host.onTextInput(i,{extendLeft:l,extendRight:o,restoreStart:s,restoreEnd:c}),this.sendingText=!1,this.lastValue=e,this.lastSelectionStart=n,this.lastSelectionEnd=r,this.lastRestoreEnd=c,f?"\n":i},e.prototype.onSelect=function(e){var t=this;if(!this.inComposition){var n;this.copied?this.copied=!1:0===(n=this.text).selectionStart&&n.selectionEnd>=t.lastValue.length&&n.value===t.lastValue&&t.lastValue&&n.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 n=4+(e.length||(this.host.selection.isEmpty()?0:1));4==this.lastSelectionStart&&this.lastSelectionEnd==n||this.text.setSelectionRange(4,n),this.lastSelectionStart=4,this.lastSelectionEnd=n}},e.prototype.$resetSelection=function(){var e=this;if(!this.inComposition&&!this.sendingText&&(this.$isFocused||this.afterContextMenu)){this.inComposition=!0;var t=0,n=0,r="",l=function(t,n){for(var r=n,l=1;l<=t-e.rowStart&&l<2*e.numberOfExtraLines+1;l++)r+=e.host.session.getLine(t-l).length+1;return r};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(r=s.join("\n"),t=l(o.start.row,o.start.column),n=l(o.end.row,o.end.column),o.start.rowthis.rowEnd){var d=this.host.session.getLine(this.rowEnd+1);n=o.end.row>this.rowEnd+1?d.length:o.end.column,n+=r.length+1,r=r+"\n"+d}else g&&i>0&&(r="\n"+r,n+=1,t+=1);r.length>400&&(t<400&&n<400?r=r.slice(0,400):(r="\n",t==n?t=n=0:(t=0,n=1)));var f=r+"\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!=n||this.lastSelectionStart!=t||this.text.selectionEnd!=this.lastSelectionEnd)try{this.text.setSelectionRange(t,n),this.lastSelectionStart=t,this.lastSelectionEnd=n}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+=l("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",l("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 n=0!=this.text.getBoundingClientRect().top}catch(e){return}var r=[];if(n)for(var l=this.text.parentElement;l&&1==l.nodeType;)r.push(l),l.setAttribute("ace_nocontext","true"),l=!l.parentElement&&l.getRootNode?l.getRootNode().host:l.parentElement;this.text.focus({preventScroll:!0}),n&&r.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 n=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 l=this.host.container.getBoundingClientRect(),i=o.computedStyle(this.host.container),s=l.top+(parseInt(i.borderTopWidth)||0),c=l.left+(parseInt(i.borderLeftWidth)||0),u=l.bottom-s-this.text.clientHeight-2,d=function(e){o.translate(n.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&&r.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=v,t.$setUserAgentForTests=function(e,t){g=e,h=t}})),ace.define("ace/mouse/default_handlers",["require","exports","module","ace/lib/useragent"],(function(e,t,n){"use strict";var r=e("../lib/useragent"),l=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(),n=e.getDocumentPosition();this.mousedownEvent=e;var l=this.editor,a=e.getButton();return 0!==a?((l.getSelectionRange().isEmpty()||1==a)&&l.selection.moveToPosition(n),void(2==a&&(l.textInput.onContextMenu(e.domEvent),r.isMozilla||e.preventDefault()))):(this.mousedownEvent.time=Date.now(),!t||l.isFocused()||(l.focus(),!this.$focusTimeout||this.$clickSelection||l.inMultiSelectMode)?(this.captureMouse(e),this.startSelect(n,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 n=this.editor;this.mousedownEvent&&(this.mousedownEvent.getShiftKey()?n.selection.selectToPosition(e):t||n.selection.moveToPosition(e),t||this.select(),n.setStyle("ace_selecting"),this.setState("select"))},e.prototype.select=function(){var e,t=this.editor,n=t.renderer.screenToTextCoordinates(this.x,this.y);if(this.$clickSelection){var r=this.$clickSelection.comparePoint(n);if(-1==r)e=this.$clickSelection.end;else if(1==r)e=this.$clickSelection.start;else{var l=a(this.$clickSelection,n,t.session);n=l.cursor,e=l.anchor}t.selection.setSelectionAnchor(e.row,e.column)}t.selection.selectToPosition(n),t.renderer.scrollCursorIntoView()},e.prototype.extendSelectionBy=function(e){var t,n=this.editor,r=n.renderer.screenToTextCoordinates(this.x,this.y),l=n.selection[e](r.row,r.column);if(this.$clickSelection){var o=this.$clickSelection.comparePoint(l.start),i=this.$clickSelection.comparePoint(l.end);if(-1==o&&i<=0)t=this.$clickSelection.end,l.end.row==r.row&&l.end.column==r.column||(r=l.start);else if(1==i&&o>=0)t=this.$clickSelection.start,l.start.row==r.row&&l.start.column==r.column||(r=l.end);else if(-1==o&&1==i)r=l.end,t=l.start;else{var s=a(this.$clickSelection,r,n.session);r=s.cursor,t=s.anchor}n.selection.setSelectionAnchor(t.row,t.column)}n.selection.selectToPosition(r),n.renderer.scrollCursorIntoView()},e.prototype.selectByLinesEnd=function(){this.$clickSelection=null,this.editor.unsetStyle("ace_selecting")},e.prototype.focusWait=function(){var e,t,n,r,l=(e=this.mousedownEvent.x,t=this.mousedownEvent.y,n=this.x,r=this.y,Math.sqrt(Math.pow(n-e,2)+Math.pow(r-t,2))),a=Date.now();(l>0||a-this.mousedownEvent.time>this.$focusTimeout)&&this.startSelect(this.mousedownEvent.getDocumentPosition())},e.prototype.onDoubleClick=function(e){var t=e.getDocumentPosition(),n=this.editor,r=n.session.getBracketRange(t);r?(r.isEmpty()&&(r.start.column--,r.end.column++),this.setState("select")):(r=n.selection.getWordRange(t.row,t.column),this.setState("selectByWords")),this.$clickSelection=r,this.select()},e.prototype.onTripleClick=function(e){var t=e.getDocumentPosition(),n=this.editor;this.setState("selectByLines");var r=n.getSelectionRange();r.isMultiLine()&&r.contains(t.row,t.column)?(this.$clickSelection=n.selection.getLineRange(r.start.row),this.$clickSelection.end=n.selection.getLineRange(r.end.row).end):this.$clickSelection=n.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 n=this.$lastScroll,r=e.domEvent.timeStamp,l=r-n.t,a=l?e.wheelX/l:n.vx,o=l?e.wheelY/l:n.vy;l<550&&(a=(a+n.vx)/2,o=(o+n.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)n.allowed=r;else if(r-n.allowed<550){Math.abs(a)<=1.5*Math.abs(n.vx)&&Math.abs(o)<=1.5*Math.abs(n.vy)?(s=!0,n.allowed=r):n.allowed=0}return n.t=r,n.vx=a,n.vy=o,s?(t.renderer.scrollBy(e.wheelX*e.speed,e.wheelY*e.speed),e.stop()):void 0}},e}();function a(e,t,n){if(e.start.row==e.end.row)var r=2*t.column-e.start.column-e.end.column;else if(e.start.row!=e.end.row-1||e.start.column||e.end.column)r=2*t.row-e.start.row-e.end.row;else var r=3*t.column-2*n.getLine(e.start.row).length;return r<0?{cursor:e.start,anchor:e.end}:{cursor:e.end,anchor:e.start}}l.prototype.selectEnd=l.prototype.selectByLinesEnd,l.prototype.selectAllEnd=l.prototype.selectByLinesEnd,l.prototype.selectByWordsEnd=l.prototype.selectByLinesEnd,t.DefaultHandlers=l})),ace.define("ace/mouse/mouse_event",["require","exports","module","ace/lib/event","ace/lib/useragent"],(function(e,t,n){"use strict";var r=e("../lib/event"),l=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(){r.stopPropagation(this.domEvent),this.propagationStopped=!0},e.prototype.preventDefault=function(){r.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 r.getButton(this.domEvent)},e.prototype.getShiftKey=function(){return this.domEvent.shiftKey},e.prototype.getAccelKey=function(){return l.isMac?this.domEvent.metaKey:this.domEvent.ctrlKey},e}();t.MouseEvent=a})),ace.define("ace/lib/scroll",["require","exports","module"],(function(e,t,n){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,n){"use strict";var r,l=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(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 n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=this&&this.__values||function(e){var t="function"===typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"===typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],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,n){null!=e&&this.setText(e),null!=t&&null!=n&&this.setPosition(t,n),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,n,r;this.popups.sort((function(e,t){return t.priority-e.priority}));var l=[];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=(n=void 0,a(l)),d=u.next();!d.done;d=u.next()){var f=d.value;if(this.doPopupsOverlap(f,s)){c=!1;break}}}catch(e){n={error:e}}finally{try{d&&!d.done&&(r=u.return)&&r.call(u)}finally{if(n)throw n.error}}c?l.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 n=e.getElement().getBoundingClientRect(),r=t.getElement().getBoundingClientRect();return n.leftr.left&&n.topr.top},e}());t.popupManager=u,t.Tooltip=c;var d=function(e){function t(t){void 0===t&&(t=document.body);var n=e.call(this,t)||this;n.timeout=void 0,n.lastT=0,n.idleTime=350,n.lastEvent=void 0,n.onMouseOut=n.onMouseOut.bind(n),n.onMouseMove=n.onMouseMove.bind(n),n.waitForHover=n.waitForHover.bind(n),n.hide=n.hide.bind(n);var r=n.getElement();return r.style.whiteSpace="pre-wrap",r.style.pointerEvents="auto",r.addEventListener("mouseout",n.onMouseOut),r.tabIndex=-1,r.addEventListener("blur",function(){r.contains(document.activeElement)||this.hide()}.bind(n)),r.addEventListener("wheel",s),n}return l(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 n=t.$mouseHandler.isMousePressed;if(this.isOpen){var r=this.lastEvent&&this.lastEvent.getDocumentPosition();this.range&&this.range.contains(r.row,r.column)&&!n&&!this.isOutsideOfText(this.lastEvent)||this.hide()}this.timeout||n||(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,n=e.getDocumentPosition(),r=t.session.getLine(n.row);if(n.column==r.length){var l=t.renderer.pixelToScreenCoordinates(e.clientX,e.clientY),a=t.session.documentToScreenPosition(n.row,n.column);if(a.column!=l.column||a.row!=l.row)return!0}return!1},t.prototype.setDataProvider=function(e){this.$gatherData=e},t.prototype.showForRange=function(e,t,n,r){if((!r||r==this.lastEvent)&&(!this.isOpen||document.activeElement!=this.getElement())){var l=e.renderer;this.isOpen||(u.addPopup(this),this.$registerCloseEvents(),this.setTheme(l.theme)),this.isOpen=!0,this.range=i.fromPoints(t.start,t.end);var a=l.textToScreenCoordinates(t.start.row,t.start.column),s=l.scroller.getBoundingClientRect();a.pageX=e.length&&(e=void 0),{value:e&&e[r++],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,n=t.renderer.$gutterLayer;e.$tooltip=new d(t),e.$tooltip.addToEditor(t),e.$tooltip.setDataProvider((function(t,n){var r=t.getDocumentPosition().row;e.$tooltip.showTooltip(r)})),e.editor.setDefaultHandler("guttermousedown",(function(r){if(t.isFocused()&&0==r.getButton()&&"foldWidgets"!=n.getRegion(r)){var l=r.getDocumentPosition().row,a=t.session.selection;if(r.getShiftKey())a.selectTo(l,0);else{if(2==r.domEvent.detail)return t.selectAll(),r.preventDefault();e.$clickSelection=t.selection.getLineRange(l)}return e.setState("selectByLines"),e.captureMouse(r),r.preventDefault()}}))};var d=function(e){function t(n){var r=e.call(this,n.container)||this;r.id="gt"+ ++t.$uid,r.editor=n,r.visibleTooltipRow;var l=r.getElement();return l.setAttribute("role","tooltip"),l.setAttribute("id",r.id),l.style.pointerEvents="auto",r.idleTime=50,r.onDomMouseMove=r.onDomMouseMove.bind(r),r.onDomMouseOut=r.onDomMouseOut.bind(r),r.setClassName("ace_gutter-tooltip"),r}return l(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 n=t.renderer.$gutter;n.addEventListener("mousemove",this.onDomMouseMove),n.addEventListener("mouseout",this.onDomMouseOut),e.prototype.addToEditor.call(this,t)},t.prototype.removeFromEditor=function(t){var n=t.renderer.$gutter;n.removeEventListener("mousemove",this.onDomMouseMove),n.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 n,r,l=this.editor.renderer.$gutterLayer,a=l.$annotations[e];r=a?{displayText:Array.from(a.displayText),type:Array.from(a.type)}:{displayText:[],type:[]};var i=l.session.getFoldLine(e);if(i&&l.$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(l.$annotations[f])for(var p=0;p2)return n.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 n=this.$findLinkedAnnotationNode(this.visibleTooltipRow);n&&n.removeAttribute("aria-describedby")}this.visibleTooltipRow=void 0,this.editor._signal("hideGutterTooltip",this),e.prototype.hide.call(this,t)}},t.annotationsToSummaryString=function(e){var n,r,l=[];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;l.push("".concat(e[s].length," ").concat(c))}}}catch(e){n={error:e}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}return l.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,n){"use strict";var r=e("../lib/dom"),l=e("../lib/event"),a=e("../lib/useragent");function o(e){var t=e.editor,n=r.createElement("div");n.style.cssText="top:-100px;position:absolute;z-index:2147483647;opacity:0.5",n.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,v,b=t.container,y=0;function w(){var e=f;(function(e,n){var r=Date.now(),l=!n||e.row!=n.row,a=!n||e.column!=n.column;!g||l||a?(t.moveCursorToPosition(e),g=r,v={x:s,y:c}):i(v.x,v.y,s,c)>5?g=null:r-g>=200&&(t.renderer.scrollCursorIntoView(),g=null)})(f=t.renderer.screenToTextCoordinates(s,c),e),function(e,n){var r=Date.now(),l=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=r: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),y=0,l.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,y=0,m=null,g=null,l.removeListener(document,"mousemove",C)}this.onDragStart=function(e){if(this.cancelDrag||!b.draggable){var r=this;return setTimeout((function(){r.startSelect(),r.captureMouse(e)}),0),e.preventDefault()}d=t.getSelectionRange();var l=e.dataTransfer;l.effectAllowed=t.getReadOnly()?"copy":"copyMove",t.container.appendChild(n),l.setDragImage&&l.setDragImage(n,0,0),setTimeout((function(){t.container.removeChild(n)})),l.clearData(),l.setData("Text",t.session.getTextRange()),h=!0,this.setState("drag")},this.onDragEnd=function(e){if(b.draggable=!1,h=!1,this.setState(null),!t.getReadOnly()){var n=e.dataTransfer.dropEffect;p||"move"!=n||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(),y++,e.dataTransfer.dropEffect=p=M(e),l.preventDefault(e)},this.onDragOver=function(e){if(!t.getReadOnly()&&O(e.dataTransfer))return s=e.clientX,c=e.clientY,o||(x(),y++),null!==S&&(S=null),e.dataTransfer.dropEffect=p=M(e),l.preventDefault(e)},this.onDragLeave=function(e){if(--y<=0&&o)return k(),p=null,l.preventDefault(e)},this.onDrop=function(e){if(f){var n=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 r=n.getData("Text");d={start:f,end:t.session.insert(f,r)},t.focus(),p=null}return k(),l.preventDefault(e)}},l.addListener(b,"dragstart",this.onDragStart.bind(e),t),l.addListener(b,"dragend",this.onDragEnd.bind(e),t),l.addListener(b,"dragenter",this.onDragEnter.bind(e),t),l.addListener(b,"dragover",this.onDragOver.bind(e),t),l.addListener(b,"dragleave",this.onDragLeave.bind(e),t),l.addListener(b,"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"],n=a.isMac?e.altKey:e.ctrlKey,r="uninitialized";try{r=e.dataTransfer.effectAllowed.toLowerCase()}catch(e){}var l="none";return n&&t.indexOf(r)>=0?l="copy":["move","copymove","linkmove","all","uninitialized"].indexOf(r)>=0?l="move":t.indexOf(r)>=0&&(l="copy"),l}}function i(e,t,n,r){return Math.sqrt(Math.pow(n-e,2)+Math.pow(r-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,n=e.inSelection(),r=e.getButton();if(1===(e.domEvent.detail||1)&&0===r&&n){if(e.editor.inMultiSelectMode&&(e.getAccelKey()||e.getShiftKey()))return;this.mousedownEvent.time=Date.now();var l=e.domEvent.target||e.domEvent.srcElement;if("unselectable"in l&&(l.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,n){"use strict";var r=e("./mouse_event").MouseEvent,l=e("../lib/event"),a=e("../lib/dom");t.addTouchListeners=function(e,t){var n,o,i,s,c,u,d,f,p,h="scroll",m=0,g=0,v=0,b=0;function y(){var e=window.navigator&&window.navigator.clipboard,n=!1,r=function(e){return t.commands.canExecute(e,t)},l=function(l){var o,i,s=l.target.getAttribute("action");if("more"==s||!n)return n=!n,o=t.getCopyText(),i=t.session.getUndoManager().hasUndo(),void p.replaceChild(a.buildDom(n?["span",!o&&r("selectall")&&["span",{class:"ace_mobile-button",action:"selectall"},"Select All"],o&&r("copy")&&["span",{class:"ace_mobile-button",action:"copy"},"Copy"],o&&r("cut")&&["span",{class:"ace_mobile-button",action:"cut"},"Cut"],e&&r("paste")&&["span",{class:"ace_mobile-button",action:"paste"},"Paste"],i&&r("undo")&&["span",{class:"ace_mobile-button",action:"undo"},"Undo"],r("find")&&["span",{class:"ace_mobile-button",action:"find"},"Find"],r("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",n=!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(),l(e)},onclick:l},["span"],["span",{class:"ace_mobile-button",action:"more"},"..."]],t.container)}function w(){if(t.getOption("enableMobileMenu")){p||y();var e=t.selection.cursor,n=t.renderer.textToScreenCoordinates(e.row,e.column),r=t.renderer.textToScreenCoordinates(0,0).pageX,l=t.renderer.scrollLeft,a=t.container.getBoundingClientRect();p.style.top=n.pageY-a.top-3+"px",n.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 y=l[0],w=y.clientX,x=y.clientY;Math.abs(n-w)+Math.abs(o-x)>a&&(i=-1),n=e.clientX=w,o=e.clientY=x,v=b=0;var S=new r(e,t);if(d=S.getDocumentPosition(),p-i<500&&1==l.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),l.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(v)<.01&&(v=0),Math.abs(b)<.01&&(b=0),m<20&&(v*=.9),m<20&&(b*=.9);var e=t.session.getScrollTop();t.renderer.scrollBy(10*v,10*b),e==t.session.getScrollTop()&&(m=0)}),10),x()):w(),clearTimeout(c),c=null}),t),l.addListener(e,"touchmove",(function(e){c&&(clearTimeout(c),c=null);var l=e.touches;if(!(l.length>1||"zoom"==h)){var a=l[0],i=n-a.clientX,u=o-a.clientY;if("wait"==h){if(!(i*i+u*u>4))return e.preventDefault();h="cursor"}n=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 r(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=n[l-1])&&3!=s||2!=(c=t[l+1])&&3!=c?4:(a&&(c=3),c==s?c:4);case 10:return 2==(s=l>0?n[l-1]:5)&&l+10&&2==n[l-1])return 2;if(a)return 4;for(d=l+1,u=t.length;d=1425&&p<=2303||64286==p;if(s=t[d],h&&(1==s||7==s))return 1}return l<1||5==(s=t[l-1])?4:n[l-1];case 5:return a=!1,o=!0,r;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),n=t>>8;return 0==n?t>191?0:u[t]:5==n?/[\u0591-\u05f4]/.test(e)?1:0:6==n?/[\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==n&&t<=8287?d[255&t]:254==n&&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,n,u){if(e.length<2)return{};var d=e.split(""),m=new Array(d.length),g=new Array(d.length),v=[];r=u?1:0,function(e,t,n,u){var d=r?c:s,f=null,m=null,g=null,v=0,b=null,y=-1,w=null,x=null,k=[];if(!u)for(w=0,u=[];w0)if(16==b){for(w=y;w-1){for(w=y;w=0&&8==u[S];S--)t[S]=r}}(d,v,d.length,n);for(var b=0;b7&&n[b]<13||4===n[b]||18===n[b])?v[b]=t.ON_R:b>0&&"\u0644"===d[b-1]&&/\u0622|\u0623|\u0625|\u0627/.test(d[b])&&(v[b-1]=v[b]=t.R_H,b++);d[d.length-1]===t.DOT&&(v[d.length-1]=t.B),"\u202b"===d[0]&&(v[0]=t.RLE);for(b=0;b=0&&(e=this.session.$docRowCache[n])}return e},e.prototype.getSplitIndex=function(){var e=0,t=this.session.$screenRowCache;if(t.length)for(var n,r=this.session.$getRowCacheIndex(t,this.currentRow);this.currentRow-e>0&&(n=this.session.$getRowCacheIndex(t,this.currentRow-e-1))===r;)r=n,e++;else e=this.currentRow;return e},e.prototype.updateRowLine=function(e,t){void 0===e&&(e=this.getDocumentRow());var n=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[r.L],this.line=tt?this.session.getOverwrite()?e:e-1:t,l=r.getVisualFromLogicalIdx(n,this.bidiMap),a=this.bidiMap.bidiLevels,o=0;!this.session.getOverwrite()&&e<=t&&a[l]%2!==0&&l++;for(var i=0;it&&a[l]%2===0&&(o+=this.charWidths[a[l]]),this.wrapIndent&&(o+=this.isRtlDir?-1*this.wrapOffset:this.wrapOffset),this.isRtlDir&&(o+=this.rtlLineOffset),o},e.prototype.getSelections=function(e,t){var n,r=this.bidiMap,l=r.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&&fn+a/2;){if(n+=a,r===l.length-1){a=0;break}a=this.charWidths[l[++r]]}return r>0&&l[r-1]%2!==0&&l[r]%2===0?(e0&&l[r-1]%2===0&&l[r]%2!==0?t=1+(e>n?this.bidiMap.logicalFromVisual[r]:this.bidiMap.logicalFromVisual[r-1]):this.isRtlDir&&r===l.length-1&&0===a&&l[r-1]%2===0||!this.isRtlDir&&0===r&&l[r]%2!==0?t=1+this.bidiMap.logicalFromVisual[r]:(r>0&&l[r-1]%2!==0&&0!==a&&r--,t=this.bidiMap.logicalFromVisual[r]),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,n){"use strict";var r=e("./lib/oop"),l=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 n=t?e.end:e.start,r=t?e.start:e.end;this.$setSelection(n.row,n.column,r.row,r.column)},e.prototype.$setSelection=function(e,t,n,r){if(!this.$silent){var l=this.$isEmpty,a=this.inMultiSelectMode;this.$silent=!0,this.$cursorChanged=this.$anchorChanged=!1,this.anchor.setPosition(e,t),this.cursor.setPosition(n,r),this.$isEmpty=!o.comparePoints(this.anchor,this.cursor),this.$silent=!1,this.$cursorChanged&&this._emit("changeCursor"),(this.$cursorChanged||this.$anchorChanged||l!=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 n=e||this.lead;e=n.row,t=n.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 n,r="number"==typeof e?e:this.lead.row,l=this.session.getFoldLine(r);return l?(r=l.start.row,n=l.end.row):n=r,!0===t?new o(r,0,n,this.session.getLine(n).length):new o(r,0,n+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,n){var r=e.column,l=e.column+t;return n<0&&(r=e.column-t,l=e.column),this.session.isTabStop(e)&&this.doc.getLine(e.row).slice(r,l).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 n=this.session.getTabSize();this.wouldMoveIntoSoftTab(t,n,-1)&&!this.session.getNavigateWithinSoftTabs()?this.moveCursorBy(0,-n):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=r)}}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,n=this.doc.getLine(e),r=n.substring(t);this.session.nonTokenRe.lastIndex=0,this.session.tokenRe.lastIndex=0;var l=this.session.getFoldAt(e,t,1);if(l)this.moveCursorTo(l.end.row,l.end.column);else{if(this.session.nonTokenRe.exec(r)&&(t+=this.session.nonTokenRe.lastIndex,this.session.nonTokenRe.lastIndex=0,r=n.substring(t)),t>=n.length)return this.moveCursorTo(e,n.length),this.moveCursorRight(),void(e0&&this.moveCursorWordLeft());this.session.tokenRe.exec(a)&&(n-=this.session.tokenRe.lastIndex,this.session.tokenRe.lastIndex=0),this.moveCursorTo(t,n)}},e.prototype.$shortWordEndIndex=function(e){var t,n=0,r=/\s/,l=this.session.tokenRe;if(l.lastIndex=0,this.session.tokenRe.exec(e))n=this.session.tokenRe.lastIndex;else{for(;(t=e[n])&&r.test(t);)n++;if(n<1)for(l.lastIndex=0;(t=e[n])&&!l.test(t);)if(l.lastIndex=0,n++,r.test(t)){if(n>2){n--;break}for(;(t=e[n])&&r.test(t);)n++;if(n>2)break}}return l.lastIndex=0,n},e.prototype.moveCursorShortWordRight=function(){var e=this.lead.row,t=this.lead.column,n=this.doc.getLine(e),r=n.substring(t),l=this.session.getFoldAt(e,t,1);if(l)return this.moveCursorTo(l.end.row,l.end.column);if(t==n.length){var a=this.doc.getLength();do{e++,r=this.doc.getLine(e)}while(e0&&/^\s*$/.test(r));n=r.length,/\s+$/.test(r)||(r="")}var a=l.stringReverse(r),o=this.$shortWordEndIndex(a);return this.moveCursorTo(t,n-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 n,r=this.session.documentToScreenPosition(this.lead.row,this.lead.column);if(0===t&&(0!==e&&(this.session.$bidiHandler.isBidiRow(r.row,this.lead.row)?(n=this.session.$bidiHandler.getPosLeft(r.column),r.column=Math.round(n/this.session.$bidiHandler.charWidths[0])):n=r.column*this.session.$bidiHandler.charWidths[0]),this.$desiredColumn?r.column=this.$desiredColumn:this.$desiredColumn=r.column),0!=e&&this.session.lineWidgets&&this.session.lineWidgets[this.lead.row]){var l=this.session.lineWidgets[this.lead.row];e<0?e-=l.rowsAbove||0:e>0&&(e+=l.rowCount-(l.rowsAbove||0))}var a=this.session.screenToDocumentPosition(r.row+e,r.column,n);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,n){var r=this.session.getFoldAt(e,t,1);r&&(e=r.start.row,t=r.start.column),this.$keepDesiredColumnOnChange=!0;var l=this.session.getLine(e);/[\uDC00-\uDFFF]/.test(l.charAt(t))&&l.charAt(t-1)&&(this.lead.row==e&&this.lead.column==t+1?t-=1:t+=1),this.lead.setPosition(e,t),this.$keepDesiredColumnOnChange=!1,n||(this.$desiredColumn=null)},e.prototype.moveCursorToScreen=function(e,t,n){var r=this.session.screenToDocumentPosition(e,t);this.moveCursorTo(r.row,r.column,n)},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 n=this.getCursor();return o.fromPoints(t,n)}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 n=o.fromPoints(e[t].start,e[t].end);e[t].isBackwards&&(n.cursor=n.start),this.addRange(n,!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,r.implement(i.prototype,a),t.Selection=i})),ace.define("ace/tokenizer",["require","exports","module","ace/lib/report_error"],(function(e,t,n){"use strict";var r=e("./lib/report_error").reportError,l=2e3,a=function(){function e(e){for(var t in this.splitRegex,this.states=e,this.regExps={},this.matchMappings={},this.states){for(var n=this.states[t],r=[],l=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)+l+1)})):(d=1,u=this.removeCapturingGroups(c.regex)),c.splitRegex||"string"==typeof c.token||i.push(c)),a[l]=s,l+=d,r.push(u),c.onMatch||(c.onMatch=null)}}r.length||(a[0]=0,r.push("$")),i.forEach((function(e){e.splitRegex=this.createSplitterRegexp(e.regex,o)}),this),this.regExps[t]=new RegExp("("+r.join(")|(")+")|($)",o)}}return e.prototype.$setMaxTokenCount=function(e){l=0|e},e.prototype.$applyToken=function(e){var t=this.splitRegex.exec(e).slice(1),n=this.token.apply(this,t);if("string"===typeof n)return[{type:n,value:e}];for(var r=[],l=0,a=n.length;lu){var v=e.substring(u,g-m.length);f.type==p?f.value+=v:(f.type&&c.push(f),f={type:p,value:v})}for(var b=0;bl){for(d>2*e.length&&this.reportError("infinite loop with in ace tokenizer",{startState:t,line:e});u1&&n[0]!==r&&n.unshift("#tmp",r),{tokens:c,state:n.length?n:r}},e}();a.prototype.reportError=r,t.Tokenizer=a})),ace.define("ace/mode/text_highlight_rules",["require","exports","module","ace/lib/deep_copy"],(function(e,t,n){"use strict";var r,l=e("../lib/deep_copy").deepCopy;(function(){this.addRules=function(e,t){if(t)for(var n in e){for(var r=e[n],l=0;l=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,n=e[t].start;if(void 0!==n)return n;for(n=0;t>0;)n+=e[t-=1].value.length;return n},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 r(this.$row,t,this.$row,t+e.value.length)},e}();t.TokenIterator=l})),ace.define("ace/mode/behaviour/cstyle",["require","exports","module","ace/lib/oop","ace/mode/behaviour","ace/token_iterator","ace/lib/lang"],(function(e,t,n){"use strict";var r,l,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 r=d[t];r=d[t]={autoInsertedBrackets:0,autoInsertedRow:-1,autoInsertedLineEnd:"",maybeInsertedBrackets:0,maybeInsertedRow:-1,maybeInsertedLineStart:"",maybeInsertedLineEnd:""}},h=function(e,t,n,r){var l=e.end.row-e.start.row;return{text:n+t+r,selection:[0,e.start.column+1,l,e.end.column+(l?0:1)]}};(l=function(e){e=e||{},this.add("braces","insertion",(function(t,n,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 l.recordAutoInsert(a,o,"}"),{text:"{}",selection:[1,1]}}if(l.isSaneInsertion(a,o))return/[\]\}\)]/.test(u[c.column])||a.inMultiSelectMode||e.braces?(l.recordAutoInsert(a,o,"}"),{text:"{}",selection:[1,1]}):(l.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})&&l.isAutoInsertedClosing(c,u,i))return l.popAutoInsertedClosing(),{text:"",selection:[1,1]}}else{if("\n"==i||"\r\n"==i){p(a);var g="";if(l.isMaybeInsertedClosing(c,u)&&(g=s.stringRepeat("}",r.maybeInsertedBrackets),l.clearMaybeInsertedClosing()),"}"===u.substring(c.column,c.column+1)){var v=o.findMatchingBracket({row:c.row,column:c.column+1},"}");if(!v)return null;var b=this.$getIndent(o.getLine(v.row))}else{if(!g)return void l.clearMaybeInsertedClosing();b=this.$getIndent(u)}var y=b+o.getTabString();return{text:"\n"+y+"\n"+b+g,selection:[1,y.length,1,y.length]}}l.clearMaybeInsertedClosing()}})),this.add("braces","deletion",(function(e,t,n,l,a){var o=l.doc.getTextRange(a);if(!a.isMultiLine()&&"{"==o){if(p(n),"}"==l.doc.getLine(a.start.row).substring(a.end.column,a.end.column+1))return a.end.column++,a;r.maybeInsertedBrackets--}})),this.add("parens","insertion",(function(e,t,n,r,a){if("("==a){p(n);var o=n.getSelectionRange(),i=r.doc.getTextRange(o);if(""!==i&&n.getWrapBehavioursEnabled())return h(o,i,"(",")");if(l.isSaneInsertion(n,r))return l.recordAutoInsert(n,r,")"),{text:"()",selection:[1,1]}}else if(")"==a){p(n);var s=n.getCursorPosition(),c=r.doc.getLine(s.row);if(")"==c.substring(s.column,s.column+1))if(null!==r.$findOpeningBracket(")",{column:s.column+1,row:s.row})&&l.isAutoInsertedClosing(s,c,a))return l.popAutoInsertedClosing(),{text:"",selection:[1,1]}}})),this.add("parens","deletion",(function(e,t,n,r,l){var a=r.doc.getTextRange(l);if(!l.isMultiLine()&&"("==a&&(p(n),")"==r.doc.getLine(l.start.row).substring(l.start.column+1,l.start.column+2)))return l.end.column++,l})),this.add("brackets","insertion",(function(e,t,n,r,a){if("["==a){p(n);var o=n.getSelectionRange(),i=r.doc.getTextRange(o);if(""!==i&&n.getWrapBehavioursEnabled())return h(o,i,"[","]");if(l.isSaneInsertion(n,r))return l.recordAutoInsert(n,r,"]"),{text:"[]",selection:[1,1]}}else if("]"==a){p(n);var s=n.getCursorPosition(),c=r.doc.getLine(s.row);if("]"==c.substring(s.column,s.column+1))if(null!==r.$findOpeningBracket("]",{column:s.column+1,row:s.row})&&l.isAutoInsertedClosing(s,c,a))return l.popAutoInsertedClosing(),{text:"",selection:[1,1]}}})),this.add("brackets","deletion",(function(e,t,n,r,l){var a=r.doc.getTextRange(l);if(!l.isMultiLine()&&"["==a&&(p(n),"]"==r.doc.getLine(l.start.row).substring(l.start.column+1,l.start.column+2)))return l.end.column++,l})),this.add("string_dquotes","insertion",(function(e,t,n,r,l){var a=r.$mode.$quotes||f;if(1==l.length&&a[l]){if(this.lineCommentStart&&-1!=this.lineCommentStart.indexOf(l))return;p(n);var o=l,i=n.getSelectionRange(),s=r.doc.getTextRange(i);if(!(""===s||1==s.length&&a[s])&&n.getWrapBehavioursEnabled())return h(i,s,o,o);if(!s){var c=n.getCursorPosition(),u=r.doc.getLine(c.row),d=u.substring(c.column-1,c.column),m=u.substring(c.column,c.column+1),g=r.getTokenAt(c.row,c.column),v=r.getTokenAt(c.row,c.column+1);if("\\"==d&&g&&/escape/.test(g.type))return null;var b,y=g&&/string|escape/.test(g.type),w=!v||/string|escape/.test(v.type);if(m==o)(b=y!==w)&&/string\.end/.test(v.type)&&(b=!1);else{if(y&&!w)return null;if(y&&w)return null;var x=r.$mode.tokenRe;x.lastIndex=0;var k=x.test(d);x.lastIndex=0;var S=x.test(m),C=r.$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;b=!0}return{text:b?o+o:"",selection:[1,1]}}}})),this.add("string_dquotes","deletion",(function(e,t,n,r,l){var a=r.$mode.$quotes||f,o=r.doc.getTextRange(l);if(!l.isMultiLine()&&a.hasOwnProperty(o)&&(p(n),r.doc.getLine(l.start.row).substring(l.start.column+1,l.start.column+2)==o))return l.end.column++,l})),!1!==e.closeDocComment&&this.add("doc comment end","insertion",(function(e,t,n,r,l){if("doc-start"===e&&("\n"===l||"\r\n"===l)&&n.selection.isEmpty()){var a=n.getCursorPosition();if(0===a.column)return;for(var o=r.doc.getLine(a.row),i=r.doc.getLine(a.row+1),s=r.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:l+g+"* ",selection:[1,2+g.length,1,2+g.length]}:{text:l+g+" * ",selection:[1,3+g.length,1,3+g.length]};if(/\/\*\*/.test(o.substring(0,a.column)))return{text:l+g+" * "+l+" "+g+"*/",selection:[1,4+g.length,1,4+g.length]}}}))}).isSaneInsertion=function(e,t){var n=e.getCursorPosition(),r=new i(t,n.row,n.column);if(!this.$matchTokenType(r.getCurrentToken()||"text",c)){if(/[)}\]]/.test(e.session.getLine(n.row)[n.column]))return!0;var l=new i(t,n.row,n.column+1);if(!this.$matchTokenType(l.getCurrentToken()||"text",c))return!1}return r.stepForward(),r.getCurrentTokenRow()!==n.row||this.$matchTokenType(r.getCurrentToken()||"text",u)},l.$matchTokenType=function(e,t){return t.indexOf(e.type||e)>-1},l.recordAutoInsert=function(e,t,n){var l=e.getCursorPosition(),a=t.doc.getLine(l.row);this.isAutoInsertedClosing(l,a,r.autoInsertedLineEnd[0])||(r.autoInsertedBrackets=0),r.autoInsertedRow=l.row,r.autoInsertedLineEnd=n+a.substr(l.column),r.autoInsertedBrackets++},l.recordMaybeInsert=function(e,t,n){var l=e.getCursorPosition(),a=t.doc.getLine(l.row);this.isMaybeInsertedClosing(l,a)||(r.maybeInsertedBrackets=0),r.maybeInsertedRow=l.row,r.maybeInsertedLineStart=a.substr(0,l.column)+n,r.maybeInsertedLineEnd=a.substr(l.column),r.maybeInsertedBrackets++},l.isAutoInsertedClosing=function(e,t,n){return r.autoInsertedBrackets>0&&e.row===r.autoInsertedRow&&n===r.autoInsertedLineEnd[0]&&t.substr(e.column)===r.autoInsertedLineEnd},l.isMaybeInsertedClosing=function(e,t){return r.maybeInsertedBrackets>0&&e.row===r.maybeInsertedRow&&t.substr(e.column)===r.maybeInsertedLineEnd&&t.substr(0,e.column)==r.maybeInsertedLineStart},l.popAutoInsertedClosing=function(){r.autoInsertedLineEnd=r.autoInsertedLineEnd.substr(1),r.autoInsertedBrackets--},l.clearMaybeInsertedClosing=function(){r&&(r.maybeInsertedBrackets=0,r.maybeInsertedRow=-1)},a.inherits(l,o),t.CstyleBehaviour=l})),ace.define("ace/unicode",["require","exports","module"],(function(e,t,n){"use strict";for(var r=[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],l=0,a=[],o=0;o2?r%s!=s-1:r%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*$"),v=function(e,t){y(e,t)||a&&!/\S/.test(e)||(l.insertInLine({row:t,column:e.length},h),l.insertInLine({row:t,column:i},p))},b=function(e,t){var n;(n=e.match(g))&&l.removeInLine(t,e.length-n[0].length,e.length),(n=e.match(m))&&l.removeInLine(t,n[1].length,n[0].length)},y=function(e,n){if(m.test(e))return!0;for(var r=t.getTokens(n),l=0;le.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?b:v)},this.toggleBlockComment=function(e,t,n,r){var l=this.blockComment;if(l){!l.start&&l[0]&&(l=l[0]);var a,o,i=(m=new u(t,r.row,r.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(l.start))){var p=m.getCurrentTokenRow(),h=m.getCurrentTokenColumn()+g;c=new d(p,h,p,h+l.start.length);break}i=m.stepBackward()}var m;for(i=(m=new u(t,r.row,r.column)).getCurrentToken();i&&/comment/.test(i.type);){var g;if(-1!=(g=i.value.indexOf(l.end))){p=m.getCurrentTokenRow(),h=m.getCurrentTokenColumn()+g;f=new d(p,h,p,h+l.end.length);break}i=m.stepForward()}f&&t.remove(f),c&&(t.remove(c),a=c.start.row,o=-l.start.length)}else o=l.start.length,a=n.start.row,t.insert(n.end,l.end),t.insert(n.start,l.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,n){return this.$getIndent(t)},this.checkOutdent=function(e,t,n){return!1},this.autoOutdent=function(e,t,n){},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 n=e[t],r=n.prototype.$id,a=l.$modes[r];a||(l.$modes[r]=a=new n),l.$modes[t]||(l.$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,n,r;r=(t=s)[n=o[e]],t[o[e]]=function(){return this.$delegator(n,arguments,r)}},s=this;for(t=0;tt[n].column&&n++,a.unshift(n,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,n){if(e)for(t=!1,e.row=n;e.$oldWidget;)e.$oldWidget.row=n,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=r.createElement("div"),e.el.innerHTML=e.html),e.text&&!e.el&&(e.el=r.createElement("div"),e.el.textContent=e.text),e.el&&(r.addCssClass(e.el,"ace_lineWidgetContainer"),e.className&&r.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 n=this.session.getFoldAt(e.row,0);if(e.$fold=n,n){var l=this.session.lineWidgets;e.row!=n.end.row||l[n.start.row]?e.hidden=!0:l[n.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,n=t&&t[e],r=[];n;)r.push(n),n=n.$oldWidget;return r},e.prototype.onWidgetChanged=function(e){this.session._changedWidgets.push(e),this.editor&&this.editor.renderer.updateFull()},e.prototype.measureWidgets=function(e,t){var n=this.session._changedWidgets,r=t.layerConfig;if(n&&n.length){for(var l=1/0,a=0;a0&&!r[l];)l--;this.firstRow=n.firstRow,this.lastRow=n.lastRow,t.$cursorLayer.config=n;for(var o=l;o<=a;o++){var i=r[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+=n.lineHeight*this.session.getRowLineCount(i.row)),i.el.style.top=s-n.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=n.width+2*n.padding+"px"),i.fixedWidth?i.el.style.right=t.scrollBar.getWidth()+"px":i.el.style.right=""}}}},e}();t.LineWidgets=l})),ace.define("ace/apply_delta",["require","exports","module"],(function(e,t,n){"use strict";t.applyDelta=function(e,t,n){var r=t.start.row,l=t.start.column,a=e[r]||"";switch(t.action){case"insert":if(1===t.lines.length)e[r]=a.substring(0,l)+t.lines[0]+a.substring(l);else{var o=[r,1].concat(t.lines);e.splice.apply(e,o),e[r]=a.substring(0,l)+e[r],e[r+t.lines.length-1]+=a.substring(l)}break;case"remove":var i=t.end.column,s=t.end.row;r===s?e[r]=a.substring(0,l)+a.substring(i):e.splice(r,s-r+1,a.substring(0,l)+e[s].substring(i))}}})),ace.define("ace/anchor",["require","exports","module","ace/lib/oop","ace/lib/event_emitter"],(function(e,t,n){"use strict";var r=e("./lib/oop"),l=e("./lib/event_emitter").EventEmitter,a=function(){function e(e,t,n){this.$onChange=this.onChange.bind(this),this.attach(e),"number"!=typeof t?this.setPosition(t.row,t.column):this.setPosition(t,n)}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,n){var r="insert"==e.action,l=(r?1:-1)*(e.end.row-e.start.row),a=(r?1:-1)*(e.end.column-e.start.column),i=e.start,s=r?i:e.end;if(o(t,i,n))return{row:t.row,column:t.column};if(o(s,t,!n))return{row:t.row+l,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,n){var r;if(r=n?{row:e,column:t}:this.$clipPositionToDocument(e,t),this.row!=r.row||this.column!=r.column){var l={row:this.row,column:this.column};this.row=r.row,this.column=r.column,this._signal("change",{old:l,value:r})}},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 n={};return e>=this.document.getLength()?(n.row=Math.max(0,this.document.getLength()-1),n.column=this.document.getLine(n.row).length):e<0?(n.row=0,n.column=0):(n.row=e,n.column=Math.min(this.document.getLine(n.row).length,Math.max(0,t))),t<0&&(n.column=0),n},e}();function o(e,t,n){var r=n?e.column<=t.column:e.column=n&&(e=n-1,t=void 0);var r=this.getLine(e);return void 0==t&&(t=r.length),{row:e,column:t=Math.min(Math.max(t,0),r.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 n=0;(e=Math.min(Math.max(e,0),this.getLength()))0,r=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 n="insert"==e.action;(n?e.lines.length<=1&&!e.lines[0]:!o.comparePoints(e.start,e.end))||(n&&e.lines.length>2e4?this.$splitAndapplyLargeDelta(e,2e4):(l(this.$lines,e,t),this._signal("change",e)))},e.prototype.$safeApplyDelta=function(e){var t=this.$lines.length;("remove"==e.action&&e.start.row20){n.running=setTimeout(n.$worker,20);break}}n.currentLine=t,-1==r&&(r=t),a<=r&&n.fireUpdateEvent(a,r)}}}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 n={first:e,last:t};this._signal("update",{data:n})},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,n=e.end.row-t;if(0===n)this.lines[t]=null;else if("remove"==e.action)this.lines.splice(t,n+1,null),this.states.splice(t,n+1,null);else{var r=Array(n+1);r.unshift(t,1),this.lines.splice.apply(this.lines,r),this.states.splice.apply(this.states,r)}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),n=this.states[e-1],r=this.tokenizer.getLineTokens(t,n,e);return this.states[e]+""!==r.state+""?(this.states[e]=r.state,this.lines[e+1]=null,this.currentLine>e+1&&(this.currentLine=e+1)):this.currentLine==e&&(this.currentLine=e+1),this.lines[e]=r.tokens},e.prototype.cleanup=function(){this.running=!1,this.lines=[],this.states=[],this.currentLine=0,this.removeAllListeners()},e}();r.implement(a.prototype,l),t.BackgroundTokenizer=a})),ace.define("ace/search_highlight",["require","exports","module","ace/lib/lang","ace/range"],(function(e,t,n){"use strict";var r=e("./lib/lang"),l=e("./range").Range,a=function(){function e(e,t,n){void 0===n&&(n="text"),this.setRegexp(e),this.clazz=t,this.type=n,this.docLen=0}return e.prototype.setRegexp=function(e){this.regExp+""!=e+""&&(this.regExp=e,this.cache=[])},e.prototype.update=function(e,t,n,a){if(this.regExp){for(var o=a.firstRow,i=a.lastRow,s={},c=n.$editor&&n.$editor.$search,u=c&&c.$isMultilineSearch(n.$editor.getLastSearchOptions()),d=o;d<=i;d++){var f=this.cache[d];if(null==f||n.getValue().length!=this.docLen){if(u){f=[];var p=c.$multiLineForward(n,this.regExp,d,i);if(p){var h=p.endRow<=i?p.endRow-1:i;h>d&&(d=h),f.push(new l(p.startRow,p.startCol,p.endRow,p.endCol))}f.length>this.MAX_RANGES&&(f=f.slice(0,this.MAX_RANGES))}else(f=r.getMatchOffsets(n.getLine(d),this.regExp)).length>this.MAX_RANGES&&(f=f.slice(0,this.MAX_RANGES)),f=f.map((function(e){return new l(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(n),v=g.toString();s[v]||(s[v]=!0,t.drawSingleLineMarker(e,g,this.clazz,a))}}this.docLen=n.getValue().length}},e}();a.prototype.MAX_RANGES=500,t.SearchHighlight=a})),ace.define("ace/undomanager",["require","exports","module","ace/range"],(function(e,t,n){"use strict";var r=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,n){if(!this.$fromUndo&&e!=this.$lastDelta){if(this.$keepRedoStack||(this.$redoStack.length=0),!1===t||!this.lastDeltas){this.lastDeltas=[];var r=this.$undoStack.length;r>this.$undoDepth-1&&this.$undoStack.splice(0,r-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 n=this.$undoStack,r=n.length;r--;){var l=n[r][0];if(l.id<=e)break;l.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}();r.prototype.hasUndo=r.prototype.canUndo,r.prototype.hasRedo=r.prototype.canRedo,r.prototype.isClean=r.prototype.isAtBookmark,r.prototype.markClean=r.prototype.bookmark;var l=e("./range").Range,a=l.comparePoints;l.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 n="insert"==e.action,r="insert"==t.action;if(n&&r)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(n&&!r)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(!n&&r)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(!n&&!r)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 n=e.length;n--;)for(var r=0;r=0?f(e,t,-1):(a(e.start,t.start)<=0||f(e,l.fromPoints(t.start,e.start),-1),f(t,e,1));else if(!n&&r)a(t.start,e.end)>=0?f(t,e,-1):(a(t.start,e.start)<=0||f(t,l.fromPoints(e.start,t.start),-1),f(e,t,1));else if(!n&&!r)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,n){p(e.start,t.start,t.end,n),p(e.end,t.start,t.end,n)}function p(e,t,n,r){e.row==(1==r?t:n).row&&(e.column+=r*(n.column-t.column)),e.row+=r*(n.row-t.row)}function h(e,t){var n=e.lines,r=e.end;e.end=o(t);var l=e.end.row-e.start.row,a=n.splice(l,n.length),i=l?t.column:t.column-e.start.column;return n.push(a[0].substring(0,i)),a[0]=a[0].substr(i),{start:o(t),end:r,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 n=e.length;n--;){for(var r=e[n],l=0;lthis.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,n){var r,l,a=0,o=this.folds,i=!0;null==t&&(t=this.end.row,n=this.end.column);for(var s=0;s0)){var s=r(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(),n=this.pointIndex(e.start,t);n<0&&(n=-n-1);var r=this.pointIndex(e.end,t,n);return r<0?r=-r-1:r++,this.ranges.splice(n,r-n,e)},e.prototype.addList=function(e){for(var t=[],n=e.length;n--;)t.push.apply(t,this.add(e[n]));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=[],n=this.ranges,l=(n=n.sort((function(e,t){return r(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 n=this.ranges;if(n[0].start.row>t||n[n.length-1].start.row=r)break}if("insert"==e.action)for(var s=l-r,c=-t.column+n.column;or)break;if(u.start.row==r&&u.start.column>=t.column&&(u.start.column==t.column&&this.$bias<=0||(u.start.column+=c,u.start.row+=s)),u.end.row==r&&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=r-l,c=t.column-n.column;ol)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>l&&(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>l&&(u.start.row+=s)}if(0!=s&&o=e)return l;if(l.end.row>e)return null}return null},this.getNextFoldLine=function(e,t){var n=this.$foldData,r=0;for(t&&(r=n.indexOf(t)),-1==r&&(r=0);r=e)return l}return null},this.getFoldedRowCount=function(e,t){for(var n=this.$foldData,r=t-e+1,l=0;l=t){i=e?r-=t-i:r=0);break}o>=e&&(r-=i>=e?o-i:o-e+1)}return r},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 n,r=this.$foldData,o=!1;e instanceof a?n=e:(n=new a(t,e)).collapseChildren=t.collapseChildren,this.$clipRangeToDocument(n.range);var i=n.start.row,s=n.start.column,c=n.end.row,u=n.end.column,d=this.getFoldAt(i,s,1),f=this.getFoldAt(c,u,-1);if(d&&f==d)return d.addSubFold(n);d&&!d.range.isStart(i,s)&&this.removeFold(d),f&&!f.range.isEnd(c,u)&&this.removeFold(f);var p=this.getFoldsInRange(n.range);p.length>0&&(this.removeFolds(p),n.collapseChildren||p.forEach((function(e){n.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 n,l;if(null==e)n=new r(0,0,this.getLength(),0),null==t&&(t=!0);else if("number"==typeof e)n=new r(e,0,e,this.getLine(e).length);else if("row"in e)n=r.fromPoints(e,e);else{if(Array.isArray(e))return l=[],e.forEach((function(e){l=l.concat(this.unfold(e))}),this),l;n=e}for(var a=l=this.getFoldsInRangeList(n);1==l.length&&r.comparePoints(l[0].start,n.start)<0&&r.comparePoints(l[0].end,n.end)>0;)this.expandFolds(l),l=this.getFoldsInRangeList(n);if(0!=t?this.removeFolds(l):this.expandFolds(l),a.length)return a},this.isRowFolded=function(e,t){return!!this.getFoldLine(e,t)},this.getRowFoldEnd=function(e,t){var n=this.getFoldLine(e,t);return n?n.end.row:e},this.getRowFoldStart=function(e,t){var n=this.getFoldLine(e,t);return n?n.start.row:e},this.getFoldDisplayLine=function(e,t,n,r,l){null==r&&(r=e.start.row),null==l&&(l=0),null==t&&(t=e.end.row),null==n&&(n=this.getLine(t).length);var a=this.doc,o="";return e.walk((function(e,t,n,i){if(!(td)break}while(a&&s.test(a.type));a=l.stepBackward()}else a=l.getCurrentToken();if(c.end.row=l.getCurrentTokenRow(),c.end.column=l.getCurrentTokenColumn(),c.start.row==c.end.row&&c.start.column>c.end.column)return;return c}},this.foldAll=function(e,t,n,r){void 0==n&&(n=1e5);var l=this.foldWidgets;if(l){t=t||this.getLength();for(var a=e=e||0;a=e&&(a=o.end.row,o.collapseChildren=n,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 n=e.getTokens(t),r=0;r=0;){var a=n[l];if(null==a&&(a=n[l]=this.getFoldWidget(l)),"start"==a){var o=this.getFoldWidgetRange(l);if(r||(r=o),o&&o.end.row>=e)break}l--}return{range:-1!==l&&o,firstRange:r}},this.onFoldWidgetClick=function(e,t){t instanceof i&&(t=t.domEvent);var n={children:t.shiftKey,all:t.ctrlKey||t.metaKey,siblings:t.altKey};if(!this.$toggleFoldWidget(e,n)){var r=t.target||t.srcElement;r&&/ace_fold-widget/.test(r.className)&&(r.className+=" ace_invalid")}},this.$toggleFoldWidget=function(e,t){if(this.getFoldWidget){var n=this.getFoldWidget(e),r=this.getLine(e),l="end"===n?-1:1,a=this.getFoldAt(e,-1===l?0:r.length,l);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 n=this.$toggleFoldWidget(t,{});if(!n){var r=this.getParentFoldRangeData(t,!0);if(n=r.range||r.firstRange){t=n.start.row;var l=this.getFoldAt(t,this.getLine(t).length,1);l?this.removeFold(l):this.addFold("...",n)}}},this.updateFoldWidgets=function(e){var t=e.start.row,n=e.end.row-t;if(0===n)this.foldWidgets[t]=null;else if("remove"==e.action)this.foldWidgets.splice(t,n+1,null);else{var r=Array(n+1);r.unshift(t,1),this.foldWidgets.splice.apply(this.foldWidgets,r)}},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,n){"use strict";var r=e("../token_iterator").TokenIterator,l=e("../range").Range;t.BracketMatch=function(){this.findMatchingBracket=function(e,t){if(0==e.column)return null;var n=t||this.getLine(e.row).charAt(e.column-1);if(""==n)return null;var r=n.match(/([\(\[\{])|([\)\]\}])/);return r?r[1]?this.$findClosingBracket(r[1],e):this.$findOpeningBracket(r[2],e):null},this.getBracketRange=function(e){var t,n=this.getLine(e.row),r=!0,a=n.charAt(e.column-1),o=a&&a.match(/([\(\[\{])|([\)\]\}])/);if(o||(a=n.charAt(e.column),e={row:e.row,column:e.column+1},o=a&&a.match(/([\(\[\{])|([\)\]\}])/),r=!1),!o)return null;if(o[1]){if(!(i=this.$findClosingBracket(o[1],e)))return null;t=l.fromPoints(e,i),r||(t.end.column++,t.start.column--),t.cursor=t.end}else{var i;if(!(i=this.$findOpeningBracket(o[2],e)))return null;t=l.fromPoints(i,e),r||(t.start.column++,t.end.column--),t.cursor=t.start}return t},this.getMatchingBracketRanges=function(e,t){var n=this.getLine(e.row),r=/([\(\[\{])|([\)\]\}])/,a=!t&&n.charAt(e.column-1),o=a&&a.match(r);if(o||(a=(void 0===t||t)&&n.charAt(e.column),e={row:e.row,column:e.column+1},o=a&&a.match(r)),!o)return null;var i=new l(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 l(s.row,s.column,s.row,s.column+1)]:[i]},this.$brackets={")":"(","(":")","]":"[","[":"]","{":"}","}":"{","<":">",">":"<"},this.$findOpeningBracket=function(e,t,n){var l=this.$brackets[e],a=1,o=new r(this,t.row,t.column),i=o.getCurrentToken();if(i||(i=o.stepForward()),i){n||(n=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==l){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&&!n.test(i.type));if(null==i)break;s=(c=i.value).length-1}return null}},this.$findClosingBracket=function(e,t,n){var l=this.$brackets[e],a=1,o=new r(this,t.row,t.column),i=o.getCurrentToken();if(i||(i=o.stepForward()),i){n||(n=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?r=!0:-1!==t.type.indexOf("tag-name")&&(n=!0))}while(t&&!n);return t},this.$findClosingTag=function(e,t){var n,r=t.value,a=t.value,o=0,i=new l(e.getCurrentTokenRow(),e.getCurrentTokenColumn(),e.getCurrentTokenRow(),e.getCurrentTokenColumn()+1);t=e.stepForward();var s=new l(e.getCurrentTokenRow(),e.getCurrentTokenColumn(),e.getCurrentTokenRow(),e.getCurrentTokenColumn()+t.value.length),c=!1;do{if(-1!==(n=t).type.indexOf("tag-close")&&!c){var u=new l(e.getCurrentTokenRow(),e.getCurrentTokenColumn(),e.getCurrentTokenRow(),e.getCurrentTokenColumn()+1);c=!0}if(t=e.stepForward()){if(">"===t.value&&!c){u=new l(e.getCurrentTokenRow(),e.getCurrentTokenColumn(),e.getCurrentTokenRow(),e.getCurrentTokenColumn()+1);c=!0}if(-1!==t.type.indexOf("tag-name")){if(a===(r=t.value))if("<"===n.value)o++;else if(""!==t.value)return;var p=new l(e.getCurrentTokenRow(),e.getCurrentTokenColumn(),e.getCurrentTokenRow(),e.getCurrentTokenColumn()+1)}}else if(a===r&&"/>"===t.value&&--o<0)p=f=d=new l(e.getCurrentTokenRow(),e.getCurrentTokenColumn(),e.getCurrentTokenRow(),e.getCurrentTokenColumn()+2),u=new l(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 l(i.start.row,i.start.column,u.end.row,u.end.column),closeTag:new l(d.start.row,d.start.column,p.end.row,p.end.column),openTagName:s,closeTagName:f}},this.$findOpeningTag=function(e,t){var n=e.getCurrentToken(),r=t.value,a=0,o=e.getCurrentTokenRow(),i=e.getCurrentTokenColumn(),s=i+2,c=new l(o,i,o,s);e.stepForward();var u=new l(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 l(e.getCurrentTokenRow(),e.getCurrentTokenColumn(),e.getCurrentTokenRow(),e.getCurrentTokenColumn()+1);e.stepBackward(),e.stepBackward();do{if(t=n,o=e.getCurrentTokenRow(),s=(i=e.getCurrentTokenColumn())+t.value.length,n=e.stepBackward(),t)if(-1!==t.type.indexOf("tag-name")){if(r===t.value)if("<"===n.value){if(++a>0){var f=new l(o,i,o,s),p=new l(e.getCurrentTokenRow(),e.getCurrentTokenColumn(),e.getCurrentTokenRow(),e.getCurrentTokenColumn()+1);do{t=e.stepForward()}while(t&&">"!==t.value);var h=new l(e.getCurrentTokenRow(),e.getCurrentTokenColumn(),e.getCurrentTokenRow(),e.getCurrentTokenColumn()+1)}}else""===t.value){for(var m=0,g=n;g;){if(-1!==g.type.indexOf("tag-name")&&g.value===r){a--;break}if("<"===g.value)break;g=e.stepBackward(),m++}for(var v=0;vn&&(this.$docRowCache.splice(n,t),this.$screenRowCache.splice(n,t))},e.prototype.$getRowCacheIndex=function(e,t){for(var n=0,r=e.length-1;n<=r;){var l=n+r>>1,a=e[l];if(t>a)n=l+1;else{if(!(t=t);a++);return(n=r[a])?(n.index=a,n.start=l-n.value.length,n):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=l.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()?l.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&&(r=!!n.charAt(t-1).match(this.tokenRe)),r||(r=!!n.charAt(t).match(this.tokenRe)),r)var l=this.tokenRe;else if(/^\s+$/.test(n.slice(t-1,t+1)))l=/\s/;else l=this.nonTokenRe;var a=t;if(a>0){do{a--}while(a>=0&&n.charAt(a).match(l));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(),n=this.$rowLengthCache,r=0,l=0,a=this.$foldData[l],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[l++])?a.start.row:1/0}null==n[s]&&(n[s]=this.$getStringScreenWidth(t[s])[0]),n[s]>r&&(r=n[s])}this.screenWidth=r}},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 n=e.length-1;-1!=n;n--){var r=e[n];"insert"==r.action||"remove"==r.action?this.doc.revertDelta(r):r.folds&&this.addFolds(r.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 n=0;ne.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,r),l.length){var i=e.start,s=a.start,c=(o=s.row-i.row,s.column-i.column);this.addFolds(l.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,n){n=n.replace(/\t/g,this.getTabString());for(var r=e;r<=t;r++)this.doc.insertInLine({row:r,column:0},n)},e.prototype.outdentRows=function(e){for(var t=e.collapseRows(),n=new u(0,0,0,0),r=this.getTabSize(),l=t.start.row;l<=t.end.row;++l){var a=this.getLine(l);n.start.row=l,n.end.row=l;for(var o=0;o0){var l;if((l=this.getRowFoldEnd(t+n))>this.doc.getLength()-1)return 0;r=l-t}else{e=this.$clipRowToDocument(e);r=(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+=r,e.end.row+=r,e})),i=0==n?this.doc.getLines(e,t):this.doc.removeFullLines(e,t);return this.doc.insertFullLines(e+r,i),o.length&&this.addFolds(o),r},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 n=this.doc.getLength();e>=n?(e=n-1,t=this.doc.getLine(n-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 n=this.$wrapLimitRange;n.max<0&&(n={min:t,max:t});var r=this.$constrainWrapLimit(e,n.min,n.max);return r!=this.$wrapLimit&&r>1&&(this.$wrapLimit=r,this.$modified=!0,this.$useWrapMode&&(this.$updateWrapData(0,this.getLength()-1),this.$resetRowCache(0),this._signal("changeWrapLimit")),!0)},e.prototype.$constrainWrapLimit=function(e,t,n){return t&&(e=Math.max(t,e)),n&&(e=Math.min(n,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,n=e.action,r=e.start,l=e.end,a=r.row,o=l.row,i=o-a,s=null;if(this.$updating=!0,0!=i)if("remove"===n){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(l.row)){m.addRemoveChars(l.row,l.column,r.column-l.column),m.shiftRow(-i);var d=this.getFoldLine(a);d&&d!==m&&(d.merge(m),m=d),u=c.indexOf(m)+1}for(;u=l.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(r.row,r.column);0==h?(m=m.split(r.row,r.column))&&(m.shiftRow(i),m.addRemoveChars(o,0,l.column-r.column)):-1==h&&(m.addRemoveChars(a,0,l.column-r.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"===n&&(s=this.getFoldsInRange(e),this.removeFolds(s),i=-i),(m=this.getFoldLine(a))&&m.addRemoveChars(a,r.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 n,r,l=this.doc.getAllLines(),a=this.getTabSize(),o=this.$wrapData,i=this.$wrapLimit,s=e;for(t=Math.min(t,l.length-1);s<=t;)(r=this.getFoldLine(s,r))?(n=[],r.walk(function(e,t,r,a){var o;if(null!=e){(o=this.$getDisplayTokens(e,n.length))[0]=y;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]!=y&&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]==b&&f--,u(f-d))}else{for(;f!=a-1&&e[f]!=y;f--);if(f>a){u(f);continue}for(f=a+t;f39&&a<48||a>57&&a<64?r.push(x):a>=4352&&O(a)?r.push(v,b):r.push(v)}return r},e.prototype.$getStringScreenWidth=function(e,t,n){if(0==t)return[0,0];var r,l;for(null==t&&(t=1/0),n=n||0,l=0;l=4352&&O(r)?n+=2:n+=1,!(n>t));l++);return[n,l]},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),n=this.$wrapData[t.row];return n.length&&n[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)r=this.getFoldDisplayLine(h),a=h.start.row;else{if(i+s<=e||a>p)return{row:p,column:this.getLine(p).length};r=this.getLine(a),h=null}var g=0,v=Math.floor(e-i);if(this.$useWrapMode){var b=this.$wrapData[a];b&&(l=b[v],v>0&&b.length&&(g=b.indent,o=b[v-1]||b[b.length-1],r=r.substring(o)))}return void 0!==n&&this.$bidiHandler.isBidiRow(i+v,a,v)&&(t=this.$bidiHandler.offsetToCol(n)),o+=this.$getStringScreenWidth(r,t-g)[1],this.$useWrapMode&&o>=l&&(o=l-1),h?h.idxToPosition(o):{row:a,column:o}},e.prototype.documentToScreenPosition=function(e,t){if("undefined"===typeof t)var n=this.$clipPositionToDocument(e.row,e.column);else n=this.$clipPositionToDocument(e,t);e=n.row,t=n.column;var r,l=0,a=null;(r=this.getFoldAt(e,t,1))&&(e=r.start.row,t=r.start.column);var o,i=0,s=this.$docRowCache,c=this.$getRowCacheIndex(s,e),u=s.length;if(u&&c>=0){i=s[c],l=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;l+=this.getRowLength(i),i=o,d&&(this.$docRowCache.push(i),this.$screenRowCache.push(l))}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 v=0;h.length>=g[v];)l++,v++;h=h.substring(g[v-1]||0,h.length),m=v>0?g.indent:0}}return this.lineWidgets&&this.lineWidgets[i]&&this.lineWidgets[i].rowsAbove&&(l+=this.lineWidgets[i].rowsAbove),{row:l,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 n=this.$wrapData.length,r=0,l=(i=0,(t=this.$foldData[i++])?t.start.row:1/0);rl&&(r=t.end.row+1,l=(t=this.$foldData[i++])?t.start.row:1/0)}else{e=this.getLength();for(var o=this.$foldData,i=0;in);a++);return[r,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,r.implement(g.prototype,i);var v=1,b=2,y=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,n){"use strict";var r=e("./lib/lang"),l=e("./lib/oop"),a=e("./range").Range,o=function(){function e(){this.$options={}}return e.prototype.set=function(e){return l.mixin(this.$options,e),this},e.prototype.getOptions=function(){return r.copyObject(this.$options)},e.prototype.setOptions=function(e){this.$options=e},e.prototype.find=function(e){var t=this.$options,n=this.$matchIterator(e,t);if(!n)return!1;var r=null;return n.forEach((function(e,n,l,o){return r=new a(e,n,l,o),!(n==o&&t.start&&t.start.start&&0!=t.skipCurrent&&r.isEqual(t.start))||(r=null,!1)})),r},e.prototype.findAll=function(e){var t=this.$options;if(!t.needle)return[];this.$assembleRegExp(t);var n=t.range,l=n?e.getLines(n.start.row,n.end.row):e.doc.getAllLines(),o=[],i=t.re;if(t.$isMultiLine){var s,c=i.length,u=l.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 v,b=0;bb&&(b=w),o.push(new a(v.startRow,v.startCol,v.endRow,v.endCol))}}else{v=r.getMatchOffsets(l[b],i);for(f=0;fS&&o[f].end.row==C;)f--;for(o=o.slice(b,f+1),b=0,f=o.length;b=d){c+="$";break}var p=e.charCodeAt(u);if(p===t){c+="$$";continue}if(p===r||p===n){c+="$&";continue}if(l<=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 n=this.$options,r=this.$assembleRegExp(n);if(n.$isMultiLine)return t;if(r){var l=this.$isMultilineSearch(n);l&&(e=e.replace(/\r\n|\r|\n/g,"\n"));var a=r.exec(e);if(!a||!l&&a[0].length!=e.length)return null;if(t=n.regExp?this.parseReplaceString(t):t.replace(/\$/g,"$$$$"),t=e.replace(r,t),n.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 n=e.needle;if(!e.needle)return e.re=!1;e.regExp||(n=r.escapeRegExp(n));var l=e.caseSensitive?"gm":"gmi";try{new RegExp(n,"u"),e.$supportsUnicodeFlag=!0,l+="u"}catch(t){e.$supportsUnicodeFlag=!1}if(e.wholeWord&&(n=function(e,t){var n=r.supportsLookbehind();function l(e,r){return void 0===r&&(r=!0),(n&&t.$supportsUnicodeFlag?new RegExp("[\\p{L}\\p{N}_]","u"):new RegExp("\\w")).test(e)||t.regExp?n&&t.$supportsUnicodeFlag?r?"(?<=^|[^\\p{L}\\p{N}_])":"(?=[^\\p{L}\\p{N}_]|$)":"\\b":""}var a=Array.from(e),o=a[0],i=a[a.length-1];return l(o)+e+l(i,!1)}(n,e)),e.$isMultiLine=!t&&/[\n\r]/.test(n),e.$isMultiLine)return e.re=this.$assembleMultilineRegExp(n,l);try{var a=new RegExp(n,l)}catch(e){a=!1}return e.re=a},e.prototype.$assembleMultilineRegExp=function(e,t){for(var n=e.replace(/\r\n|\r|\n/g,"$\n^").split("\n"),r=[],l=0;lr);i++){var c=e.getLine(o++);l=null==l?c:l+"\n"+c}var u=t.exec(l);if(t.lastIndex=0,u){var d=l.slice(0,u.index).split("\n"),f=u[0].split("\n"),p=n+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,n,r,l){for(var a,o=s(e,r),c=e.getLine(r).length-n,u=r;u>=l;){for(var d=0;d=l;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,v=h[h.length-1].length;return{startRow:g,startCol:v,endRow:g+m.length-1,endCol:1==m.length?v+m[0].length:m[m.length-1].length}}}return null},e.prototype.$matchIterator=function(e,t){var n=this.$assembleRegExp(t);if(!n)return!1;var l=this.$isMultilineSearch(t),a=this.$multiLineForward,o=this.$multiLineBackward,i=1==t.backwards,s=0!=t.skipCurrent,c=n.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 n=d.row;if(!g(n,d.column,e)){for(n--;n>=f;n--)if(g(n,Number.MAX_VALUE,e))return;if(0!=t.wrap)for(n=p,f=d.row;n>=f;n--)if(g(n,Number.MAX_VALUE,e))return}};else h=function(e){var n=d.row;if(!g(n,d.column,e)){for(n+=1;n<=p;n++)if(g(n,0,e))return;if(0!=t.wrap)for(n=f,p=d.row;n<=p;n++)if(g(n,0,e))return}};if(t.$isMultiLine)var m=n.length,g=function(t,r,l){var a=i?t-m+1:t;if(!(a<0||a+m>e.getLength())){var o=e.getLine(a),s=o.search(n[0]);if(!(!i&&sr))return!!l(a,s,a+m-1,u)||void 0}}};else if(i)g=function(t,a,i){if(l){var s=o(e,n,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(n.lastIndex=0;u=n.exec(d);){var m=u[0].length;if(h=u.index,!m){if(h>=d.length)break;n.lastIndex=h+=r.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 v=p[g-1];if(i(t,v,t,v+(m=p[g])))return!0}}};else g=function(t,o,i){if(n.lastIndex=o,l){var s=a(e,n,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=n.exec(h);){var m=f[0].length;if(i(t,d=f.index,t,d+m))return!0;if(!m&&(n.lastIndex=d+=r.skipEmptyMatch(h,d,c),d>=h.length))return!1}};return{forEach:h}},e}();function i(e,t,n){for(var r=null,l=0;l<=e.length;){t.lastIndex=l;var a=t.exec(e);if(!a)break;var o=a.index+a[0].length;if(o>e.length-n)break;(!r||o>r.index+r[0].length)&&(r=a),l=a.index+1}return r}function s(e,t){var n={row:t,column:0},r=e.doc.positionToIndex(n)+5e3;return e.doc.indexToPosition(r).row+1}t.Search=o})),ace.define("ace/keyboard/hash_handler",["require","exports","module","ace/lib/keys","ace/lib/useragent"],(function(e,t,n){"use strict";var r,l=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(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 n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),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,n){this.platform=t||(o.isMac?"mac":"win"),this.commands={},this.commandKeyBinding={},this.addCommands(e),this.$singleCommand=n},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 n=e&&("string"===typeof e?e:e.name);e=this.commands[n],t||delete this.commands[n];var r=this.commandKeyBinding;for(var l in r){var a=r[l];if(a==e)delete r[l];else if(Array.isArray(a)){var o=a.indexOf(e);-1!=o&&(a.splice(o,1),1==a.length&&(r[l]=a[0]))}}},e.prototype.bindKey=function(e,t,n){if("object"==typeof e&&e&&(void 0==n&&(n=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 r="";if(-1!=e.indexOf(" ")){var l=e.split(/\s+/);e=l.pop(),l.forEach((function(e){var t=this.parseKeys(e),n=i[t.hashId]+t.key;r+=(r?" ":"")+n,this._addCommandToBinding(r,"chainKeys")}),this),r+=" "}var a=this.parseKeys(e),o=i[a.hashId]+a.key;this._addCommandToBinding(r+o,t,n)}),this)},e.prototype._addCommandToBinding=function(e,t,n){var r,l=this.commandKeyBinding;if(t)if(!l[e]||this.$singleCommand)l[e]=t;else{Array.isArray(l[e])?-1!=(r=l[e].indexOf(t))&&l[e].splice(r,1):l[e]=[l[e]],"number"!=typeof n&&(n=c(t));var a=l[e];for(r=0;rn)break}a.splice(r,0,t)}else delete l[e]},e.prototype.addCommands=function(e){e&&Object.keys(e).forEach((function(t){var n=e[t];if(n){if("string"===typeof n)return this.bindKey(n,t);"function"===typeof n&&(n={exec:n}),"object"===typeof n&&(n.name||(n.name=t),this.addCommand(n))}}),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})),n=t.pop(),r=a[n];if(a.FUNCTION_KEYS[r])n=a.FUNCTION_KEYS[r].toLowerCase();else{if(!t.length)return{key:n,hashId:-1};if(1==t.length&&"shift"==t[0])return{key:n.toUpperCase(),hashId:-1}}for(var l=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;l|=i}return{key:n,hashId:l}},e.prototype.findKeyCommand=function(e,t){var n=i[e]+t;return this.commandKeyBinding[n]},e.prototype.handleKeyboard=function(e,t,n,r){if(!(r<0)){var l=i[t]+n,a=this.commandKeyBinding[l];return e.$keyChain&&(e.$keyChain+=" "+l,a=this.commandKeyBinding[e.$keyChain]||a),!a||"chainKeys"!=a&&"chainKeys"!=a[a.length-1]?(e.$keyChain&&(t&&4!=t||1!=n.length?(-1==t||r>0)&&(e.$keyChain=""):e.$keyChain=e.$keyChain.slice(0,-l.length-1)),{command:a}):(e.$keyChain=e.$keyChain||l,{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,n){var r=e.call(this,t,n)||this;return r.$singleCommand=!0,r}return l(t,e),t}(s);u.call=function(e,t,n){s.prototype.$init.call(e,t,n,!0)},s.call=function(e,t,n){s.prototype.$init.call(e,t,n,!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,n){"use strict";var r,l=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(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 n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=e("../lib/oop"),o=e("../keyboard/hash_handler").MultiHashHandler,i=e("../lib/event_emitter").EventEmitter,s=function(e){function t(t,n){var r=e.call(this,n,t)||this;return r.byName=r.commands,r.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)})),r}return l(t,e),t.prototype.exec=function(e,t,n){if(Array.isArray(e)){for(var r=e.length;r--;)if(this.exec(e[r],t,n))return!0;return!1}"string"===typeof e&&(e=this.commands[e]);var l={editor:t,command:e,args:n};return this.canExecute(e,t)?(l.returnValue=this._emit("exec",l),this._signal("afterExec",l),!1!==l.returnValue):(this._signal("commandUnavailable",l),!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,n){"use strict";var r=e("../lib/lang"),l=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){l.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){l.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){l.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){l.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){l.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(r.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(),n=t?e.selection.getSelectionLead():e.selection.getSelectionAnchor(),l=t?e.selection.getSelectionAnchor():e.selection.getSelectionLead(),o=e.session.doc.getLine(n.row).length,i=e.session.doc.getTextRange(e.selection.getRange()).replace(/\n\s*/," ").length,s=e.session.doc.getLine(n.row),c=n.row+1;c<=l.row+1;c++){var u=r.stringTrimLeft(r.stringTrimRight(e.session.doc.getLine(c)));0!==u.length&&(u=" "+u),s+=u}l.row+10?(e.selection.moveCursorTo(n.row,n.column),e.selection.selectTo(n.row,n.column+i)):(o=e.session.doc.getLine(n.row).length>o?o+1:o,e.selection.moveCursorTo(n.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,n=e.session.doc.getLine(t).length,r=e.selection.rangeList.ranges,l=[];r.length<1&&(r=[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[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},l=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,v=e("./commands/default_commands").commands,b=e("./config"),y=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,n,r){this.id="editor"+ ++e.$uid,this.session,this.$toDestroy=[];var l=t.getContainerElement();this.container=l,this.renderer=t,this.commands=new g(i.isMac?"mac":"win",v),"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(n||r&&r.session||new f("")),b.resetOptions(this),r&&this.setOptions(r),b._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,n=t&&t.scrollIntoView;if(n){switch(n){case"center-animate":n="animate";case"center":this.renderer.scrollCursorIntoView(null,.5);break;case"animate":case"cursor":this.renderer.scrollCursorIntoView();break;case"selectionPart":var r=this.selection.getRange(),l=this.renderer.layerConfig;(r.start.row>=l.lastRow||r.end.row<=l.firstRow)&&this.renderer.scrollSelectionIntoView(this.selection.anchor,this.selection.lead)}"animate"==n&&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,n=this.$mergeableCommands,r=t.command&&e.command.name==t.command.name;if("insertstring"==e.command.name){var l=e.args;void 0===this.mergeNextCommand&&(this.mergeNextCommand=!0),r=r&&this.mergeNextCommand&&(!/\s/.test(l)||/\s/.test(t.args)),this.mergeNextCommand=!0}else r=r&&-1!==n.indexOf(e.command.name);"always"!=this.$mergeUndoDeltas&&Date.now()-this.sequenceStartTime>2e3&&(r=!1),r?this.session.mergeUndoDeltas=!0:-1!==n.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 n=this;b.loadModule(["keybinding",e],(function(r){n.$keybindingId==e&&n.keyBinding.setKeyboardHandler(r&&r.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 n=this.session.getSelection();n.off("changeCursor",this.$onCursorChange),n.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 n=e.getCursorPosition(),r=e.getKeyboardHandler(),l=r&&r.$getDirectionForHighlight&&r.$getDirectionForHighlight(e),a=t.getMatchingBracketRanges(n,l);if(!a){var o=new y(t,n.row,n.column).getCurrentToken();if(o&&/\b(?:tag-open|tag-name)/.test(o.type)){var i=t.getMatchingTags(n);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,n=e.start.row==e.end.row?e.end.row:1/0;this.renderer.updateLines(e.start.row,n,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 n=new h(e.row,e.column,e.row,1/0);n.id=t.addMarker(n,"ace_active-line","screenLine"),t.$highlightLineMarker=n}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 n=this.selection.getRange(),r=this.getSelectionStyle();t.$selectionMarker=t.addMarker(n,"ace_selection",r)}var l=this.$highlightSelectedWord&&this.$getSelectionHighLightRegexp();this.session.highlight(l),this._signal("changeSelection")},e.prototype.$getSelectionHighLightRegexp=function(){var e=this.session,t=this.getSelectionRange();if(!t.isEmpty()&&!t.isMultiLine()){var n=t.start.column,r=t.end.column,l=e.getLine(t.start.row),a=l.substring(n,r);if(!(a.length>5e3)&&/[\w\d]/.test(a)){var o=this.$search.$assembleRegExp({wholeWord:!0,caseSensitive:!0,needle:a}),i=l.substring(n-1,r+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(),n=!1;if(!e&&this.$copyWithEmptySelection){n=!0;for(var r=this.selection.getAllRanges(),l=0;li.search(/\S|$/)){var s=i.substr(l.column).search(/\S|$/);n.doc.removeInLine(l.row,l.column,l.column+s)}}this.clearSelection();var c=l.column,u=n.getState(l.row),d=(i=n.getLine(l.row),r.checkOutdent(u,i,e));if(n.insert(l,e),a&&a.selection&&(2==a.selection.length?this.selection.setSelectionRange(new h(l.row,c+a.selection[0],l.row,c+a.selection[1])):this.selection.setSelectionRange(new h(l.row+a.selection[0],a.selection[1],l.row+a.selection[2],a.selection[3]))),this.$enableAutoIndent){if(n.getDocument().isNewLine(e)){var f=r.getNextLineIndent(u,i.slice(0,l.column),n.getTabString());n.insert({row:l.row+1,column:0},f)}d&&r.autoOutdent(u,n,l.row)}},e.prototype.autoIndent=function(){for(var e=this.session,t=e.getMode(),n=this.selection.isEmpty()?[new h(0,0,e.doc.getLength()-1,0)]:this.selection.getAllRanges(),r="",l="",a="",o=e.getTabString(),i=0;i0&&(r=e.getState(u-1),l=e.getLine(u-1),a=t.getNextLineIndent(r,l,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(r,e,u)}},e.prototype.onTextInput=function(e,t){if(!t)return this.keyBinding.onTextInput(e);this.startOperation({command:{name:"insertstring"}});var n=this.applyComposition.bind(this,e,t);this.selection.rangeCount?this.forEachSelection(n):n(),this.endOperation()},e.prototype.applyComposition=function(e,t){var n;(t.extendLeft||t.extendRight)&&((n=this.selection.getRange()).start.column-=t.extendLeft,n.end.column+=t.extendRight,n.start.column<0&&(n.start.row--,n.start.column+=this.session.getLine(n.start.row).length+1),this.selection.setRange(n),e||n.isEmpty()||this.remove());(!e&&this.selection.isEmpty()||this.insert(e,!0),t.restoreStart||t.restoreEnd)&&((n=this.selection.getRange()).start.column-=t.restoreStart,n.end.column-=t.restoreEnd,this.selection.setRange(n))},e.prototype.onCommandKey=function(e,t,n){return this.keyBinding.onCommandKey(e,t,n)},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 n=this.session,r=n.getState(t.start.row),l=n.getMode().transformAction(r,"deletion",this,n,t);if(0===t.end.column){var a=n.getTextRange(t);if("\n"==a[a.length-1]){var o=n.getLine(t.end.row);/^\s+$/.test(o)&&(t.end.column=o.length)}}l&&(t=l)}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 n,r,l=this.session.getLine(e.row);tt.toLowerCase()?1:0}));var l=new h(0,0,0,0);for(r=e.first;r<=e.last;r++){var a=t.getLine(r);l.start.row=r,l.end.row=r,l.end.column=a.length,t.replace(l,n[r-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),n=this.getSelectionRange();this.session.getMode().toggleBlockComment(t,this.session,n,e)},e.prototype.getNumberAt=function(e,t){var n=/[\-]?[0-9]+(?:\.[0-9]+)?/g;n.lastIndex=0;for(var r=this.session.getLine(e);n.lastIndex=t)return{value:l[0],start:l.index,end:l.index+l[0].length}}return null},e.prototype.modifyNumber=function(e){var t=this.selection.getCursor().row,n=this.selection.getCursor().column,r=new h(t,n-1,t,n),l=this.session.getTextRange(r);if(!isNaN(parseFloat(l))&&isFinite(l)){var a=this.getNumberAt(t,n);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&&n=i&&a<=s&&(n=t,c.selection.clearSelection(),c.moveCursorTo(e,i+r),c.selection.selectTo(e,s+r)),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){n={error:e}}finally{try{d&&!d.done&&(l=u.return)&&l.call(u)}finally{if(n)throw n.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,n=e.getRange(),r=e.isBackwards();if(n.isEmpty()){var l=n.start.row;t.duplicateLines(l,l)}else{var a=r?n.start:n.end,o=t.insert(a,t.getTextRange(n));n.start=a,n.end=o,e.setSelectionRange(n,r)}},e.prototype.moveLinesDown=function(){this.$moveLines(1,!1)},e.prototype.moveLinesUp=function(){this.$moveLines(-1,!1)},e.prototype.moveText=function(e,t,n){return this.session.moveText(e,t,n)},e.prototype.copyLinesUp=function(){this.$moveLines(-1,!0)},e.prototype.copyLinesDown=function(){this.$moveLines(1,!0)},e.prototype.$moveLines=function(e,t){var n,r,l=this.selection;if(!l.inMultiSelectMode||this.inVirtualSelectionMode){var a=l.toOrientedRange();n=this.$getSelectedRows(a),r=this.session.$moveLines(n.first,n.last,t?0:e),t&&-1==e&&(r=0),a.moveBy(r,0),l.fromOrientedRange(a)}else{var o=l.rangeList.ranges;l.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}l.fromOrientedRange(l.ranges[0]),l.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 n=this.renderer,r=this.renderer.layerConfig,l=e*Math.floor(r.height/r.lineHeight);!0===t?this.selection.$moveSelection((function(){this.moveCursorBy(l,0)})):!1===t&&(this.selection.moveCursorBy(l,0),this.selection.clearSelection());var a=n.scrollTop;n.scrollBy(0,l*r.lineHeight),null!=t&&n.scrollCursorIntoView(null,.5),n.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,n,r){this.renderer.scrollToLine(e,t,n,r)},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 n=this.getCursorPosition(),r=new y(this.session,n.row,n.column),l=r.getCurrentToken(),a=0;l&&-1!==l.type.indexOf("tag-name")&&(l=r.stepBackward());var o=l||r.stepForward();if(o){var i,s,c=!1,u={},d=n.column-o.start,f={")":"(","(":"(","]":"[","[":"[","{":"{","}":"{"};do{if(o.value.match(/[{}()\[\]]/g)){for(;d1?u[o.value]++:"=0;--a)this.$tryReplace(n[a],e)&&r++;return this.selection.setSelectionRange(l),r},e.prototype.$tryReplace=function(e,t){var n=this.session.getTextRange(e);return null!==(t=this.$search.replace(n,t))?(e.end=this.session.replace(e,t),e):null},e.prototype.getLastSearchOptions=function(){return this.$search.getOptions()},e.prototype.find=function(e,t,n){t||(t={}),"string"==typeof e||e instanceof RegExp?t.needle=e:"object"==typeof e&&l.mixin(t,e);var r=this.selection.getRange();null==t.needle&&((e=this.session.getTextRange(r)||this.$search.$options.needle)||(r=this.session.getWordRange(r.start.row,r.start.column),e=this.session.getTextRange(r)),this.$search.set({needle:e})),this.$search.set(t),t.start||this.$search.set({start:r});var a=this.$search.find(this.session);return t.preventScroll?a:a?(this.revealRange(a,n),a):(t.backwards?r.start=r.end:r.end=r.start,void this.selection.setRange(r))},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 n=this.renderer.scrollTop;this.renderer.scrollSelectionIntoView(e.start,e.end,.5),!1!==t&&this.renderer.animateScrolling(n)},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,n=this,r=!1;this.$scrollAnchor||(this.$scrollAnchor=document.createElement("div"));var l=this.$scrollAnchor;l.style.cssText="position:absolute",this.container.insertBefore(l,this.container.firstChild);var a=this.on("changeSelection",(function(){r=!0})),o=this.renderer.on("beforeRender",(function(){r&&(t=n.renderer.container.getBoundingClientRect())})),i=this.renderer.on("afterRender",(function(){if(r&&t&&(n.isFocused()||n.searchBox&&n.searchBox.isFocused())){var e=n.renderer,a=e.$cursorLayer.$pixelPos,o=e.layerConfig,i=a.top-o.offset;null!=(r=a.top>=0&&i+t.top<0||!(a.topwindow.innerHeight)&&null)&&(l.style.top=i+"px",l.style.left=a.left+"px",l.style.height=o.lineHeight+"px",l.scrollIntoView(r)),r=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,n){var r=this;b.loadModule("ace/ext/prompt",(function(l){l.prompt(r,e,t,n)}))},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"],["&&","||"],["==","!="]],l.implement(M.prototype,m),b.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 n=!1;if(e&&"keydown"==e.type){if(e&&e.key&&!e.ctrlKey&&!e.metaKey&&(" "==e.key&&e.preventDefault(),n=1==e.key.length),!n)return}else e&&"exec"!==e.type&&(n=!0);if(n){var r=a.createElement("div");r.textContent=x("editor.tooltip.disable-editing","Editing is disabled"),t.hoverTooltip.isOpen||t.hoverTooltip.showForRange(t,t.getSelectionRange(),r)}else t.hoverTooltip&&t.hoverTooltip.isOpen&&t.hoverTooltip.hide()});var n=this.textInput.getElement();e?(C.addListener(n,"keydown",this.$readOnlyCallback,this),this.commands.on("exec",this.$readOnlyCallback),this.commands.on("commandUnavailable",this.$readOnlyCallback)):(C.removeListener(n,"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,n={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},r=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",r.bind(this)),this.commands.addCommand(n),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",r.bind(this)),this.commands.removeCommand(n),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,n){return Math.max(t.toString().length,(n.lastRow+1).toString().length,2)*n.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,n){"use strict";var r=e("../lib/dom"),l=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){r.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,n){var r=t.firstRowScreen*t.lineHeight,l=Math.floor(r/this.canvasHeight);return n.documentToScreenRow(e,0)*t.lineHeight-l*this.canvasHeight},e.prototype.computeLineHeight=function(e,t,n){return t.lineHeight*n.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=r.createFragment(this.element),n=0;na&&(s=l.end.row+1,a=(l=t.getNextFoldLine(s,l))?l.start.row:1/0),s>r){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,l,s),s++}this._signal("afterRender"),this.$updateGutterWidth(e),this.$showCursorMarker&&this.$highlightGutterLine&&this.$updateCursorMarker()},e.prototype.$updateGutterWidth=function(e){var t=this.session,n=t.gutterRenderer||this.$renderer,r=t.$firstLineNumber,l=this.$lines.last()?this.$lines.last().text:"";(this.$fixedWidth||t.$useWrapMode)&&(l=t.getLength()+r-1);var a=n?n.getWidth(t,l,e):l.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 n=0;n=this.$cursorRow){if(r.row>this.$cursorRow){var l=this.session.getFoldLine(this.$cursorRow);if(!(n>0&&l&&l.start.row==t[n-1].row))break;r=t[n-1]}r.element.className="ace_gutter-active-line "+r.element.className,this.$cursorCell=r;break}}}}},e.prototype.$updateCursorMarker=function(){if(this.session){var e=this.session;this.$highlightElement||(this.$highlightElement=r.createElement("div"),this.$highlightElement.className="ace_gutter-cursor",this.$highlightElement.style.pointerEvents="none",this.element.appendChild(this.$highlightElement));var t=e.selection.cursor,n=this.config,l=this.$lines,a=n.firstRowScreen*n.lineHeight,o=Math.floor(a/l.canvasHeight),i=e.documentToScreenRow(t)*n.lineHeight-o*l.canvasHeight;r.setStyle(this.$highlightElement.style,"height",n.lineHeight+"px"),r.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 n=Math.min(e.lastRow+e.gutterOffset,this.session.getLength()-1),r=this.oldLastRow;if(this.oldLastRow=n,!t||r0;l--)this.$lines.shift();if(r>n)for(l=this.session.getFoldedRowCount(n+1,r);l>0;l--)this.$lines.pop();e.firstRowr&&this.$lines.push(this.$renderLines(e,r+1,n)),this.updateLineHighlight(),this._signal("afterRender"),this.$updateGutterWidth(e)},e.prototype.$renderLines=function(e,t,n){for(var r=[],l=t,a=this.session.getNextFoldLine(l),o=a?a.start.row:1/0;l>o&&(l=a.end.row+1,o=(a=this.session.getNextFoldLine(l,a))?a.start.row:1/0),!(l>n);){var i=this.$lines.createCell(l,e,this.session,u);this.$renderCell(i,e,a,l),r.push(i),l++}return r},e.prototype.$renderCell=function(e,t,n,l){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,v=this.$showFoldWidgets&&o.foldWidgets,b=n?n.start.row:Number.MAX_VALUE,y=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,l):l+p).toString();if(this.$highlightGutterLine&&(l==this.$cursorRow||n&&l=b&&this.$cursorRow<=n.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[l]&&(w+=h[l]),m[l]&&(w+=m[l]),this.$annotations[l]&&l!==b&&(w+=this.$annotations[l].className),v){var S=v[l];null==S&&(S=v[l]=o.getFoldWidget(l))}if(S){var C="ace_fold-widget ace_"+S,O="start"==S&&l==b&&lt[r].row)){for(;n<=r;){var l=Math.floor((n+r)/2),a=t[l];if(a.row>e)r=l-1;else{if(!(a.rown.right-t.right?"foldWidgets":void 0},e}();function u(e){var t=document.createTextNode("");e.appendChild(t);var n=r.createElement("span");e.appendChild(n);var l=r.createElement("span");e.appendChild(l);var a=r.createElement("span");return l.appendChild(a),e}c.prototype.$fixedWidth=!1,c.prototype.$highlightGutterLine=!0,c.prototype.$renderer=void 0,c.prototype.$showLineNumbers=!0,c.prototype.$showFoldWidgets=!0,l.implement(c.prototype,o),t.Gutter=c})),ace.define("ace/layer/marker",["require","exports","module","ace/range","ace/lib/dom"],(function(e,t,n){"use strict";var r=e("../range").Range,l=e("../lib/dom"),a=function(){function e(e){this.element=l.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 n=-1!=this.i&&this.element.childNodes[this.i];n?this.i++:(n=document.createElement("div"),this.element.appendChild(n),this.i=-1),n.style.cssText=t,n.className=e},e.prototype.update=function(e){if(e){var t;for(var n in this.config=e,this.i=0,this.markers){var r=this.markers[n];if(r.range){var l=r.range.clipRows(e.firstRow,e.lastRow);if(!l.isEmpty())if(l=l.toScreenRange(this.session),r.renderer){var a=this.$getTop(l.start.row,e),o=this.$padding+l.start.column*e.characterWidth;r.renderer(t,l,o,a,e)}else"fullLine"==r.type?this.drawFullLineMarker(t,l,r.clazz,e):"screenLine"==r.type?this.drawScreenLineMarker(t,l,r.clazz,e):l.isMultiLine()?"text"==r.type?this.drawTextMarker(t,l,r.clazz,e):this.drawMultiLineMarker(t,l,r.clazz,e):this.drawSingleLineMarker(t,l,r.clazz+" ace_start ace_br15",e)}else r.update(t,this,this.session,e)}if(-1!=this.i)for(;this.if?4:0)|(c==s?8:0)),l,c==s?0:1,a)},e.prototype.drawMultiLineMarker=function(e,t,n,r,l){var a=this.$padding,o=r.lineHeight,i=this.$getTop(t.start.row,r),s=a+t.start.column*r.characterWidth;(l=l||"",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,n+" ace_br1 ace_start",r,null,l)):this.elt(n+" ace_br1 ace_start","height:"+o+"px;right:"+a+"px;top:"+i+"px;left:"+s+"px;"+(l||""));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,n+" ace_br12",r,null,l)}else{i=this.$getTop(t.end.row,r);var u=t.end.column*r.characterWidth;this.elt(n+" ace_br12","height:"+o+"px;width:"+u+"px;top:"+i+"px;left:"+a+"px;"+(l||""))}if(!((o=(t.end.row-t.start.row-1)*r.lineHeight)<=0)){i=this.$getTop(t.start.row+1,r);var d=(t.start.column?1:0)|(t.end.column?0:8);this.elt(n+(d?" ace_br"+d:""),"height:"+o+"px;right:"+a+"px;top:"+i+"px;left:"+a+"px;"+(l||""))}},e.prototype.drawSingleLineMarker=function(e,t,n,r,l,a){if(this.session.$bidiHandler.isBidiRow(t.start.row))return this.drawBidiSingleLineMarker(e,t,n,r,l,a);var o=r.lineHeight,i=(t.end.column+(l||0)-t.start.column)*r.characterWidth,s=this.$getTop(t.start.row,r),c=this.$padding+t.start.column*r.characterWidth;this.elt(n,"height:"+o+"px;width:"+i+"px;top:"+s+"px;left:"+c+"px;"+(a||""))},e.prototype.drawBidiSingleLineMarker=function(e,t,n,r,l,a){var o=r.lineHeight,i=this.$getTop(t.start.row,r),s=this.$padding;this.session.$bidiHandler.getSelections(t.start.column,t.end.column).forEach((function(e){this.elt(n,"height:"+o+"px;width:"+(e.width+(l||0))+"px;top:"+i+"px;left:"+(s+e.left)+"px;"+(a||""))}),this)},e.prototype.drawFullLineMarker=function(e,t,n,r,l){var a=this.$getTop(t.start.row,r),o=r.lineHeight;t.start.row!=t.end.row&&(o+=this.$getTop(t.end.row,r)-a),this.elt(n,"height:"+o+"px;top:"+a+"px;left:0;right:0;"+(l||""))},e.prototype.drawScreenLineMarker=function(e,t,n,r,l){var a=this.$getTop(t.start.row,r),o=r.lineHeight;this.elt(n,"height:"+o+"px;top:"+a+"px;left:0;right:0;"+(l||""))},e}();a.prototype.$padding=0,t.Marker=a})),ace.define("ace/layer/text_util",["require","exports","module"],(function(e,t,n){var r=new Set(["text","rparen","lparen"]);t.isTextToken=function(e){return r.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,n){"use strict";var r=e("../lib/oop"),l=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=l,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],n=1;nu&&(i=s.end.row+1,u=(s=this.session.getNextFoldLine(i,s))?s.start.row:1/0),!(i>l);){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;l--)this.$lines.shift();if(t.lastRow>e.lastRow)for(l=this.session.getFoldedRowCount(e.lastRow+1,t.lastRow);l>0;l--)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,n){for(var r=[],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>n);){var s=this.$lines.createCell(a,e,this.session),c=s.element;this.dom.removeChildren(c),l.setStyle(c.style,"height",this.$lines.computeLineHeight(a,e,this.session)+"px"),l.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",r.push(s),a++}return r},e.prototype.update=function(e){this.$lines.moveContainer(e),this.config=e;for(var t=e.firstRow,n=e.lastRow,r=this.$lines;r.getLength();)r.pop();r.push(this.$renderLinesFragment(e,t,n))},e.prototype.$renderToken=function(e,t,n,r){for(var l,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;l=o.exec(r);){var d=l[1],f=l[2],p=l[3],h=l[4],m=l[5];if(this.showSpaces||!f){var g=u!=l.index?r.slice(u,l.index):"";if(u=l.index+l[0].length,g&&i.appendChild(this.dom.createTextNode(g,this.element)),d){var v=this.session.getScreenTabSize(t+l.index),b=this.$tabStrings[v].cloneNode(!0);b.charCount=1,i.appendChild(b),t+=v-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?r.slice(u):r,this.element)),c(n.type))e.appendChild(i);else{var y="ace_"+n.type.replace(/\./g," ace_"),w=this.dom.createElement("span");"fold"==n.type&&(w.style.width=n.value.length*this.config.characterWidth+"px",w.setAttribute("title",s("inline-fold.closed.title","Unfold code"))),w.className=y,w.appendChild(i),e.appendChild(w)}return t+r.length},e.prototype.renderIndentGuide=function(e,t,n){var r=t.search(this.$indentGuideRe);if(r<=0||r>=n)return t;if(" "==t[0]){for(var l=(r-=r%this.tabSize)/this.tabSize,a=0;al[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;n=e.element.childNodes[0]}var r=n.childNodes;if(r){var l=r[t-1];l&&l.classList&&l.classList.contains("ace_indent-guide")&&l.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 n=0;n=this.$highlightIndentGuideMarker.start+1){if(r.row>=this.$highlightIndentGuideMarker.end)break;this.$setIndentGuideActive(r,t)}}else for(n=e.length-1;n>=0;n--){r=e[n];if(this.$highlightIndentGuideMarker.end&&r.row=o;){i=this.$renderToken(s,i,u,d.substring(0,o-r)),d=d.substring(o-r),r=o,s=this.$createLineElement(),e.appendChild(s);var f=this.dom.createTextNode(a.stringRepeat("\xa0",n.indent),this.element);f.charCount=0,s.appendChild(f),i=0,o=n[++l]||Number.MAX_VALUE}0!=d.length&&(r+=d.length,i=this.$renderToken(s,i,u,d))}}n[n.length-1]>this.MAX_LINE_LENGTH&&this.$renderOverflowMessage(s,i,null,"",!0)},e.prototype.$renderSimpleLine=function(e,t){for(var n=0,r=0;rthis.MAX_LINE_LENGTH)return this.$renderOverflowMessage(e,n,l,a);n=this.$renderToken(e,n,l,a)}}},e.prototype.$renderOverflowMessage=function(e,t,n,r,l){n&&this.$renderToken(e,t,n,r.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=l?"":"",e.appendChild(a)},e.prototype.$renderLine=function(e,t,n){if(n||0==n||(n=this.session.getFoldLine(t)),n)var r=this.$getFoldLineTokens(t,n);else r=this.session.getTokens(t);var l=e;if(r.length){var a=this.session.getRowSplitData(t);if(a&&a.length){this.$renderWrappedLine(e,r,a);l=e.lastChild}else{l=e;this.$useLineGroups()&&(l=this.$createLineElement(),e.appendChild(l)),this.$renderSimpleLine(l,r)}}else this.$useLineGroups()&&(l=this.$createLineElement(),e.appendChild(l));if(this.showEOL&&l){n&&(t=n.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,l.appendChild(o)}},e.prototype.$getFoldLineTokens=function(e,t){var n=this.session,r=[];var l=n.getTokens(e);return t.walk((function(e,t,a,o,i){null!=e?r.push({type:"fold",value:e}):(i&&(l=n.getTokens(t)),l.length&&function(e,t,n){for(var l=0,a=0;a+e[l].value.lengthn-t&&(o=o.substring(0,n-t)),r.push({type:e[l].type,value:o}),a=t+o.length,l+=1);an?r.push({type:e[l].type,value:o.substring(0,n-a)}):r.push(e[l]),a+=o.length,l+=1}}(l,o,a))}),t.end.row,this.session.getLine(t.end.row).length),r},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,r.implement(u.prototype,i),t.Text=u})),ace.define("ace/layer/cursor",["require","exports","module","ace/lib/dom"],(function(e,t,n){"use strict";var r=e("../lib/dom"),l=function(){function e(e){this.element=r.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(),r.addCssClass(this.element,"ace_hidden-cursors"),this.$updateCursors=this.$updateOpacity.bind(this)}return e.prototype.$updateOpacity=function(e){for(var t=this.cursors,n=t.length;n--;)r.setStyle(t[n].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&&r.addCssClass(this.element,"ace_animate-blinking")}.bind(this))},e.prototype.$stopCssAnimation=function(){this.$isAnimating=!1,r.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,r.setCssClass(this.element,"ace_smooth-blinking",e),this.$updateCursors(!0),this.restartTimer())},e.prototype.addCursor=function(){var e=r.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,r.addCssClass(this.element,"ace_hidden-cursors"),this.restartTimer()},e.prototype.showCursor=function(){this.isVisible=!0,r.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,r.removeCssClass(this.element,"ace_smooth-blinking")),e(!0),this.isBlinking&&this.blinkInterval&&this.isVisible)if(this.smoothBlinking&&(this.$isSmoothBlinking=!0,setTimeout(function(){this.$isSmoothBlinking&&r.addCssClass(this.element,"ace_smooth-blinking")}.bind(this))),r.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 n=this.session.documentToScreenPosition(e);return{left:this.$padding+(this.session.$bidiHandler.isBidiRow(n.row,e.row)?this.session.$bidiHandler.getPosLeft(n.column):n.column*this.config.characterWidth),top:(n.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)&&n>1)){var i=this.cursors[l++]||this.addCursor(),s=i.style;this.drawCursor?this.drawCursor(i,o,e,t[n],this.session):this.isCursorInView(o,e)?(r.setStyle(s,"display","block"),r.translate(i,o.left,o.top),r.setStyle(s,"width",Math.round(e.characterWidth)+"px"),r.setStyle(s,"height",e.lineHeight+"px")):r.setStyle(s,"display","none")}}for(;this.cursors.length>l;)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?r.addCssClass(this.element,"ace_overwrite-cursors"):r.removeCssClass(this.element,"ace_overwrite-cursors"))},e.prototype.destroy=function(){clearInterval(this.intervalId),clearTimeout(this.timeoutId)},e}();l.prototype.$padding=0,l.prototype.drawCursor=null,t.Cursor=l})),ace.define("ace/scrollbar",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/event","ace/lib/event_emitter"],(function(e,t,n){"use strict";var r,l=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(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 n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),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,n){var r=e.call(this,t,"-v")||this;return r.scrollTop=0,r.scrollHeight=0,n.$scrollbarWidth=r.width=o.scrollbarWidth(t.ownerDocument),r.inner.style.width=r.element.style.width=(r.width||15)+5+"px",r.$minWidth=0,r}return l(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,n){var r=e.call(this,t,"-h")||this;return r.scrollLeft=0,r.height=n.$scrollbarWidth,r.inner.style.height=r.element.style.height=(r.height||15)+5+"px",r}return l(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,n){"use strict";var r,l=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(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 n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),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,n){var r=e.call(this,t,"-v")||this;return r.scrollTop=0,r.scrollHeight=0,r.parent=t,r.width=r.VScrollWidth,r.renderer=n,r.inner.style.width=r.element.style.width=(r.width||15)+"px",r.$minWidth=0,r}return l(t,e),t.prototype.onMouseDown=function(e,t){if("mousedown"===e&&0===i.getButton(t)&&2!==t.detail){if(t.target===this.inner){var n=this,r=t.clientY,l=t.clientY,a=this.thumbTop;i.capture(this.inner,(function(e){r=e.clientY}),(function(){clearInterval(o)}));var o=setInterval((function(){if(void 0!==r){var e=n.scrollTopFromThumbTop(a+r-l);e!==n.scrollTop&&n._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,n){var r=e.call(this,t,"-h")||this;return r.scrollLeft=0,r.scrollWidth=0,r.height=r.HScrollHeight,r.inner.style.height=r.element.style.height=(r.height||12)+"px",r.renderer=n,r}return l(t,e),t.prototype.onMouseDown=function(e,t){if("mousedown"===e&&0===i.getButton(t)&&2!==t.detail){if(t.target===this.inner){var n=this,r=t.clientX,l=t.clientX,a=this.thumbLeft;i.capture(this.inner,(function(e){r=e.clientX}),(function(){clearInterval(o)}));var o=setInterval((function(){if(void 0!==r){var e=n.scrollLeftFromThumbLeft(a+r-l);e!==n.scrollLeft&&n._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,n){"use strict";var r=e("./lib/event"),l=function(){function e(e,t){this.onRender=e,this.pending=!1,this.changes=0,this.$recursionLimit=2,this.window=t||window;var n=this;this._flush=function(e){n.pending=!1;var t=n.changes;if(t&&(r.blockIdle(100),n.changes=0,n.onRender(t)),n.changes){if(n.$recursionLimit--<0)return;n.schedule()}else n.$recursionLimit=2}}return e.prototype.schedule=function(e){this.changes=this.changes|e,this.changes&&!this.pending&&(r.nextFrame(this._flush),this.pending=!0)},e.prototype.clear=function(e){var t=this.changes;return this.changes=0,t},e}();t.RenderLoop=l})),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,n){var r=e("../lib/oop"),l=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=l.createElement("div"),this.$setMeasureNodeStyles(this.el.style,!0),this.$main=l.createElement("div"),this.$setMeasureNodeStyles(this.$main.style),this.$measureNode=l.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=l.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 n(e,t,n){var r=e[1]*t[0]-e[0]*t[1];return[(-t[1]*n[0]+t[0]*n[1])/r,(+e[1]*n[0]-e[0]*n[1])/r]}function r(e,t){return[e[0]-t[0],e[1]-t[1]]}function l(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=n(r(d,s),r(d,c),r(l(s,c),l(d,i))),p=a(1+f[0],r(s,i)),h=a(1+f[1],r(c,i));if(t){var m=t,g=f[0]*m[0]/u+f[1]*m[1]/u+1,v=l(a(m[0],p),a(m[1],h));return l(a(1/g/u,v),i)}var b=r(e,i),y=n(r(p,a(f[0],b)),r(h,a(f[1],b)),b);return a(u,y)},e}();d.prototype.$characterSize={width:0,height:0},r.implement(d.prototype,s),t.FontMetrics=d})),ace.define("ace/css/editor-css",["require","exports","module"],(function(e,t,n){n.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,n){"use strict";var r=e("../lib/dom"),l=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=r.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 n=this.canvas.getContext("2d"),r=this.renderer.session.$annotations;if(n.clearRect(0,0,this.canvas.width,this.canvas.height),r){var l={info:1,warning:2,error:3};r.forEach((function(e){e.priority=l[e.type]||null})),r=r.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;n.fillStyle=t[r[a].type]||null,n.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);n.fillStyle="rgba(0, 0, 0, 0.5)",n.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,n,r){if(!(this.resizing>2)){this.resizing>0?this.resizing++:this.resizing=e?1:0;var l=this.container;r||(r=l.clientHeight||l.scrollHeight),!r&&this.$maxLines&&this.lineHeight>1&&(l.style.height&&"0px"!=l.style.height||(l.style.height="1px",r=l.clientHeight||l.scrollHeight)),n||(n=l.clientWidth||l.scrollWidth);var a=this.$updateCachedSize(e,t,n,r);if(this.$resizeTimer&&this.$resizeTimer.cancel(),!this.$size.scrollerHeight||!n&&!r)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,n,r){r-=this.$extraHeight||0;var a=0,o=this.$size,i={width:o.width,height:o.height,scrollerHeight:o.scrollerHeight,scrollerWidth:o.scrollerWidth};if(r&&(e||o.height!=r)&&(o.height=r,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),n&&(e||o.width!=n)){a|=this.CHANGE_SIZE,o.width=n,null==t&&(t=this.$showGutter?this.$gutter.offsetWidth:0),this.gutterWidth=t,l.setStyle(this.scrollBarH.element.style,"left",t+"px"),l.setStyle(this.scroller.style,"left",t+this.margin.left+"px"),o.scrollerWidth=Math.max(0,n-t-this.scrollBarV.getWidth()-this.margin.h),l.setStyle(this.$gutter.style,"left",this.margin.left+"px");var s=this.scrollBarV.getWidth()+"px";l.setStyle(this.scrollBarH.element.style,"right",s),l.setStyle(this.scroller.style,"right",s),l.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=!n||!r,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=l.createElement("div");e.className="ace_layer ace_print-margin-layer",this.$printMarginEl=l.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 n=this.$cursorLayer.$pixelPos;if(n){t&&t.markerRange&&(n=this.$cursorLayer.getPixelPosition(t.markerRange.start,!0));var r=this.layerConfig,a=n.top,o=n.left;a-=r.offset;var i=t&&t.useTextareaForIME||w.isMobile?this.lineHeight:1;if(a<0||a>r.height-i)l.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,l.setStyle(e,"height",i+"px"),l.setStyle(e,"width",s+"px"),l.translate(this.textarea,Math.min(o,this.$size.scrollerWidth-s),Math.min(a,c))}}}else l.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,n,r){var l=this.scrollMargin;l.top=0|e,l.bottom=0|t,l.right=0|r,l.left=0|n,l.v=l.top+l.bottom,l.h=l.left+l.right,l.top&&this.scrollTop<=0&&this.session&&this.session.setScrollTop(-l.top),this.updateFull()},e.prototype.setMargin=function(e,t,n,r){var l=this.margin;l.top=0|e,l.bottom=0|t,l.right=0|r,l.left=0|n,l.v=l.top+l.bottom,l.h=l.left+l.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 n=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(),n.firstRow!=this.layerConfig.firstRow&&n.firstRowScreen==this.layerConfig.firstRowScreen){var r=this.scrollTop+(n.firstRow-Math.max(this.layerConfig.firstRow,0))*this.lineHeight;r>0&&(this.scrollTop=r,e|=this.CHANGE_SCROLL,e|=this.$computeLayerConfig()|this.$loop.clear())}n=this.layerConfig,this.$updateScrollBarV(),e&this.CHANGE_H_SCROLL&&this.$updateScrollBarH(),l.translate(this.content,-this.scrollLeft,-n.offset);var a=n.width+2*this.$padding+"px",o=n.minHeight+"px";l.setStyle(this.content.style,"width",a),l.setStyle(this.content.style,"height",o)}if(e&this.CHANGE_H_SCROLL&&(l.translate(this.content,-this.scrollLeft,-n.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(n),this.$showGutter&&this.$gutterLayer.update(n),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(n),this.$markerBack.update(n),this.$markerFront.update(n),this.$cursorLayer.update(n),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(n):this.$textLayer.scrollLines(n),this.$showGutter&&(e&this.CHANGE_GUTTER||e&this.CHANGE_LINES?this.$gutterLayer.update(n):this.$gutterLayer.scrollLines(n)),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(n),this.$markerBack.update(n),this.$markerFront.update(n),this.$cursorLayer.update(n),this.$moveTextAreaToCursor(),void this._signal("afterRender",e);e&this.CHANGE_TEXT?(this.$changedLines=null,this.$textLayer.update(n),this.$showGutter&&this.$gutterLayer.update(n),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(n)):e&this.CHANGE_LINES?((this.$updateLines()||e&this.CHANGE_GUTTER&&this.$showGutter)&&this.$gutterLayer.update(n),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(n)):e&this.CHANGE_TEXT||e&this.CHANGE_GUTTER?(this.$showGutter&&this.$gutterLayer.update(n),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(n)):e&this.CHANGE_CURSOR&&(this.$highlightGutterLine&&this.$gutterLayer.updateLineHighlight(n),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(n)),e&this.CHANGE_CURSOR&&(this.$cursorLayer.update(n),this.$moveTextAreaToCursor()),e&(this.CHANGE_MARKER|this.CHANGE_MARKER_FRONT)&&this.$markerFront.update(n),e&(this.CHANGE_MARKER|this.CHANGE_MARKER_BACK)&&this.$markerBack.update(n),this._signal("afterRender",e)}else this.$changes|=e},e.prototype.$autosize=function(){var e=this.session.getScreenLength()*this.lineHeight,t=this.$maxLines*this.lineHeight,n=Math.min(t,Math.max((this.$minLines||1)*this.lineHeight,e))+this.scrollMargin.v+(this.$extraHeight||0);this.$horizScroll&&(n+=this.scrollBarH.getHeight()),this.$maxPixelHeight&&n>this.$maxPixelHeight&&(n=this.$maxPixelHeight);var r=!(n<=2*this.lineHeight)&&e>t;if(n!=this.desiredHeight||this.$size.height!=this.desiredHeight||r!=this.$vScroll){r!=this.$vScroll&&(this.$vScroll=r,this.scrollBarV.setVisible(r));var l=this.container.clientWidth;this.container.style.height=n+"px",this.$updateCachedSize(!0,this.$gutterWidth,l,n),this.desiredHeight=n,this._signal("autosize")}},e.prototype.$computeLayerConfig=function(){var e=this.session,t=this.$size,n=t.height<=2*this.lineHeight,r=this.session.getScreenLength()*this.lineHeight,l=this.$getLongestLine(),a=!n&&(this.$hScrollBarAlwaysVisible||t.scrollerWidth-l-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(),n=t.height<=2*this.lineHeight);var s=t.scrollerHeight+this.lineHeight,c=!this.$maxLines&&this.$scrollPastEnd?(t.scrollerHeight-this.lineHeight)*this.$scrollPastEnd:0;r+=c;var u=this.scrollMargin;this.session.setScrollTop(Math.max(-u.top,Math.min(this.scrollTop,r-t.scrollerHeight+u.bottom))),this.session.setScrollLeft(Math.max(-u.left,Math.min(this.scrollLeft,l+2*this.$padding-t.scrollerWidth+u.right)));var d=!n&&(this.$vScrollBarAlwaysVisible||t.scrollerHeight-r+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,v=Math.max(0,Math.round((this.scrollTop-m)/this.lineHeight)),b=v+g,y=this.lineHeight;v=e.screenToDocumentRow(v,0);var w=e.getFoldLine(v);w&&(v=w.start.row),p=e.documentToScreenRow(v,0),h=e.getRowLength(v)*y,b=Math.min(e.screenToDocumentRow(b,0),e.getLength()-1),s=t.scrollerHeight+e.getRowLength(b)*y+h,(m=this.scrollTop-p*y)<0&&p>0&&(p=Math.max(0,p+Math.floor(m/y)),m=this.scrollTop-p*y);var x=0;return(this.layerConfig.width!=l||o)&&(x=this.CHANGE_H_SCROLL),(o||f)&&(x|=this.$updateCachedSize(!0,this.gutterWidth,t.width,t.height),this._signal("scrollbarVisibilityChanged"),f&&(l=this.$getLongestLine())),this.layerConfig={width:l,padding:this.$padding,firstRow:v,firstRowScreen:p,lastRow:b,lineHeight:y,characterWidth:this.characterWidth,minHeight:s,maxHeight:r,offset:m,gutterOffset:y?Math.max(0,Math.ceil((m+t.height-t.scrollerHeight)/y)):0,height:this.$size.scrollerHeight},this.session.$bidiHandler&&this.session.$bidiHandler.setContentWidth(l-this.$padding),x},e.prototype.$updateLines=function(){if(this.$changedLines){var e=this.$changedLines.firstRow,t=this.$changedLines.lastRow;this.$changedLines=null;var n=this.layerConfig;if(!(e>n.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,n){this.scrollCursorIntoView(e,n),this.scrollCursorIntoView(t,n)},e.prototype.scrollCursorIntoView=function(e,t,n){if(0!==this.$size.scrollerHeight){var r=this.$cursorLayer.getPixelPosition(e),l=r.left,a=r.top,o=n&&n.top||0,i=n&&n.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 n;if(this.$hasCssTransforms){n={top:0,left:0};var r=this.$fontMetrics.transformCoordinates([e,t]);e=r[1]-this.gutterWidth-this.margin.left,t=r[0]}else n=this.scroller.getBoundingClientRect();var l=e+this.scrollLeft-n.left-this.$padding,a=l/this.characterWidth,o=Math.floor((t+this.scrollTop-n.top)/this.lineHeight),i=this.$blockCursor?Math.floor(a):Math.round(a);return{row:o,column:i,side:a-i>0?1:-1,offsetX:l}},e.prototype.screenToTextCoordinates=function(e,t){var n;if(this.$hasCssTransforms){n={top:0,left:0};var r=this.$fontMetrics.transformCoordinates([e,t]);e=r[1]-this.gutterWidth-this.margin.left,t=r[0]}else n=this.scroller.getBoundingClientRect();var l=e+this.scrollLeft-n.left-this.$padding,a=l/this.characterWidth,o=this.$blockCursor?Math.floor(a):Math.round(a),i=Math.floor((t+this.scrollTop-n.top)/this.lineHeight);return this.session.screenToDocumentPosition(i,Math.max(o,0),l)},e.prototype.textToScreenCoordinates=function(e,t){var n=this.scroller.getBoundingClientRect(),r=this.session.documentToScreenPosition(e,t),l=this.$padding+(this.session.$bidiHandler.isBidiRow(r.row,e)?this.session.$bidiHandler.getPosLeft(r.column):Math.round(r.column*this.characterWidth)),a=r.row*this.lineHeight;return{pageX:n.left+l-this.scrollLeft,pageY:n.top+a-this.scrollTop}},e.prototype.visualizeFocus=function(){l.addCssClass(this.container,"ace_focus")},e.prototype.visualizeBlur=function(){l.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?(l.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),l.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 n=this.session.selection.cursor,r=t||{row:n.row,column:n.column};this.removeGhostText();var a=this.$calculateWrappedTextChunks(e,r);this.addToken(a[0].text,"ghost_text",r.row,r.column),this.$ghostText={text:e,position:{row:r.row,column:r.column}};var o=l.createElement("div");if(a.length>1){var i,s=this.hideTokensAfterPosition(r.row,r.column);a.slice(1).forEach((function(e){var t=l.createElement("div"),n=l.createElement("span");n.className="ace_ghost_text",e.wrapped&&(t.className="ghost_text_line_wrapped"),0===e.text.length&&(e.text=" "),n.appendChild(l.createTextNode(e.text)),t.appendChild(n),o.appendChild(t),i=t})),s.forEach((function(e){var t=l.createElement("span");x(e.type)||(t.className="ace_"+e.type.replace(/\./g," ace_")),t.appendChild(l.createTextNode(e.value)),i.appendChild(t)})),this.$ghostTextWidget={el:o,row:r.row,column:r.column,className:"ace_ghost_text_container"},this.session.widgetManager.addLineWidget(this.$ghostTextWidget);var c=this.$cursorLayer.getPixelPosition(r,!0),u=this.container.getBoundingClientRect().height,d=a.length*this.lineHeight;if(d0){var c=0;s.push(l[o].length);for(var u=0;u1||Math.abs(e.$size.height-r)>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,r.implement(k.prototype,v),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){l.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,n){"use strict";var r=e("../lib/oop"),l=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('"+l.qualifyURL(e)+"');";try{return new Blob([t],{type:"application/javascript"})}catch(e){var n=new(window.BlobBuilder||window.WebKitBlobBuilder||window.MozBlobBuilder);return n.append(t),n.getBlob("application/javascript")}}(e),n=(window.URL||window.webkitURL).createObjectURL(t);return new Worker(n)}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(){r.implement(this,a),this.$createWorkerFromOldConfig=function(t,n,r,l,a){if(e.nameToUrl&&!e.toUrl&&(e.toUrl=e.nameToUrl),o.get("packaged")||!e.toUrl)l=l||o.moduleUrl(n,"worker");else{var s=this.$normalizePath;l=l||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(l),a&&this.send("importScripts",a),this.$worker.postMessage({init:!0,tlns:c,module:n,classname:r}),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 n=this.callbacks[t.id];n&&(n(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 l.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,n){if(n){var r=this.callbackId++;this.callbacks[r]=n,t.push(r)}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,n){var r=null,l=!1,i=Object.create(a),c=[],u=new s({messageBuffer:c,terminate:function(){},postMessage:function(e){c.push(e),r&&(l?setTimeout(d):d())}});u.setEmitSync=function(e){l=e};var d=function(){var e=c.shift();e.command?r[e.command].apply(r,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(r=new e[n](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,n){"use strict";var r=e("./range").Range,l=e("./lib/event_emitter").EventEmitter,a=e("./lib/oop"),o=function(){function e(e,t,n,r,l,a){var o=this;this.length=t,this.session=e,this.doc=e.getDocument(),this.mainClass=l,this.othersClass=a,this.$onUpdate=this.onUpdate.bind(this),this.doc.on("change",this.$onUpdate,!0),this.$others=r,this.$onCursorChange=function(){setTimeout((function(){o.onCursorChange()}))},this.$pos=n;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,n=this.session;this.selectionBefore=n.selection.toJSON(),n.selection.inMultiSelectMode&&n.selection.toSingleRange(),this.pos=t.createAnchor(this.$pos.row,this.$pos.column);var l=this.pos;l.$insertRight=!0,l.detach(),l.markerId=n.addMarker(new r(l.row,l.column,l.row,l.column+this.length),this.mainClass,null,!1),this.others=[],this.$others.forEach((function(n){var r=t.createAnchor(n.row,n.column);r.$insertRight=!0,r.detach(),e.others.push(r)})),n.setUndoSelect(!1)},e.prototype.showOtherMarkers=function(){if(!this.othersActive){var e=this.session,t=this;this.othersActive=!0,this.others.forEach((function(n){n.markerId=e.addMarker(new r(n.row,n.column,n.row,n.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),l&&(this.length+=n),l&&!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 r(i.row,i.column,i.row,i.column-n))}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,n=function(n,l){t.removeMarker(n.markerId),n.markerId=t.addMarker(new r(n.row,n.column,n.row,n.column+e.length),l,null,!1)};n(this.pos,this.mainClass);for(var l=this.others.length;l--;)n(this.others[l],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,n=0;n1?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 r=e("../keyboard/hash_handler").HashHandler;t.keyboardHandler=new r(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,n){var r=e("./range_list").RangeList,l=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 n=this.toOrientedRange();if(this.rangeList.add(n),this.rangeList.add(e),2!=this.rangeList.ranges.length)return this.rangeList.removeAll(),t||this.fromOrientedRange(e);this.rangeList.removeAll(),this.rangeList.add(n),this.$onAddRange(n)}e.cursor||(e.cursor=e.end);var r=this.rangeList.add(e);return this.$onAddRange(e),r.length&&this.$onRemoveRange(r),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 n=e.length;n--;){var r=this.ranges.indexOf(e[n]);this.ranges.splice(r,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 r,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=[],n=0;n1){var e=this.rangeList.ranges,t=e[e.length-1],n=l.fromPoints(e[0].start,t.end);this.toSingleRange(),this.setSelectionRange(n,t.cursor==t.start)}else{var r=this.session.documentToScreenPosition(this.cursor),a=this.session.documentToScreenPosition(this.anchor);this.rectangularRangeBlock(r,a).forEach(this.addRange,this)}},this.rectangularRangeBlock=function(e,t,n){var r=[],a=e.column0;)b--;if(b>0)for(var y=0;r[y].isEmpty();)y++;for(var w=b;w>=y;w--)r[w].isEmpty()&&r.splice(w,1)}return r}}.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(),n=!1;function r(t){n&&(e.renderer.setMouseCursor(""),n=!1)}i.addListener(t,"keydown",(function(t){var l=18==t.keyCode&&!(t.ctrlKey||t.shiftKey||t.metaKey);e.$blockSelectEnabled&&l?n||(e.renderer.setMouseCursor("crosshair"),n=!0):n&&r()}),e),i.addListener(t,"keyup",r,e),i.addListener(t,"blur",r,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,n=e.length;n--;){var r=e[n];if(r.marker){this.session.removeMarker(r.marker);var l=t.indexOf(r);-1!=l&&t.splice(l,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,n=e.editor;if(n.multiSelect){if(t.multiSelectAction)"forEach"==t.multiSelectAction?r=n.forEachSelection(t,e.args):"forEachLine"==t.multiSelectAction?r=n.forEachSelection(t,e.args,!0):"single"==t.multiSelectAction?(n.exitMultiSelectMode(),r=t.exec(n,e.args||{})):r=t.multiSelectAction(n,e.args||{});else{var r=t.exec(n,e.args||{});n.multiSelect.addRange(n.multiSelect.toOrientedRange()),n.multiSelect.mergeOverlappingRanges()}return r}},this.forEachSelection=function(e,t,n){if(!this.inVirtualSelectionMode){var r,l=n&&n.keepOrder,o=1==n||n&&n.$byLines,i=this.session,s=this.selection,c=s.rangeList,u=(l?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||{});r||void 0===h||(r=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),r}},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,n=[],r=0;ro&&(o=n.column),ru?e.insert(r,s.stringRepeat(" ",a-u)):e.remove(new l(r.row,r.column,r.row,r.column-a+u)),t.start.column=t.end.column=o,t.start.row=t.end.row=r.row,t.cursor=t.end})),t.fromOrientedRange(n[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 n,r,l,a=!0,o=!0;return e.map((function(e){var t=e.match(/(\s*)(.*?)(\s*)([=:].*)/);return t?null==n?(n=t[1].length,r=t[2].length,l=t[3].length,t):(n+r+l!=t[1].length+t[2].length+t[3].length&&(o=!1),n!=t[1].length&&(a=!1),n>t[1].length&&(n=t[1].length),rt[3].length&&(l=t[3].length),t):[e]})).map(t?c:a?o?function(e){return e[2]?i(n+r-e[2].length)+e[2]+i(l)+e[4].replace(/^([=:])\s+/,"$1 "):e[0]}:c:function(e){return e[2]?i(n)+e[2]+i(l)+e[4].replace(/^([=:])\s+/,"$1 "):e[0]});function i(e){return s.stringRepeat(" ",e)}function c(e){return e[2]?i(n)+e[2]+i(r-e[2].length+l)+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 n=e.oldSession;n&&(n.multiSelect.off("addRange",this.$onAddRange),n.multiSelect.off("removeRange",this.$onRemoveRange),n.multiSelect.off("multiSelect",this.$onMultiSelect),n.multiSelect.off("singleSelect",this.$onSingleSelect),n.multiSelect.lead.off("change",this.$checkMultiselectChange),n.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,n){"use strict";var r=e("../../range").Range,l=t.FoldMode=function(){};(function(){this.foldingStartMarker=null,this.foldingStopMarker=null,this.getFoldWidget=function(e,t,n){var r=e.getLine(n);return this.foldingStartMarker.test(r)?"start":"markbeginend"==t&&this.foldingStopMarker&&this.foldingStopMarker.test(r)?"end":""},this.getFoldWidgetRange=function(e,t,n){return null},this.indentationBlock=function(e,t,n){var l=/\S/,a=e.getLine(t),o=a.search(l);if(-1!=o){for(var i=n||a.length,s=e.getLength(),c=t,u=t;++tc){var p=e.getLine(u).length;return new r(c,i,u,p)}}},this.openingBracketBlock=function(e,t,n,l,a){var o={row:n,column:l+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),r.fromPoints(o,i)}},this.closingBracketBlock=function(e,t,n,l,a){var o={row:n,column:l},i=e.$findOpeningBracket(t,o);if(i)return i.column++,o.column--,r.fromPoints(i,o)}}).call(l.prototype)})),ace.define("ace/ext/error_marker",["require","exports","module","ace/lib/dom","ace/range","ace/config"],(function(e,t,n){"use strict";var r=e("../lib/dom"),l=e("../range").Range,a=e("../config").nls;t.showErrorMarker=function(e,t){var n=e.session,o=e.getCursorPosition(),i=o.row,s=n.widgetManager.getWidgetsAtRow(i).filter((function(e){return"errorMarker"==e.type}))[0];s?s.destroy():i-=t;var c,u=function(e,t,n){var r=e.getAnnotations().sort(l.comparePoints);if(r.length){var a=function(e,t,n){for(var r=0,l=e.length-1;r<=l;){var a=r+l>>1,o=n(t,e[a]);if(o>0)r=a+1;else{if(!(o<0))return a;l=a-1}}return-(r+1)}(r,{row:t,column:-1},l.comparePoints);a<0&&(a=-a-1),a>=r.length?a=n>0?0:r.length-1:0===a&&n<0&&(a=r.length-1);var o=r[a];if(o&&n){if(o.row===t){do{o=r[a+=n]}while(o&&o.row===t);if(!o)return r.slice()}var i=[];t=o.row;do{i[n<0?"unshift":"push"](o),o=r[a+=n]}while(o&&o.row==t);return i.length&&i}}}(n,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:r.createElement("div"),type:"errorMarker"},p=f.el.appendChild(r.createElement("div")),h=f.el.appendChild(r.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(r.createTextNode(e)),t-1?l([n]):n}},"0efece4c8cb91e128a85":function(e,t,n){"use strict";e.exports=n("82c3e6e6e3fe41af700d")},"0f1fbb008f1f4b1cb29f":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sidecar=void 0;var r=n("98bae3dbabd51089d613"),l=r.__importStar(n("8af190b70a6bc55c6f1b")),a=n("862e5deb50b025a332c2");t.sidecar=function(e,t){var n=function(){return t};return function(o){var i=(0,a.useSidecar)(e,o.sideCar),s=i[0];return i[1]&&t?n:s?l.createElement(s,r.__assign({},o)):null}}},"0f26de7e494401aeecce":function(e,t,n){"use strict";var r=n("8e6d34d5e2b1c9c449c0").default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){for(var t=e.events,n=e.minimumStartDifference,r=e.slotMetrics,l=e.accessors,a=function(e){var t=(0,o.default)(e,["startMs",function(e){return-e.endMs}]),n=[];for(;t.length>0;){var r=t.shift();n.push(r);for(var l=0;la.startMs)){if(l>0){var i=t.splice(l,1)[0];n.push(i)}break}}}return n}(t.map((function(e){return new i(e,{slotMetrics:r,accessors:l})}))),c=[],u=function(){var e=a[d],t=c.find((function(t){return t.end>e.start||Math.abs(e.start-t.start)=0;l--)s(t.rows[l],e,n)&&(r=t.rows[l]);r?(r.leaves.push(e),e.row=r):(e.leaves=[],t.rows.push(e))},d=0;d0?t:e;var n=this.row.leaves;return n.indexOf(this)===n.length-1?e:t}},{key:"xOffset",get:function(){if(this.rows)return 0;if(this.leaves)return this.container._width;var e=this.row,t=e.leaves,n=e.xOffset,r=e._width;return n+(t.indexOf(this)+1)*r}}])}();function s(e,t,n){return Math.abs(t.start-e.start)e.start&&t.start2&&void 0!==arguments[2]&&arguments[2];r.inTimeTravelling?r.inTimeTravelling=!1:o(e,t,n)};return r.unlisten=a.listen(i),i(a.location,a.action,!0),r}var l,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)}(n,e),l=n,(a=[{key:"componentWillUnmount",value:function(){this.unlisten(),this.unsubscribe()}},{key:"render",value:function(){var e=this.props,t=e.history,n=e.children;return r.default.createElement(o.Router,{history:t},n)}}])&&f(l.prototype,a),i&&f(l,i),n}(r.PureComponent);n.propTypes={store:l.default.shape({getState:l.default.func.isRequired,subscribe:l.default.func.isRequired}).isRequired,history:l.default.shape({action:l.default.string.isRequired,listen:l.default.func.isRequired,location:l.default.object.isRequired,push:l.default.func.isRequired}).isRequired,basename:l.default.string,children:l.default.oneOfType([l.default.func,l.default.node]),onLocationChanged:l.default.func.isRequired};var c=function(e){var t=e.context||a.ReactReduxContext;if(null==t)throw"Please upgrade to react-redux v6";return r.default.createElement(t.Consumer,null,(function(t){var l=t.store;return r.default.createElement(n,d({store:l},e))}))};return c.propTypes={context:l.default.object},(0,a.connect)(null,(function(e){return{onLocationChanged:function(t,n,r){return e((0,i.onLocationChanged)(t,n,r))}}}))(c)};t.default=g},"0f66df16e5c6dfd09b24":function(e,t,n){var r=n("bb0df5ce6c5b19bdda4f");"string"===typeof r&&(r=[[e.i,r,""]]);var l={hmr:!0,transform:void 0,insertInto:void 0};n("1e4534d1d62a11482e97")(r,l);r.locals&&(e.exports=r.locals)},"0faf69db168b748d5a31":function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=n("db86d8470315e76725af"),l=n("bc9d99ff713fa8e834f8"),a=n("6b00f1d7fb6bde96d1bc"),o=n("9174bba9c88261cec9dc"),i=n("cd8759ea01a7b1164d0a"),s=n("47546cd28c3fe3537e51"),c=n("2a21c78968ea1e434b1f"),u=function(e){function t(t){return void 0===t&&(t={}),e.call(this,o.BrowserBackend,t)||this}return r.__extends(t,e),t.prototype.showReportDialog=function(e){void 0===e&&(e={}),a.getGlobalObject().document&&(this._isEnabled()?i.injectReportDialog(r.__assign(r.__assign({},e),{dsn:e.dsn||this.getDsn()})):a.logger.error("Trying to call showReportDialog with Sentry Client disabled"))},t.prototype._prepareEvent=function(t,n,l){return t.platform=t.platform||"javascript",t.sdk=r.__assign(r.__assign({},t.sdk),{name:c.SDK_NAME,packages:r.__spread(t.sdk&&t.sdk.packages||[],[{name:"npm:@sentry/browser",version:c.SDK_VERSION}]),version:c.SDK_VERSION}),e.prototype._prepareEvent.call(this,t,n,l)},t.prototype._sendEvent=function(t){var n=this.getIntegration(s.Breadcrumbs);n&&n.addSentryBreadcrumb(t),e.prototype._sendEvent.call(this,t)},t}(l.BaseClient);t.BrowserClient=u},1:function(e,t,n){n("5b15df55c1316f23e9d0"),e.exports=n("8b703812aa8ae3c41814")},"10273a5032d1d8a5d645":function(e,t,n){e.exports=function(){"use strict";return function(e,t){t.prototype.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)}}}()},"104a77cbd36d80b5c379":function(e,t,n){"use strict";function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,l,a,o,i=[],s=!0,c=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=a.call(n)).done)&&(i.push(r.value),i.length!==t);s=!0);}catch(e){c=!0,l=e}finally{try{if(!s&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw l}}return i}}(e,t)||l(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 l(e,t){if(e){if("string"==typeof e)return a(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?a(e,t):void 0}}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n=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(){n=n.call(e)},n:function(){var e=n.next();return i=e.done,e},e:function(e){s=!0,o=e},f:function(){try{i||null==n.return||n.return()}finally{if(s)throw o}}}}(d(t));try{var s=function(){var l=a.value;p.call(e,l)||l===n||c(e,l,{get:function(){return t[l]},enumerable:!(r=u(t,l))||r.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 n in t)c(e,n,{get:t[n],enumerable:!0})}(m,{useId:function(){return w}}),e.exports=(i=m,h(c({},"__esModule",{value:!0}),i));var g=function(e,t,n){return n=null!=e?s(f(e)):{},h(!t&&e&&e.__esModule?n:c(n,"default",{value:e,enumerable:!0}),e)}(n("8af190b70a6bc55c6f1b")),v=n("648137dd78243ecf2736"),b=g[" useId ".trim().toString()]||function(){},y=0;function w(e){var t=r(g.useState(b()),2),n=t[0],l=t[1];return(0,v.useLayoutEffect)((function(){e||l((function(e){return null!==e&&void 0!==e?e:String(y++)}))}),[e]),e||(n?"radix-".concat(n):"")}},"1071238d53a57e392963":function(e,t,n){"use strict";var r=n("8e6d34d5e2b1c9c449c0");t.__esModule=!0,t.default=void 0;var l,a=r(n("2c62cf50f9b98ad5e2af")),o=r(n("84ed169f5b76a6b15fc0")),i=r(n("b912ecc4473ae8a2ff0b")),s=r(n("1b43b4f548a0c483d331")),c=g(n("8af190b70a6bc55c6f1b")),u=g(n("5f91333870c355d2b6da")),d=r(n("98ff46c7263b262e631d")),f=r(n("a4ff8f03a4755a589ed2")),p=r(n("7a010f9aa2c4e96b972e")),h=["onEnter","onEntering","onEntered","onExit","onExiting","className","children","dimension","getDimensionValue"];function m(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(m=function(e){return e?n: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 n=m(t);if(n&&n.has(e))return n.get(e);var r={},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var o=l?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(r,a,o):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}var v={height:["marginTop","marginBottom"],width:["marginLeft","marginRight"]};function b(e,t){var n=t["offset"+e[0].toUpperCase()+e.slice(1)],r=v[e];return n+parseInt((0,s.default)(t,r[0]),10)+parseInt((0,s.default)(t,r[1]),10)}var y=((l={})[u.EXITED]="collapse",l[u.EXITING]="collapsing",l[u.ENTERING]="collapsing",l[u.ENTERED]="collapse show",l),w={in:!1,timeout:300,mountOnEnter:!1,unmountOnExit:!1,appear:!1,getDimensionValue:b},x=c.default.forwardRef((function(e,t){var n=e.onEnter,r=e.onEntering,l=e.onEntered,s=e.onExit,m=e.onExiting,g=e.className,v=e.children,w=e.dimension,x=void 0===w?"height":w,k=e.getDimensionValue,S=void 0===k?b: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"}),n)}),[O,n]),_=(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"}),r)}),[O,r]),E=(0,c.useMemo)((function(){return(0,f.default)((function(e){e.style[O]=null}),l)}),[O,l]),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(v,(0,a.default)({},t,{className:(0,i.default)(g,v.props.className,y[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,n){"use strict";var r=n("b15c440f0d3f3cc34316"),l=n("9a611c5d0941005b06eb"),a=n("dbb172cb24bfdfce9a83");e.exports=function(){return a(r,l,arguments)}},"10db0fc2442b6a3d5a39":function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=n("db86d8470315e76725af"),l=n("bc9d99ff713fa8e834f8"),a=n("e588b22a82c241e9c56a"),o=n("6b00f1d7fb6bde96d1bc"),i=n("c5ca75090a5831d34eba"),s=n("cd8759ea01a7b1164d0a"),c=function(){function e(t){this.name=e.id,this._onErrorHandlerInstalled=!1,this._onUnhandledRejectionHandlerInstalled=!1,this._options=r.__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(n){var r=n.error,a=l.getCurrentHub(),c=a.getIntegration(e),u=r&&!0===r.__sentry_own_request__;if(c&&!s.shouldIgnoreOnError()&&!u){var d=a.getClient(),f=o.isPrimitive(r)?t._eventFromIncompleteOnError(n.msg,n.url,n.line,n.column):t._enhanceEventWithInitialFrame(i.eventFromUnknownInput(r,void 0,{attachStacktrace:d&&d.getOptions().attachStacktrace,rejection:!1}),n.url,n.line,n.column);o.addExceptionMechanism(f,{handled:!1,type:"onerror"}),a.captureEvent(f,{originalException:r})}},type:"error"}),this._onErrorHandlerInstalled=!0)},e.prototype._installGlobalOnUnhandledRejectionHandler=function(){var t=this;this._onUnhandledRejectionHandlerInstalled||(o.addInstrumentationHandler({callback:function(n){var r=n;try{"reason"in n?r=n.reason:"detail"in n&&"reason"in n.detail&&(r=n.detail.reason)}catch(e){}var c=l.getCurrentHub(),u=c.getIntegration(e),d=r&&!0===r.__sentry_own_request__;if(!u||s.shouldIgnoreOnError()||d)return!0;var f=c.getClient(),p=o.isPrimitive(r)?t._eventFromRejectionWithPrimitive(r):i.eventFromUnknownInput(r,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:r})},type:"unhandledrejection"}),this._onUnhandledRejectionHandlerInstalled=!0)},e.prototype._eventFromIncompleteOnError=function(e,t,n,r){var l,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&&(l=i[1],a=i[2])}var s={exception:{values:[{type:l||"Error",value:a}]}};return this._enhanceEventWithInitialFrame(s,t,n,r)},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,n,r){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 l=isNaN(parseInt(r,10))?void 0:r,a=isNaN(parseInt(n,10))?void 0:n,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:l,filename:i,function:"?",in_app:!0,lineno:a}),e},e.id="GlobalHandlers",e}();t.GlobalHandlers=c},"10fa21b44717d82288e9":function(e,t,n){"use strict";var r=n("8e6d34d5e2b1c9c449c0");t.__esModule=!0,t.default=function(e,t){var n=void 0===t?{}:t,r=n.displayName,d=void 0===r?(m=e,m[0].toUpperCase()+(0,i.default)(m).slice(1)):r,f=n.Component,p=n.defaultProps,h=s.default.forwardRef((function(t,n){var r=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,l.default)({ref:n,className:(0,o.default)(r,m)},h))}));var m;return h.defaultProps=p,h.displayName=d,h};var l=r(n("2c62cf50f9b98ad5e2af")),a=r(n("84ed169f5b76a6b15fc0")),o=r(n("b912ecc4473ae8a2ff0b")),i=r(n("29c9401d02b1d3ec0c97")),s=r(n("8af190b70a6bc55c6f1b")),c=n("de45080f617146192f27"),u=["className","bsPrefix","as"];e.exports=t.default},"11552bc244f4e0ecb3a5":function(e,t){e.exports={}},"115c5b40c21caec63178":function(e,t,n){var r,l;void 0===(l="function"===typeof(r=function(e,t,n){return function(e,t,n,r,l,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,n,r){return n*(1-Math.pow(2,-10*e/r))*1024/1023+t},formattingFn:function(e){var t,n,r,l,a,o,s=e<0;if(e=Math.abs(e).toFixed(i.decimals),n=(t=(e+="").split("."))[0],r=t.length>1?i.options.decimal+t[1]:"",i.options.useGrouping){for(l="",a=0,o=n.length;ai.endVal,i.frameVal=i.startVal,i.initialized=!0,!0):(i.error="[CountUp] startVal ("+t+") or endVal ("+n+") 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)}})?r.call(t,n,t,e):r)||(e.exports=l)},"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,n){var r=n("26c39cb762137d8c05c9");e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,l){return e.call(t,n,r,l)}}return function(){return e.apply(t,arguments)}}},"11abfd16c046ca2e4177":function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;s(n("eceb6721e8f5f2e84237"));var r=s(n("442a938a1deb7b295738")),l=s(n("fd23ab03a1691ca81318")),a=s(n("8af190b70a6bc55c6f1b")),o=s(n("5f91333870c355d2b6da")),i=(n("e004da710c9e11bf4181"),n("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||(l[n]=e[n]);return l}(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}))},l}(a.default.Component);d.defaultProps={classNames:""},d.propTypes={};var f=d;t.default=f,e.exports=t.default},"11c375811d2cabbba50b":function(e,t,n){"use strict";var r=n("83406643bfb209d249f4"),l={};function a(e,t,n,r,l,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=[n,r,l,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,n){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 n=0;ne.current);return(0,r.useEffect)(()=>(e.current=!0,()=>{e.current=!1}),[]),t.current};var r=n("8af190b70a6bc55c6f1b")},"128ece5b0c74569dfc58":function(e,t,n){"use strict";var r=n("8e6d34d5e2b1c9c449c0").default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l=r(n("279f1c7ef5f95c5d63e2")),a=n("142b26bf7075f2fb0982"),o=r(n("62cf6b64086f7543f9cf")),i=r(n("54d0235967bbff3a0fa7")),s=r(n("cdad751a0addb551692c")),c=r(n("ba18cf556c80bca50bfb")),u=r(n("f65c6d78a7e49a55dcd8")),d=(0,l.default)((0,l.default)((0,l.default)((0,l.default)((0,l.default)({},a.views.MONTH,o.default),a.views.WEEK,s.default),a.views.WORK_WEEK,c.default),a.views.DAY,i.default),a.views.AGENDA,u.default);t.default=d},"12a89895698111384243":function(e,t,n){var r=n("fb5206efd338cf6482ca");"string"===typeof r&&(r=[[e.i,r,""]]);var l={hmr:!0,transform:void 0,insertInto:void 0};n("1e4534d1d62a11482e97")(r,l);r.locals&&(e.exports=r.locals)},"12ba4fef039ee145f0aa":function(e,t,n){"use strict";e.exports=n("d8280c05257ef9350d6e")},"134c7b94417fd09c6163":function(e,t,n){var r=n("0dd5c6afeb5423285b0e"),l=n("14163c8a75271b496bd5"),a=n("ee5b68c26f3207524545"),o=n("42bf560546df394379e1"),i=n("e91d7740780a9b1194f0")("engine.io-client:polling-xhr"),s=n("92ff0e14e095cc72ae83");function c(){}function u(e){if(l.call(this,e),this.requestTimeout=e.requestTimeout,this.extraHeaders=e.extraHeaders,"undefined"!==typeof location){var t="https:"===location.protocol,n=location.port;n||(n=t?443:80),this.xd="undefined"!==typeof location&&e.hostname!==location.hostname||n!==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,l),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 n="string"!==typeof e&&void 0!==e,r=this.request({method:"POST",data:e,isBinary:n}),l=this;r.on("success",t),r.on("error",(function(e){l.onError("xhr post error",e)})),this.sendXhr=r},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 r(e),n=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 l in t.setDisableHeaderCheck&&t.setDisableHeaderCheck(!0),this.extraHeaders)this.extraHeaders.hasOwnProperty(l)&&t.setRequestHeader(l,this.extraHeaders[l])}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(){n.onLoad()},t.onerror=function(){n.onError(t.responseText)}):t.onreadystatechange=function(){if(2===t.readyState)try{var e=t.getResponseHeader("Content-Type");(n.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?n.onLoad():setTimeout((function(){n.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(){n.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,n){var r=n("7ae52036d1906f8c617e").default;e.exports=function(e){if(null!=e){var t=e["function"==typeof Symbol&&Symbol.iterator||"@@iterator"],n=0;if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length))return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}}throw new TypeError(r(e)+" is not iterable")},e.exports.__esModule=!0,e.exports.default=e.exports},"138fb2a9a7cb34ee0bae":function(e,t,n){"use strict";function r(e){return e&&"object"==typeof e&&"default"in e?e.default:e}Object.defineProperty(t,"__esModule",{value:!0});var l=n("999b8422c18ed8d20c8d"),a=r(n("8af190b70a6bc55c6f1b")),o=n("12ba4fef039ee145f0aa");n("93a3863410c4fe4141fc"),n("de2cf1827168a807d23d");var i=r(n("bcc48bccf3d2407d611c"));function s(){return(s=Object.assign||function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:l}}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(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){i=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(i)throw a}}}}(v(t));try{var o=function(){var a=l.value;y.call(e,a)||a===n||m(e,a,{get:function(){return t[a]},enumerable:!(r=g(t,a))||r.enumerable})};for(a.s();!(l=a.n()).done;)o()}catch(e){a.e(e)}finally{a.f()}}return e},x={};!function(e,t){for(var n in t)m(e,n,{get:t[n],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,n){return n=null!=e?h(b(e)):{},w(!t&&e&&e.__esModule?n:m(n,"default",{value:e,enumerable:!0}),e)}(n("8af190b70a6bc55c6f1b")),S=n("8567b23b9e7b28835bab");function C(e,t){var n=k.createContext(t),l=function(e){var t=e.children,l=c(e,r),a=k.useMemo((function(){return l}),Object.values(l));return(0,S.jsx)(n.Provider,{value:a,children:t})};return l.displayName=e+"Provider",[l,function(r){var l=k.useContext(n);if(l)return l;if(void 0!==t)return t;throw new Error("`".concat(r,"` must be used within `").concat(e,"`"))}]}function O(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=[];function r(t,r){var a=k.createContext(r),o=n.length;n=[].concat(s(n),[r]);var i=function(t){var n,r=t.scope,i=t.children,s=c(t,l),u=(null===r||void 0===r||null===(n=r[e])||void 0===n?void 0:n[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(n,l){var i,s=(null===l||void 0===l||null===(i=l[e])||void 0===i?void 0:i[o])||a,c=k.useContext(s);if(c)return c;if(void 0!==r)return r;throw new Error("`".concat(n,"` must be used within `").concat(t,"`"))}]}var a=function(){var t=n.map((function(e){return k.createContext(e)}));return function(n){var r=(null===n||void 0===n?void 0:n[e])||t;return k.useMemo((function(){return i({},"__scope".concat(e),o(o({},n),{},i({},e,r)))}),[n,r])}};return a.scopeName=e,[r,M.apply(void 0,[a].concat(s(t)))]}function M(){for(var e=arguments.length,t=new Array(e),n=0;no)return e;return f},t.findNextRangeIndex=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1,n=e.findIndex((function(e,n){return n>t&&!1!==e.autoFocus&&!e.disabled}));return-1!==n?n:e.findIndex((function(e){return!1!==e.autoFocus&&!e.disabled}))},t.getMonthDisplayRange=function(e,t,n){var r=(0,u.default)(e,t),a=(0,c.default)(e,t),d=(0,s.default)(r,t),f=(0,i.default)(a,t);n&&(0,o.default)(f,d)<=34&&(f=(0,l.default)(f,7));return{start:d,end:f,startDateOfMonth:r,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(n){e[n]=(0,r.default)(e[n],t[n])})),e}),{}):{}};var r=d(n("b912ecc4473ae8a2ff0b")),l=d(n("9de5dd223b8226f1c87e")),a=d(n("ab7ef49ce316cf04ab2d")),o=d(n("539995344e27d3fecf4e")),i=d(n("633c5e86e878ea3e6220")),s=d(n("e32bb17020e5847d985b")),c=d(n("8e55cc070aae49a69fe9")),u=d(n("0906dffb33e3ccf67736"));function d(e){return e&&e.__esModule?e:{default:e}}},"142b26bf7075f2fb0982":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.views=t.navigate=void 0;t.navigate={PREVIOUS:"PREV",NEXT:"NEXT",TODAY:"TODAY",DATE:"DATE"},t.views={MONTH:"month",WEEK:"week",WORK_WEEK:"work_week",DAY:"day",AGENDA:"agenda"}},"145737655316644508d0":function(e,t,n){"use strict";var r=n("16ed5e814ccb32d55f28").default,l=n("8e6d34d5e2b1c9c449c0").default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=l(n("6982c1e380225edecb61")),o=l(n("4066f70afce832cd4922")),i=l(n("19e15e7ca84589004246")),s=l(n("66f6f74ce0dacb46302a")),c=l(n("7181ad02914c0bd9cce7")),u=l(n("6b516fd2a35c7f9ebca4")),d=l(n("8af190b70a6bc55c6f1b")),f=l(n("fee585b048d9d592381a")),p=r(n("9c0b48a6c388a568028e")),h=n("5f7ffd3768e50d93054f"),m=n("c8f55eae1ac912285c1f"),g=n("84677bb9cfe1bca0c966"),v=n("d985ce8029f3ee6eb537"),b=function(e){function t(){var e;(0,i.default)(this,t);for(var n=arguments.length,r=new Array(n),l=0;l+d))return void this.setState({segment:null});f=c.add(i.last,1,"milliseconds")}var b=o.end(r);f=c.merge(f,b),c.lt(f,d)&&(f=b)}else if("LEFT"===l){if(v){if(i.first>f)return this.reset();d=h}else{if(!(c.inRange(f,i.first,i.last)||t.top>e.y&&c.lt(i.last,f)))return void this.reset();d=c.add(i.first,-1,"milliseconds")}var y=o.start(r);d=c.merge(d,y),c.gt(d,f)&&(d=y)}this.update(r,d,f)}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.accessors,r=this.state.segment;return d.default.createElement("div",{ref:this.ref,className:"rbc-addons-dnd-row-body"},t,r&&d.default.createElement(f.default,Object.assign({},this.props,{selected:null,className:"rbc-addons-dnd-drag-row",segments:[r],accessors:(0,a.default)((0,a.default)({},n),g.dragAccessors)})))}}])}(d.default.Component);b.contextType=v.DnDContext;t.default=b},"14ad46f36176c022aa5d":function(e,t,n){"use strict";t.__esModule=!0,t.default=t.EXITING=t.ENTERED=t.ENTERING=t.EXITED=t.UNMOUNTED=void 0;var r=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};r.get||r.set?Object.defineProperty(t,n,r):t[n]=e[n]}return t.default=e,t}(n("a612258e94a9cc364367")),l=i(n("8af190b70a6bc55c6f1b")),a=i(n("63f14ac74ce296f77f4d")),o=n("aa5f5aa112e9aad64e6a");n("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,n;function r(t,n){var r;r=e.call(this,t,n)||this;var l,a=n.transitionGroup,o=a&&!a.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?o?(l="exited",r.appearStatus="entering"):l="entered":l=t.unmountOnExit||t.mountOnEnter?"unmounted":"exited",r.state={status:l},r.nextCallback=null,r}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var o=r.prototype;return o.getChildContext=function(){return{transitionGroup:null}},r.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 n=this.state.status;this.props.in?"entering"!==n&&"entered"!==n&&(t="entering"):"entering"!==n&&"entered"!==n||(t="exiting")}this.updateStatus(!1,t)},o.componentWillUnmount=function(){this.cancelNextCallback()},o.getTimeouts=function(){var e,t,n,r=this.props.timeout;return e=t=n=r,null!=r&&"number"!==typeof r&&(e=r.exit,t=r.enter,n=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:n}},o.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t){this.cancelNextCallback();var n=a.default.findDOMNode(this);"entering"===t?this.performEnter(n,e):this.performExit(n)}else this.props.unmountOnExit&&"exited"===this.state.status&&this.setState({status:"unmounted"})},o.performEnter=function(e,t){var n=this,r=this.props.enter,l=this.context.transitionGroup?this.context.transitionGroup.isMounting:t,a=this.getTimeouts(),o=l?a.appear:a.enter;t||r?(this.props.onEnter(e,l),this.safeSetState({status:"entering"},(function(){n.props.onEntering(e,l),n.onTransitionEnd(e,o,(function(){n.safeSetState({status:"entered"},(function(){n.props.onEntered(e,l)}))}))}))):this.safeSetState({status:"entered"},(function(){n.props.onEntered(e)}))},o.performExit=function(e){var t=this,n=this.props.exit,r=this.getTimeouts();n?(this.props.onExit(e),this.safeSetState({status:"exiting"},(function(){t.props.onExiting(e),t.onTransitionEnd(e,r.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,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},o.onTransitionEnd=function(e,t,n){this.setNextCallback(n);var r=null==t&&!this.props.addEndListener;e&&!r?(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,n=t.children,r=function(e,t){if(null==e)return{};var n,r,l={},a=Object.keys(e);for(r=0;r=0||(l[n]=e[n]);return l}(t,["children"]);if(delete r.in,delete r.mountOnEnter,delete r.unmountOnExit,delete r.appear,delete r.enter,delete r.exit,delete r.timeout,delete r.addEndListener,delete r.onEnter,delete r.onEntering,delete r.onEntered,delete r.onExit,delete r.onExiting,delete r.onExited,"function"===typeof n)return n(e,r);var a=l.default.Children.only(n);return l.default.cloneElement(a,r)},r}(l.default.Component);function c(){}s.contextTypes={transitionGroup:r.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,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},"156a58dfce3009a43926":function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;!function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};r.get||r.set?Object.defineProperty(t,n,r):t[n]=e[n]}t.default=e}(n("a612258e94a9cc364367"));var r=i(n("d46bca524b3b0ecd3f41")),l=i(n("90076154fd69302cf63a")),a=i(n("8af190b70a6bc55c6f1b")),o=i(n("14ad46f36176c022aa5d"));n("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*l;case"minutes":case"minute":case"mins":case"min":case"m":return o*r;case"seconds":case"second":case"secs":case"sec":case"s":return o*n;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,l,"hour")||o(i,r,"minute")||o(i,n,"second")||i+" ms":function(e){if(e>=a)return Math.round(e/a)+"d";if(e>=l)return Math.round(e/l)+"h";if(e>=r)return Math.round(e/r)+"m";if(e>=n)return Math.round(e/n)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},"15d582decf0c83bd02b3":function(e,t,n){"use strict";var r=n("16ed5e814ccb32d55f28").default,l=n("8e6d34d5e2b1c9c449c0").default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=l(n("19e15e7ca84589004246")),o=l(n("66f6f74ce0dacb46302a")),i=l(n("7181ad02914c0bd9cce7")),s=l(n("6b516fd2a35c7f9ebca4")),c=r(n("8af190b70a6bc55c6f1b")),u=l(n("5ac00adf30bd6001539c")),d=l(n("7b88c13c26eb520b0dfb")),f=l(n("04d6e2d4983bf78bb6b9")),p=l(n("93c39f2b69c2d9dacd14")),h=l(n("fee585b048d9d592381a")),m=l(n("fe81ff6710ae8217d2ca")),g=l(n("6bc7c6ce8d6f9a2bdb2f")),v=l(n("6140ba1c52573e90a4a9")),b=r(n("50addcb34a0af8d928a4")),y=function(e){function t(){var e;(0,a.default)(this,t);for(var n=arguments.length,r=new Array(n),l=0;l is not meant to be rendered.")}}]),t}(l.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),r(t,[{key:"render",value:function(){throw new Error(" is not meant to be rendered.")}}]),t}(l.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 n=d(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.download=n.download.bind(n),n.createSheetData=n.createSheetData.bind(n),n}return f(t,e),r(t,[{key:"createSheetData",value:function(e){var t=e.props.children,n=[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 r=[];a.default.Children.forEach(t,(function(t){var n="function"===typeof t.props.value?t.props.value:function(e){return e[t.props.value]};r.push(n(e)||"")})),n.push(r)})),n}},{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(n){t.Sheets[n.props.name]=function(e){for(var t,n={},r={s:{c:1e7,r:1e7},e:{c:0,r:0}},l=0;l!=e.length;++l)for(var a=0;a!=e[l].length;++a){r.s.r>l&&(r.s.r=l),r.s.c>a&&(r.s.c=a),r.e.r can only have 's as children. ")}))}},g.Column=h,g.Sheet=m,t.default=g},"168260b376d180cb3264":function(e,t,n){(t=e.exports=n("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,n){"use strict";var r=n("8e6d34d5e2b1c9c449c0");t.__esModule=!0,t.default=void 0;var l=r(n("2c62cf50f9b98ad5e2af")),a=r(n("84ed169f5b76a6b15fc0")),o=r(n("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 n=f(t);if(n&&n.has(e))return n.get(e);var r={},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var o=l?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(r,a,o):r[a]=e[a]}r.default=e,n&&n.set(e,r);return r}(n("8af190b70a6bc55c6f1b")),s=(r(n("49a47d064cfbf2949ee5")),r(n("1f61575e8c12ef7ccb9f"))),c=r(n("89e528d82aad1a5b7245")),u=n("de45080f617146192f27"),d=["as","bsPrefix","column","srOnly","className","htmlFor"];function f(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(f=function(e){return e?n:t})(e)}var p=i.default.forwardRef((function(e,t){var n=e.as,r=void 0===n?"label":n,f=e.bsPrefix,p=e.column,h=e.srOnly,m=e.className,g=e.htmlFor,v=(0,a.default)(e,d),b=(0,i.useContext)(c.default).controlId;f=(0,u.useBootstrapPrefix)(f,"form-label");var y="col-form-label";"string"===typeof p&&(y=y+" "+y+"-"+p);var w=(0,o.default)(m,f,h&&"sr-only",p&&y);return g=g||b,p?i.default.createElement(s.default,(0,l.default)({ref:t,as:"label",className:w,htmlFor:g},v)):i.default.createElement(r,(0,l.default)({ref:t,className:w,htmlFor:g},v))}));p.displayName="FormLabel",p.defaultProps={column:!1,srOnly:!1};var h=p;t.default=h,e.exports=t.default},"16ed5e814ccb32d55f28":function(e,t,n){var r=n("7ae52036d1906f8c617e").default;function l(t,n){if("function"==typeof WeakMap)var a=new WeakMap,o=new WeakMap;return(e.exports=l=function(e,t){if(!t&&e&&e.__esModule)return e;var n,l,i={__proto__:null,default:e};if(null===e||"object"!=r(e)&&"function"!=typeof e)return i;if(n=t?o:a){if(n.has(e))return n.get(e);n.set(e,i)}for(var s in e)"default"!==s&&{}.hasOwnProperty.call(e,s)&&((l=(n=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,s))&&(l.get||l.set)?n(i,s,l):i[s]=e[s]);return i},e.exports.__esModule=!0,e.exports.default=e.exports)(t,n)}e.exports=l,e.exports.__esModule=!0,e.exports.default=e.exports},"173a3ffe71b6012000f5":function(e,t,n){"use strict";var r=n("8e6d34d5e2b1c9c449c0");t.__esModule=!0,t.default=void 0;var l=r(n("55e81e4240ff2893750e")),a=r(n("2c8c73bb71efe74da7af")),o=n("8af190b70a6bc55c6f1b"),i=r(n("976c83b14986293285d6")),s=r(n("49a47d064cfbf2949ee5")),c=r(n("45ef179a7cd2d025d070")),u=function(){};var d=function(e){return e&&("current"in e?e.current:e)};var f=function(e,t,n){var r=void 0===n?{}:n,f=r.disabled,p=r.clickTrigger,h=void 0===p?"click":p,m=(0,o.useRef)(!1),g=t||u,v=(0,o.useCallback)((function(t){var n,r,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||!!((r=t).metaKey||r.altKey||r.ctrlKey||r.shiftKey)||!function(e){return 0===e.button}(t)||!!(0,l.default)(a,null!=(n=null==t.composedPath?void 0:t.composedPath()[0])?n:t.target)}),[e]),b=(0,i.default)((function(e){m.current||g(e)})),y=(0,i.default)((function(e){27===e.keyCode&&g(e)}));(0,o.useEffect)((function(){if(!f&&null!=e){var t=window.event,n=(0,c.default)(d(e)),r=(0,a.default)(n,h,v,!0),l=(0,a.default)(n,h,(function(e){e!==t?b(e):t=void 0})),o=(0,a.default)(n,"keyup",(function(e){e!==t?y(e):t=void 0})),i=[];return"ontouchstart"in n.documentElement&&(i=[].slice.call(n.body.children).map((function(e){return(0,a.default)(e,"mousemove",u)}))),function(){r(),l(),o(),i.forEach((function(e){return e()}))}}}),[e,f,h,v,b,y])};t.default=f,e.exports=t.default},"1741230fec78853e2c96":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GoogleFields=void 0;var r=i(n("8af190b70a6bc55c6f1b")),l=i(n("608c27659c3f9bc71af5")),a=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n("dd2851c8aa973ffe308b")),o=n("cdbdceb308980cb97c93");function i(e){return e&&e.__esModule?e:{default:e}}var s=t.GoogleFields=function(e){var t=e.onChange,n=e.rgb,i=e.hsl,s=e.hex,c=e.hsv,u=function(e,n){if(e.hex)a.isValidHex(e.hex)&&t({hex:e.hex,source:"hex"},n);else if(e.rgb){var r=e.rgb.split(",");a.isvalidColorString(e.rgb,"rgb")&&t({r:r[0],g:r[1],b:r[2],a:1,source:"rgb"},n)}else if(e.hsv){var l=e.hsv.split(",");a.isvalidColorString(e.hsv,"hsv")&&(l[2]=l[2].replace("%",""),l[1]=l[1].replace("%",""),l[0]=l[0].replace("\xb0",""),1==l[1]?l[1]=.01:1==l[2]&&(l[2]=.01),t({h:Number(l[0]),s:Number(l[1]),v:Number(l[2]),source:"hsv"},n))}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"},n))}},d=(0,l.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=n.r+", "+n.g+", "+n.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 r.default.createElement("div",{style:d.wrap,className:"flexbox-fix"},r.default.createElement("div",{style:d.fields},r.default.createElement("div",{style:d.double},r.default.createElement(o.EditableInput,{style:{input:d.input,label:d.label},label:"hex",value:s,onChange:u})),r.default.createElement("div",{style:d.column},r.default.createElement("div",{style:d.single},r.default.createElement(o.EditableInput,{style:{input:d.input2,label:d.label2},label:"rgb",value:f,onChange:u})),r.default.createElement("div",{style:d.single},r.default.createElement(o.EditableInput,{style:{input:d.input2,label:d.label2},label:"hsv",value:h,onChange:u})),r.default.createElement("div",{style:d.single},r.default.createElement(o.EditableInput,{style:{input:d.input2,label:d.label2},label:"hsl",value:p,onChange:u})))))};t.default=s},"1753bbe43245bae19898":function(e,t,n){"use strict";e.exports=function(e,t,n,r,l){return e.config=t,n&&(e.code=n),e.request=r,e.response=l,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,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createStaticRanges=y,t.defaultInputRanges=t.defaultStaticRanges=void 0;var r=p(n("539995344e27d3fecf4e")),l=p(n("c3434d69ba3b18f539e4")),a=p(n("633c5e86e878ea3e6220")),o=p(n("e32bb17020e5847d985b")),i=p(n("d51f49b4322e86fe5342")),s=p(n("8e55cc070aae49a69fe9")),c=p(n("0906dffb33e3ccf67736")),u=p(n("fb0b377c37685e96dec6")),d=p(n("8e4bb787bbcd37e3e068")),f=p(n("9de5dd223b8226f1c87e"));function p(e){return e&&e.__esModule?e:{default:e}}function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function m(e){for(var t=1;t=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:l}}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(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){i=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(i)throw a}}}}function S(e,t){if(e){if("string"==typeof e)return C(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?C(e,t):void 0}}function C(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n1&&Array.from(t).every((function(e){return e===t[0]}))?t[0]:t,l=n?e.indexOf(n):-1,a=(o=e,i=Math.max(l,0),o.map((function(e,t){return o[(i+t)%o.length]})));var o,i;1===r.length&&(a=a.filter((function(e){return e!==n})));var s=a.find((function(e){return e.toLowerCase().startsWith(r.toLowerCase())}));return s!==n?s:void 0}(l.map((function(e){return e.textValue})),r,o),s=null===(n=l.find((function(e){return e.textValue===i})))||void 0===n?void 0:n.ref.current;!function e(t){D.current=t,window.clearTimeout(j.current),""!==t&&(j.current=window.setTimeout((function(){return e("")}),1e3))}(r),s&&setTimeout((function(){return s.focus()}))};L.useEffect((function(){return function(){return window.clearTimeout(j.current)}}),[]),(0,H.useFocusGuards)();var Z=L.useCallback((function(e){var t,n;return B.current===(null===(t=I.current)||void 0===t?void 0:t.side)&&function(e,t){return!!t&&function(e,t){for(var n=e.x,r=e.y,l=!1,a=0,o=t.length-1;ar!==f>r&&n<(d-c)*(r-u)/(f-u)+c&&(l=!l)}return l}({x:e.clientX,y:e.clientY},t)}(e,null===(n=I.current)||void 0===n?void 0:n.area)}),[]);return(0,re.jsx)(Te,{scope:n,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:N,onPointerGraceIntentChange:L.useCallback((function(e){I.current=e}),[]),children:(0,re.jsx)(U,y(y({},q),{},{children:(0,re.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,re.jsx)(V.DismissableLayer,{asChild:!0,disableOutsidePointerEvents:c,onEscapeKeyDown:d,onPointerDownOutside:f,onFocusOutside:p,onInteractOutside:h,onDismiss:m,children:(0,re.jsx)(X.Root,y(y({asChild:!0},O),{},{dir:S.dir,orientation:"vertical",loop:l,currentTabStopId:E,onCurrentTabStopIdChange:P,onEntryFocus:(0,R.composeEventHandlers)(u,(function(e){S.isUsingKeyboardRef.current||e.preventDefault()})),preventScrollOnEntryFocus:!0,children:(0,re.jsx)(G.Content,y(y(y({role:"menu","aria-orientation":"vertical","data-state":ot(w.open),"data-radix-menu-content":"",dir:S.dir},C),b),{},{ref:T,style:y({outline:"none"},b.style),onKeyDown:(0,R.composeEventHandlers)(b.onKeyDown,(function(e){var t=e.target.closest("[data-radix-menu-content]")===e.currentTarget,n=e.ctrlKey||e.altKey||e.metaKey,r=1===e.key.length;t&&("Tab"===e.key&&e.preventDefault(),!n&&r&&$(e.key));var l=A.current;if(e.target===l&&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,n=document.activeElement,r=k(e);try{for(r.s();!(t=r.n()).done;){var l=t.value;if(l===n)return;if(l.focus(),document.activeElement!==n)return}}catch(e){r.e(e)}finally{r.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,n=z.current!==e.clientX;if(e.currentTarget.contains(t)&&n){var r=e.clientX>z.current?"right":"left";B.current=r,z.current=e.clientX}})))}))}))})})}))})}));De.displayName="MenuContent";var Be=L.forwardRef((function(e,t){e.__scopeMenu;var n=v(e,o);return(0,re.jsx)(Y.Primitive.div,y(y({role:"group"},n),{},{ref:t}))}));Be.displayName="MenuGroup";var Fe=L.forwardRef((function(e,t){e.__scopeMenu;var n=v(e,i);return(0,re.jsx)(Y.Primitive.div,y(y({},n),{},{ref:t}))}));Fe.displayName="MenuLabel";var ze=L.forwardRef((function(e,t){var n=e.disabled,r=void 0!==n&&n,l=e.onSelect,a=v(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,re.jsx)(Ue,y(y({},a),{},{ref:u,disabled:r,onClick:(0,R.composeEventHandlers)(e.onClick,(function(){var e=o.current;if(!r&&e){var t=new CustomEvent("menu.itemSelect",{bubbles:!0,cancelable:!0});e.addEventListener("menu.itemSelect",(function(e){return null===l||void 0===l?void 0:l(e)}),{once:!0}),(0,Y.dispatchDiscreteCustomEvent)(e,t),t.defaultPrevented?d.current=!1:i.onClose()}})),onPointerDown:function(t){var n;null===(n=e.onPointerDown)||void 0===n||n.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;r||t&&" "===e.key||le.includes(e.key)&&(e.currentTarget.click(),e.preventDefault())}))}))}));ze.displayName="MenuItem";var Ue=L.forwardRef((function(e,t){var n=e.__scopeMenu,r=e.disabled,l=void 0!==r&&r,a=e.textValue,o=v(e,c),i=je("MenuItem",n),s=ve(n),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],b=m[1];return L.useEffect((function(){var e,t=u.current;t&&b((null!==(e=t.textContent)&&void 0!==e?e:"").trim())}),[o.children]),(0,re.jsx)(ue.ItemSlot,{scope:n,disabled:l,textValue:null!==a&&void 0!==a?a:g,children:(0,re.jsx)(X.Item,y(y({asChild:!0},s),{},{focusable:!l,children:(0,re.jsx)(Y.Primitive.div,y(y({role:"menuitem","data-highlighted":p?"":void 0,"aria-disabled":l||void 0,"data-disabled":l?"":void 0},o),{},{ref:d,onPointerMove:(0,R.composeEventHandlers)(e.onPointerMove,ct((function(e){l?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)}))}))}))})})),Ve=L.forwardRef((function(e,t){var n=e.checked,r=void 0!==n&&n,l=e.onCheckedChange,a=v(e,u);return(0,re.jsx)(Ke,{scope:e.__scopeMenu,checked:r,children:(0,re.jsx)(ze,y(y({role:"menuitemcheckbox","aria-checked":it(r)?"mixed":r},a),{},{ref:t,"data-state":st(r),onSelect:(0,R.composeEventHandlers)(a.onSelect,(function(){return null===l||void 0===l?void 0:l(!!it(r)||!r)}),{checkForDefaultPrevented:!1})}))})}));Ve.displayName="MenuCheckboxItem";var He=x(he("MenuRadioGroup",{value:void 0,onValueChange:function(){}}),2),We=He[0],qe=He[1],Ge=L.forwardRef((function(e,t){var n=e.value,r=e.onValueChange,l=v(e,d),a=(0,ee.useCallbackRef)(r);return(0,re.jsx)(We,{scope:e.__scopeMenu,value:n,onValueChange:a,children:(0,re.jsx)(Be,y(y({},l),{},{ref:t}))})}));Ge.displayName="MenuRadioGroup";var $e=L.forwardRef((function(e,t){var n=e.value,r=v(e,f),l=qe("MenuRadioItem",e.__scopeMenu),a=n===l.value;return(0,re.jsx)(Ke,{scope:e.__scopeMenu,checked:a,children:(0,re.jsx)(ze,y(y({role:"menuitemradio","aria-checked":a},r),{},{ref:t,"data-state":st(a),onSelect:(0,R.composeEventHandlers)(r.onSelect,(function(){var e;return null===(e=l.onValueChange)||void 0===e?void 0:e.call(l,n)}),{checkForDefaultPrevented:!1})}))})}));$e.displayName="MenuRadioItem";var Ze=x(he("MenuItemIndicator",{checked:!1}),2),Ke=Ze[0],Ye=Ze[1],Xe=L.forwardRef((function(e,t){var n=e.__scopeMenu,r=e.forceMount,l=v(e,p),a=Ye("MenuItemIndicator",n);return(0,re.jsx)(K.Presence,{present:r||it(a.checked)||!0===a.checked,children:(0,re.jsx)(Y.Primitive.span,y(y({},l),{},{ref:t,"data-state":st(a.checked)}))})}));Xe.displayName="MenuItemIndicator";var Je=L.forwardRef((function(e,t){e.__scopeMenu;var n=v(e,h);return(0,re.jsx)(Y.Primitive.div,y(y({role:"separator","aria-orientation":"horizontal"},n),{},{ref:t}))}));Je.displayName="MenuSeparator";var Qe=L.forwardRef((function(e,t){var n=e.__scopeMenu,r=v(e,m),l=ge(n);return(0,re.jsx)(G.Arrow,y(y(y({},l),r),{},{ref:t}))}));Qe.displayName="MenuArrow";var et=x(he("MenuSub"),2),tt=et[0],nt=et[1],rt=function(e){var t=e.__scopeMenu,n=e.children,r=e.open,l=void 0!==r&&r,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,re.jsx)(G.Root,y(y({},i),{},{children:(0,re.jsx)(ye,{scope:t,open:l,onOpenChange:h,content:f,onContentChange:p,children:(0,re.jsx)(tt,{scope:t,contentId:(0,q.useId)(),triggerId:(0,q.useId)(),trigger:c,onTriggerChange:u,children:n})})}))};rt.displayName="MenuSub";var lt=L.forwardRef((function(e,t){var n=we("MenuSubTrigger",e.__scopeMenu),r=Se("MenuSubTrigger",e.__scopeMenu),l=nt("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,re.jsx)(Oe,y(y({asChild:!0},c),{},{children:(0,re.jsx)(Ue,y(y({id:l.triggerId,"aria-haspopup":"menu","aria-expanded":n.open,"aria-controls":l.contentId,"data-state":ot(n.open)},e),{},{ref:(0,F.composeRefs)(t,l.onTriggerChange),onClick:function(t){var r;null===(r=e.onClick)||void 0===r||r.call(e,t),e.disabled||t.defaultPrevented||(t.currentTarget.focus(),n.open||n.onOpenChange(!0))},onPointerMove:(0,R.composeEventHandlers)(e.onPointerMove,ct((function(t){a.onItemEnter(t),t.defaultPrevented||e.disabled||n.open||o.current||(a.onPointerGraceIntentChange(null),o.current=window.setTimeout((function(){n.onOpenChange(!0),u()}),100))}))),onPointerLeave:(0,R.composeEventHandlers)(e.onPointerLeave,ct((function(e){var t;u();var r=null===(t=n.content)||void 0===t?void 0:t.getBoundingClientRect();if(r){var l,o=null===(l=n.content)||void 0===l?void 0:l.dataset.side,s="right"===o,c=s?-5:5,d=r[s?"left":"right"],f=r[s?"right":"left"];a.onPointerGraceIntentChange({area:[{x:e.clientX+c,y:e.clientY},{x:d,y:r.top},{x:f,y:r.top},{x:f,y:r.bottom},{x:d,y:r.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 l,o=""!==a.searchRef.current;e.disabled||o&&" "===t.key||ie[r.dir].includes(t.key)&&(n.onOpenChange(!0),null===(l=n.content)||void 0===l||l.focus(),t.preventDefault())}))}))}))}));lt.displayName="MenuSubTrigger";var at=L.forwardRef((function(e,t){var n=Ee("MenuContent",e.__scopeMenu),r=e.forceMount,l=void 0===r?n.forceMount:r,a=v(e,g),o=we("MenuContent",e.__scopeMenu),i=Se("MenuContent",e.__scopeMenu),s=nt("MenuSubContent",e.__scopeMenu),c=L.useRef(null),u=(0,F.useComposedRefs)(t,c);return(0,re.jsx)(ue.Provider,{scope:e.__scopeMenu,children:(0,re.jsx)(K.Presence,{present:l||o.open,children:(0,re.jsx)(ue.Slot,{scope:e.__scopeMenu,children:(0,re.jsx)(Re,y(y({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,n=e.currentTarget.contains(e.target),r=se[i.dir].includes(e.key);n&&r&&(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,vt=Ve,bt=Ge,yt=$e,wt=Xe,xt=Je,kt=Qe,St=rt,Ct=lt,Ot=at},"18fd55adb10446515347":function(e,t,n){var r=n("ec62b70470f894d02f0d");"string"===typeof r&&(r=[[e.i,r,""]]);var l={hmr:!0,transform:void 0,insertInto:void 0};n("1e4534d1d62a11482e97")(r,l);r.locals&&(e.exports=r.locals)},"19425ead75bba88da318":function(e,t,n){"use strict";var r=n("ff2e668c0c59935e30de");e.exports=function(e,t,n){var l=n.config.validateStatus;!l||l(n.status)?e(n):t(r("Request failed with status code "+n.status,n.config,null,n.request,n))}},"194dc23c6ea855d0527d":function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e){return!(!e||!r.test(e))};var r=/^((translate|rotate|scale)(X|Y|Z|3d)?|matrix(3d)?|perspective|skew(X|Y)?)$/i;e.exports=t.default},"194eca7d50ead7b20738":function(e,t,n){"use strict";var r=n("8e6d34d5e2b1c9c449c0").default,l=n("16ed5e814ccb32d55f28").default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=l(n("8af190b70a6bc55c6f1b")),o=r(n("029a2d7b698f7b3be616")),i=r(n("af65ea87a4ca3f13be35")),s=r(n("f8ea6233c9ae2aa4d880")),c=r(n("86a120043b56e49fb73d")),u=n("c8f55eae1ac912285c1f");function d(e){var t=e.containerRef,n=e.accessors,r=e.getters,l=e.selected,o=e.components,d=e.localizer,f=e.position,p=e.show,h=e.events,m=e.slotStart,g=e.slotEnd,v=e.onSelect,b=e.onDoubleClick,y=e.onKeyPress,w=e.handleDragStart,x=e.popperRef,k=e.target,S=e.offset;(0,s.default)({ref:x,callback:p}),(0,a.useLayoutEffect)((function(){var e=function(e){var t=e.target,n=e.offset,r=e.container,l=e.box,a=(0,i.default)(t),o=a.top,s=a.left,c=a.width,u=a.height,d=(0,i.default)(r),f=d.top,p=d.left,h=d.width,m=d.height,g=(0,i.default)(l),v=g.width,b=g.height,y=f+m,w=p+h,x=o+b,k=s+v,S=n.x,C=n.y;return{topOffset:x>y?o-b-C:o+C+u,leftOffset:k>w?s+S-v+c:s+S}}({target:k,offset:S,container:t.current,box:x.current}),n=e.topOffset,r=e.leftOffset;x.current.style.top="".concat(n,"px"),x.current.style.left="".concat(r,"px")}),[S.x,S.y,k]);var C=f.width,O={minWidth:C+C/2};return a.default.createElement("div",{style:O,className:"rbc-overlay",ref:x},a.default.createElement("div",{className:"rbc-overlay-header"},d.format(m,"dayHeaderFormat")),h.map((function(e,t){return a.default.createElement(c.default,{key:t,type:"popup",localizer:d,event:e,getters:r,onSelect:v,accessors:n,components:o,onDoubleClick:b,onKeyPress:y,continuesPrior:d.lt(n.end(e),m,"day"),continuesAfter:d.gte(n.start(e),g,"day"),slotStart:m,slotEnd:g,selected:(0,u.isSelected)(e,l),draggable:!0,onDragStart:function(){return w(e)},onDragEnd:function(){return p()}})})))}var f=a.default.forwardRef((function(e,t){return a.default.createElement(d,Object.assign({},e,{popperRef:t}))}));f.propTypes={accessors:o.default.object.isRequired,getters:o.default.object.isRequired,selected:o.default.object,components:o.default.object.isRequired,localizer:o.default.object.isRequired,position:o.default.object.isRequired,show:o.default.func.isRequired,events:o.default.array.isRequired,slotStart:o.default.instanceOf(Date).isRequired,slotEnd:o.default.instanceOf(Date),onSelect:o.default.func,onDoubleClick:o.default.func,onKeyPress:o.default.func,handleDragStart:o.default.func,style:o.default.object,offset:o.default.shape({x:o.default.number,y:o.default.number})};t.default=f},"197746a978fbb7f5fd81":function(e,t,n){"use strict";n.d(t,"c",(function(){return r})),n.d(t,"b",(function(){return l})),n.d(t,"e",(function(){return a})),n.d(t,"d",(function(){return o})),n.d(t,"a",(function(){return i}));function r(){return"VOLUP_BACKOFFICE_TOKEN"}function l(){return localStorage.getItem("VOLUP_BACKOFFICE_TOKEN")}function a(e){e?localStorage.setItem("VOLUP_BACKOFFICE_TOKEN",e):o()}function o(){localStorage.removeItem("VOLUP_BACKOFFICE_TOKEN")}function i(){o(),localStorage.removeItem("persist:project-root")}},"19a4a536803f5e3627f4":function(e,t,n){!function(e){"use strict";var t="-ms-",n="-moz-",r="-webkit-",l="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^y(e,0)?(((t<<2^y(e,0))<<2^y(e,1))<<2^y(e,2))<<2^y(e,3):0}function m(e){return e.trim()}function g(e,t){return(e=t.exec(e))?e[0]:e}function v(e,t,n){return e.replace(t,n)}function b(e,t,n){return e.indexOf(t,n)}function y(e,t){return 0|e.charCodeAt(t)}function w(e,t,n){return e.slice(t,n)}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,n,r,l,a,o,i,s){return{value:t,root:n,parent:r,type:l,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?y(e.characters,--e.position):0,e.column--,10===e.character&&(e.column=1,e.line--),e.character}function T(){return e.character=e.position2||I(e.character)>3?"":" "}function U(t){for(;T();)switch(I(e.character)){case 0:S(q(e.position-1),t);break;case 2:S(B(e.character),t);break;default:S(f(e.character),t)}return t}function V(t,n){for(;--n&&T()&&!(e.character<48||e.character>102||e.character>57&&e.character<65||e.character>70&&e.character<97););return N(t,D()+(n<6&&32==j()&&32==T()))}function H(t){for(;T();)switch(e.character){case t:return e.position;case 34:case 39:34!==t&&39!==t&&H(e.character);break;case 40:41===t&&H(t);break;case 92:T()}return e.position}function W(t,n){for(;T()&&t+e.character!==57&&(t+e.character!==84||47!==j()););return"/*"+N(n,e.position-1)+"*"+f(47===t?t:T())}function q(t){for(;!I(j());)T();return N(t,e.position)}function G(e,t,n,r,l,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=l,P=a,N=r,L=_;C;)switch(g=M,M=T()){case 40:if(108!=g&&58==y(L,p-1)){-1!=b(L+=v(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+=V(D()-1,7);continue;case 47:switch(j()){case 42:case 47:S(Z(W(T(),D()),t,n,s),s),5!=I(g||1)&&5!=I(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=v(L,/\f/g,"")),m>0&&(x(L)-p||0===k&&47===g)&&S(m>32?K(L+";",r,n,p-1,s):K(v(L," ","")+";",r,n,p-2,s),s);break;case 59:L+=";";default:if(S(N=$(L,t,n,c,u,l,i,_,E=[],P=[],p,a),a),123===M)if(0===u)G(L,t,N,N,E,a,p,i,P);else{switch(h){case 99:if(110===y(L,3))break;case 108:if(97===y(L,2))break;default:u=0;case 100:case 109:case 115:}u?G(e,N,N,r&&S($(e,N,N,0,0,l,i,_,l,E=[],p,P),P),l,P,p,i,r?E:P):G(L,N,N,N,[""],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+=q(D())),M++;break;case 45:45===g&&2==x(L)&&(k=0)}}return a}function $(e,t,n,r,l,o,i,s,c,u,f,p){for(var h=l-1,g=0===l?o:[""],b=k(g),y=0,x=0,S=0;y0?g[C]+" "+O:v(O,/&\f/g,g[C])))&&(c[S++]=_);return M(e,t,n,0===l?a:s,c,u,f,p)}function Z(e,t,n,r){return M(e,t,n,l,f(P()),w(e,2,-2),0,r)}function K(e,t,n,r,l){return M(e,t,n,o,w(e,0,r),w(e,r+1,-1),r,l)}function Y(e,l,a){switch(h(e,l)){case 5103:return r+"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 r+e+e;case 4855:return r+e.replace("add","source-over").replace("substract","source-out").replace("intersect","source-in").replace("exclude","xor")+e;case 4789:return n+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return r+e+n+e+t+e+e;case 5936:switch(y(e,l+11)){case 114:return r+e+t+v(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return r+e+t+v(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return r+e+t+v(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return r+e+t+e+e;case 6165:return r+e+t+"flex-"+e+e;case 5187:return r+e+v(e,/(\w+).+(:[^]+)/,r+"box-$1$2"+t+"flex-$1$2")+e;case 5443:return r+e+t+"flex-item-"+v(e,/flex-|-self/g,"")+(g(e,/flex-|baseline/)?"":t+"grid-row-"+v(e,/flex-|-self/g,""))+e;case 4675:return r+e+t+"flex-line-pack"+v(e,/align-content|flex-|-self/g,"")+e;case 5548:return r+e+t+v(e,"shrink","negative")+e;case 5292:return r+e+t+v(e,"basis","preferred-size")+e;case 6060:return r+"box-"+v(e,"-grow","")+r+e+t+v(e,"grow","positive")+e;case 4554:return r+v(e,/([^-])(transform)/g,"$1"+r+"$2")+e;case 6187:return v(v(v(e,/(zoom-|grab)/,r+"$1"),/(image-set)/,r+"$1"),e,"")+e;case 5495:case 3959:return v(e,/(image-set\([^]*)/,r+"$1$`$1");case 4968:return v(v(e,/(.+:)(flex-)?(.*)/,r+"box-pack:$3"+t+"flex-pack:$3"),/space-between/,"justify")+r+e+e;case 4200:if(!g(e,/flex-|baseline/))return t+"grid-column-align"+w(e,l)+e;break;case 2592:case 3360:return t+v(e,"template-","")+e;case 4384:case 3616:return a&&a.some((function(e,t){return l=t,g(e.props,/grid-\w+-end/)}))?~b(e+(a=a[l].value),"span",0)?e:t+v(e,"-start","")+e+t+"grid-row-span:"+(~b(a,"span",0)?g(a,/\d+/):+g(a,/\d+/)-+g(e,/\d+/))+";":t+v(e,"-start","")+e;case 4896:case 4128:return a&&a.some((function(e){return g(e.props,/grid-\w+-start/)}))?e:t+v(v(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return v(e,/(.+)-inline(.+)/,r+"$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-l>6)switch(y(e,l+1)){case 109:if(45!==y(e,l+4))break;case 102:return v(e,/(.+:)(.+)-([^]+)/,"$1"+r+"$2-$3$1"+n+(108==y(e,l+3)?"$3":"$2-$3"))+e;case 115:return~b(e,"stretch",0)?Y(v(e,"stretch","fill-available"),l,a)+e:e}break;case 5152:case 5920:return v(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,(function(n,r,l,a,o,i,s){return t+r+":"+l+s+(a?t+r+"-span:"+(o?i:+i-+l)+s:"")+e}));case 4949:if(121===y(e,l+6))return v(e,":",":"+r)+e;break;case 6444:switch(y(e,45===y(e,14)?18:11)){case 120:return v(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+r+(45===y(e,14)?"inline-":"")+"box$3$1"+r+"$2$3$1"+t+"$2box$3")+e;case 100:return v(e,":",":"+t)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return v(e,"scroll-","scroll-snap-")+e}return e}function X(e,t){for(var n="",r=0;r1?"":t;case n=k(r)-1:case 2:return 2===n?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,n,l,i){if(e.length>-1&&!e.return)switch(e.type){case o:return void(e.return=Y(e.value,e.length,l));case c:return X([_(e,{value:v(e.value,"@","@"+r)})],i);case a:if(e.length)return C(l=e.props,(function(n){switch(g(n,i=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":E(_(e,{props:[v(n,/:(read-\w+)/,":-moz-$1")]})),E(_(e,{props:[n]})),p(e,{props:O(l,i)});break;case"::placeholder":E(_(e,{props:[v(n,/:(plac\w+)/,":"+r+"input-$1")]})),E(_(e,{props:[v(n,/:(plac\w+)/,":-moz-$1")]})),E(_(e,{props:[v(n,/:(plac\w+)/,t+"input-$1")]})),E(_(e,{props:[n]})),p(e,{props:O(l,i)})}return""}))}},e.prev=A,e.replace=v,e.ruleset=$,e.rulesheet=function(e){return function(t){t.root||(t=t.return)&&e(t)}},e.serialize=X,e.sizeof=k,e.slice=N,e.stringify=function(e,t,n,r){switch(e.type){case u:if(e.children.length)break;case i:case s:case o:return e.return=e.return||e.value;case l:return"";case c:return e.return=e.value+"{"+X(e.children,r)+"}";case a:if(!x(e.value=e.props.join(",")))return""}return x(n=X(e.children,r))?e.return=e.value+"{"+n+"}":""},e.strlen=x,e.substr=w,e.token=I,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,n){var r=n("0d7f6c423a7393c9b359");"string"===typeof r&&(r=[[e.i,r,""]]);var l={hmr:!0,transform:void 0,insertInto:void 0};n("1e4534d1d62a11482e97")(r,l);r.locals&&(e.exports=r.locals)},"1a4d5d936da0b42ccabf":function(e,t,n){"use strict";var r=n("16ed5e814ccb32d55f28").default,l=n("8e6d34d5e2b1c9c449c0").default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=l(n("6982c1e380225edecb61")),o=l(n("19e15e7ca84589004246")),i=l(n("66f6f74ce0dacb46302a")),s=l(n("7181ad02914c0bd9cce7")),c=l(n("6b516fd2a35c7f9ebca4")),u=n("f2e76c079124f1348ab4"),d=l(n("04d6e2d4983bf78bb6b9")),f=l(n("8af190b70a6bc55c6f1b")),p=n("d985ce8029f3ee6eb537"),h=r(n("9c0b48a6c388a568028e")),m=l(n("6df52f1b1740cbb597a8")),g=n("84677bb9cfe1bca0c966"),v=function(e){function t(){var e;(0,o.default)(this,t);for(var n=arguments.length,r=new Array(n),l=0;le.scrollTop+e.clientHeight&&(0,u.scrollTop)(e,Math.min(n.offsetTop-e.offsetHeight+n.offsetHeight,e.scrollHeight)))}))},e._selectable=function(){var t=e.ref.current,n=t.children[0],r=!1,l=e._selector=new h.default((function(){return t.closest(".rbc-time-view")})),a=(0,u.scrollParent)(t);l.on("beforeSelect",(function(t){var r=e.context.draggable.dragAndDropAction;if(!r.action)return!1;if("resize"===r.action)return(0,g.pointInColumn)((0,h.getBoundsForNode)(n),t);var l=(0,h.getEventNodeFromPoint)(n,t);if(!l)return!1;e.eventOffsetTop=t.y-(0,h.getBoundsForNode)(l).top})),l.on("selecting",(function(t){var r=(0,h.getBoundsForNode)(n),l=e.context.draggable.dragAndDropAction;"move"===l.action&&(e.updateParentScroll(a,n),e.handleMove(t,r)),"resize"===l.action&&(e.updateParentScroll(a,n),e.handleResize(t,r))})),l.on("dropFromOutside",(function(t){if(e.context.draggable.onDropFromOutside){var r=(0,h.getBoundsForNode)(n);(0,g.pointInColumn)(r,t)&&e.handleDropFromOutside(t,r)}})),l.on("dragOverFromOutside",(function(t){if(e.context.draggable.dragFromOutsideItem?e.context.draggable.dragFromOutsideItem():null){var r=(0,h.getBoundsForNode)(n);if(!(0,g.pointInColumn)(r,t))return e.reset();e.handleDragOverFromOutside(t,r)}})),l.on("selectStart",(function(){r=!0,e.context.draggable.onStart()})),l.on("select",(function(t){var l=(0,h.getBoundsForNode)(n);if(r=!1,"resize"===e.context.draggable.dragAndDropAction.action)e.handleInteractionEnd();else{if(!e.state.event||!(0,g.pointInColumn)(l,t))return;e.handleInteractionEnd()}})),l.on("click",(function(){r&&e.reset(),e.context.draggable.onEnd(null)})),l.on("reset",(function(){e.reset(),e.context.draggable.onEnd(null)}))},e.handleInteractionEnd=function(){var t=e.props.resource,n=e.state.event;e.reset(),e.context.draggable.onEnd({start:n.start,end:n.end,resourceId:t})},e._teardownSelectable=function(){e._selector&&(e._selector.teardown(),e._selector=null)},e.state={},e.ref=f.default.createRef(),e}return(0,c.default)(t,e),(0,i.default)(t,[{key:"componentDidMount",value:function(){this._selectable()}},{key:"componentWillUnmount",value:function(){this._teardownSelectable()}},{key:"reset",value:function(){this.state.event&&this.setState({event:null,top:null,height:null})}},{key:"update",value:function(e,t){var n=t.startDate,r=t.endDate,l=t.top,o=t.height,i=this.state.event;i&&n===i.start&&r===i.end||this.setState({top:l,height:o,event:(0,a.default)((0,a.default)({},e),{},{start:n,end:r})})}},{key:"handleResize",value:function(e,t){var n,r=this.props,l=r.accessors,o=r.slotMetrics,i=r.localizer,s=this.context.draggable.dragAndDropAction,c=s.event,u=s.direction,d=o.closestSlotFromPoint(e,t),f=(0,g.eventTimes)(c,l,i),p=f.start,h=f.end;if("UP"===u){var m=i.min(d,o.closestSlotFromDate(h,-1));n=o.getRange(m,h),n=(0,a.default)((0,a.default)({},n),{},{endDate:h})}else if("DOWN"===u){var v=i.max(d,o.closestSlotFromDate(p));n=o.getRange(p,v),n=(0,a.default)((0,a.default)({},n),{},{startDate:p})}this.update(c,n)}},{key:"renderContent",value:function(){var e=this.props,t=e.children,n=e.accessors,r=e.components,l=e.getters,o=e.slotMetrics,i=e.localizer,s=this.state,c=s.event,u=s.top,d=s.height;if(!c)return t;var p,h=t.props.children,v=c.start,b=c.end,y="eventTimeRangeFormat",w=o.startsBeforeDay(v),x=o.startsAfterDay(b);return w?y="eventTimeRangeEndFormat":x&&(y="eventTimeRangeStartFormat"),p=w&&x?i.messages.allDay:i.format({start:v,end:b},y),f.default.cloneElement(t,{children:f.default.createElement(f.default.Fragment,null,h,c&&f.default.createElement(m.default,{event:c,label:p,className:"rbc-addons-dnd-drag-preview",style:{top:u,height:d,width:100},getters:l,components:r,accessors:(0,a.default)((0,a.default)({},n),g.dragAccessors),continuesPrior:w,continuesAfter:x}))})}},{key:"render",value:function(){return f.default.createElement("div",{ref:this.ref},this.renderContent())}}])}(f.default.Component);v.contextType=p.DnDContext;t.default=v},"1a5666701cabb0ba5667":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return function(t,n,r,l,a){var o=r||"<>",i=a||n;if(null==t[n])return new Error("The "+l+" `"+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=r.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 n=t[t.length-1];t.push(this.getNextMonth(n))}return t},e.prototype.getWeekdays=function(){return r.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,n=[];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?n.push([e]):n[n.length-1].push(e)})),n},e.prototype.getYearRange=function(e,t){e=this.date(e);var n=(t=this.date(t).plus({years:1})).diff(e,"years").toObject().years;return!n||n<=0?[]:new Array(Math.round(n)).fill(0).map((function(e,t){return t})).map((function(t){return e.plus({years:t})}))},e.prototype.getMeridiemText=function(e){return r.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=l},"1ba86ee13bd1cebc41be":function(e,t,n){var r=n("679fbe52ee97df6807a9");"string"===typeof r&&(r=[[e.i,r,""]]);var l={hmr:!0,transform:void 0,insertInto:void 0};n("1e4534d1d62a11482e97")(r,l);r.locals&&(e.exports=r.locals)},"1c0dab59f6b1c980f16f":function(e,t,n){"use strict";function r(e){return(r="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 l=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=r(e)&&"function"!=typeof e)return{default:e};var n=c(t);if(n&&n.has(e))return n.get(e);var l={__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(l,o,i):l[o]=e[o]}return l.default=e,n&&n.set(e,l),l}(n("8af190b70a6bc55c6f1b")),a=n("f6432484014eb025791a"),o=s(n("eb2b25733171a7b5c7a2")),i=s(n("6bfb8f0c6c69774b9ad9"));function s(e){return e&&e.__esModule?e:{default:e}}function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(c=function(e){return e?n:t})(e)}function u(e){var t=e.component,n=e.children,r=e.appear,o=e.enter,s=e.leave;return l.default.createElement(a.TransitionGroup,{component:t},l.Children.map(n,(function(e,t){return l.default.createElement(i.default,{appearOptions:r,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,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},"1c63ba327a1209defc64":function(e,t,n){var r=n("3768296ce8a1fa02ef08");"string"===typeof r&&(r=[[e.i,r,""]]);var l={hmr:!0,transform:void 0,insertInto:void 0};n("1e4534d1d62a11482e97")(r,l);r.locals&&(e.exports=r.locals)},"1c6e5b846c2d2c931abf":function(e,t,n){var r=n("64a039bddbfc5438375d"),l=n("29796ead6add2b5f83ec")("socket.io-client:url");e.exports=function(e,t){var n=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)||(l("protocol-less url %s",e),e="undefined"!==typeof t?t.protocol+"//"+e:"https://"+e),l("parse %s",e),n=r(e));n.port||(/^(http|ws)$/.test(n.protocol)?n.port="80":/^(http|ws)s$/.test(n.protocol)&&(n.port="443"));n.path=n.path||"/";var a=-1!==n.host.indexOf(":")?"["+n.host+"]":n.host;return n.id=n.protocol+"://"+a+":"+n.port,n.href=n.protocol+"://"+a+(t&&t.port===n.port?"":":"+n.port),n}},"1cbd705abc411c9a1e5b":function(e,t,n){var r=n("5418164ba762b2ad2290"),l=n("c71b8d64205776e9bfa6"),a=n("7808cfb2bfe5c86d0b6e"),o=n("09b2597701fdebc2702d"),i=n("43782b2cfa20cdaf0a42"),s=n("68e8bdf41018d49578f9"),c=Date.prototype.getTime;function u(e,t,n){var p=n||{};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,n){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(l(e)!==l(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),v=f(t);if(g!==v)return!1;if(g||v){if(e.length!==t.length)return!1;for(a=0;a=0;a--)if(b[a]!=y[a])return!1;for(a=b.length-1;a>=0;a--)if(p=b[a],!u(e[p],t[p],n))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,n){(t=e.exports=n("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"}},"1d4aee7028636f8b92d4":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AddCategoryPanel=function({isOpen:e,onClose:t,onSave:n,value:f,onChange:p,baseLang:h="pt",baseBadgeText:m}){const{t:g}=(0,s.useI18n)(),v=m||g("rest.base"),[b,y]=r.useState(h),[w,x]=r.useState(null),[k,S]=r.useState(!1),C=r.useRef(null),O=f.name||{},M=b.toUpperCase(),_=Boolean(f.limitedPeriod);r.useEffect(()=>{e&&(y(h),x(null),S(!1),requestAnimationFrame(()=>{var e;return null===(e=C.current)||void 0===e?void 0:e.focus()}))},[e,h]);const E=c.filter(e=>{var t;return!(null===(t=O[e])||void 0===t?void 0:t.trim())});return r.createElement(l.Root,{open:e,onOpenChange:e=>!e&&t()},r.createElement(l.Portal,null,r.createElement(l.Overlay,{className:"fixed! inset-0! bg-black/50! z-150! flex! justify-end!"}),r.createElement(l.Content,{className:"fixed! right-0! top-0! z-151! h-full! border-l! border-[#d0d0e0]! bg-surface! font-poppins! **:font-poppins flex! flex-col! data-[state=open]:animate-slideInRight! data-[state=closed]:animate-slideOutRight!",style:{width:"440px"}},r.createElement("div",{className:"flex! border-0! items-center! justify-between! border-b! border-[#d0d0e0]! bg-[#f5f5fa]! px-4! py-3!"},r.createElement("div",null,r.createElement(l.Title,{asChild:!0},r.createElement("div",{className:"m-0! text-[14px]! font-semibold! text-text-dark!"},f._id?g("cat.editCategory"):g("cat.addCategory"))),r.createElement(l.Description,{asChild:!0},r.createElement("div",{className:"m-0! mt-0.75! text-[11px]! text-text-faint!"},g("cat.panelSubtitle")))),r.createElement(l.Close,{className:"cursor-pointer! rounded-[9px]! border! border-[#d0d0e0]! bg-transparent! px-2.5! py-1! text-[11px]! font-medium! text-[#555575]! transition-all! duration-150! hover:bg-[#f5f5fa]! hover:text-text-dark!","aria-label":g("app.close")},"\u2715")),r.createElement("div",{className:"flex! flex-1! flex-col! gap-5! overflow-y-auto! p-3! custom-scrollbar!"},r.createElement("div",{className:"flex! items-center! gap-2!"},r.createElement("span",{className:"flex! items-center! gap-2! whitespace-nowrap! text-[12px]! leading-normal! text-text-faint!"},r.createElement(i.Globe,{size:13})," ",g("cat.language")),r.createElement(o.Root,{type:"single",value:b,onValueChange:e=>{e&&(y(e),x(null),S(!1),requestAnimationFrame(()=>{var e;return null===(e=C.current)||void 0===e?void 0:e.focus()}))},className:"flex! items-center! gap-1! bg-surface-subtle! p-0.5! rounded-input!"},c.map(e=>{const t=s.CONTENT_LANGUAGES.find(t=>t.code===e);return r.createElement(o.Item,{key:e,value:e,className:"flex! items-center! gap-1.5! whitespace-nowrap! rounded-lg! px-2! py-1! text-[12px]! leading-normal! text-text-muted! transition-all! data-[state=on]:bg-white! data-[state=on]:text-text-primary! data-[state=on]:shadow-[0_1px_3px_rgba(0,0,0,0.08)]! "+(k&&E.includes(e)?"outline-2! outline-red-300!":"")},r.createElement("span",null,null===t||void 0===t?void 0:t.flag),r.createElement("span",{className:"uppercase!"},e),e===h&&r.createElement("span",{className:"ml-px! text-[#615fff]!"},"*"))}))),r.createElement("div",{className:"flex! flex-col! gap-1.5!"},r.createElement("div",{className:"flex! items-center! gap-1.5! text-[14px]! leading-normal! text-[#4a5565]! flex-wrap!"},g("cat.categoryName")," ",r.createElement("span",{className:"text-text-muted!"},"(",M,")"),b===h&&r.createElement("span",{className:"inline-flex! items-center! rounded! bg-[#e0e7ff]! px-1.5! py-px! text-[10px]! leading-normal! font-normal! text-[#432dd7]!"},v)),r.createElement("input",{ref:C,type:"text",placeholder:g("cat.categoryPlaceholder"),value:O[b]||"",onChange:e=>{var t,n;t=b,n=e.target.value,p(Object.assign(Object.assign({},f),{name:Object.assign(Object.assign({},O),{[t]:n})})),e.target.value.trim()&&x(null)},className:"w-full! rounded-input! border! border-surface-border! bg-surface-muted! px-3! py-2.25! text-[14px]! leading-normal! text-text-secondary! placeholder:text-closure! focus:outline-none! focus:border-volup! focus:bg-white! focus:shadow-[0_0_0_3px_#6c63ff14]!"}),w&&r.createElement("div",{className:"mt-2.5! rounded-lg! border! border-red-200! bg-[#fff5f5]! px-3.5! py-2.5! text-[12px]! leading-normal! text-red-600!"},w)),r.createElement("div",{className:"rounded-md! border! border-surface-border! bg-surface-muted! px-4! py-3.5!"},r.createElement("div",{className:"flex! items-center! justify-between! gap-3!"},r.createElement("div",null,r.createElement("div",{className:"text-[13px]! leading-normal! font-semibold! text-text-dark!"},g("cat.limitedPeriod")),r.createElement("div",{className:"mt-0.5! text-[11px]! leading-normal! text-text-faint!"},g("cat.limitedPeriodDesc"))),r.createElement(a.Root,{checked:_,onCheckedChange:e=>{var t,n;p(Object.assign(Object.assign({},f),{limitedPeriod:e,limitedPeriodStart:e&&null!==(t=f.limitedPeriodStart)&&void 0!==t?t:null,limitedPeriodEnd:e&&null!==(n=f.limitedPeriodEnd)&&void 0!==n?n:null}))},className:"relative! h-5! w-9! rounded-badge! transition-colors! data-[state=checked]:bg-status-green! data-[state=unchecked]:bg-[#d0d0e0]!"},r.createElement(a.Thumb,{className:"block! h-4! w-4! rounded-full! bg-white! shadow-[0_1px_3px_rgba(0,0,0,0.25)]! transition-transform! data-[state=checked]:translate-x-4! data-[state=unchecked]:translate-x-0.5!"}))),r.createElement("div",{className:"grid! transition-all! duration-200! ease-out! "+(_?"grid-rows-[1fr]! opacity-100! mt-4!":"grid-rows-[0fr]! opacity-0! mt-0!")},r.createElement("div",{className:"overflow-hidden!"},r.createElement("div",{className:"grid! grid-cols-2! gap-3!"},r.createElement("div",{className:"flex! flex-col! gap-1.5!"},r.createElement("div",{className:"text-[14px]! leading-normal! text-[#4a5565]!"},g("cat.startHour")),r.createElement("input",{type:"time",value:u(f.limitedPeriodStart),onChange:e=>p(Object.assign(Object.assign({},f),{limitedPeriodStart:d(e.target.value)})),className:"w-full! rounded-input! border! border-surface-border! bg-surface-muted! px-3! py-2.25! text-[14px]! leading-normal! text-text-secondary! focus:outline-none! focus:border-volup! focus:bg-white! focus:shadow-[0_0_0_3px_#6c63ff14]!"})),r.createElement("div",{className:"flex! flex-col! gap-1.5!"},r.createElement("div",{className:"text-[14px]! leading-normal! text-[#4a5565]!"},g("cat.endHour")),r.createElement("input",{type:"time",value:u(f.limitedPeriodEnd),onChange:e=>p(Object.assign(Object.assign({},f),{limitedPeriodEnd:d(e.target.value)})),className:"w-full! rounded-input! border! border-surface-border! bg-surface-muted! px-3! py-2.25! text-[14px]! leading-normal! text-text-secondary! focus:outline-none! focus:border-volup! focus:bg-white! focus:shadow-[0_0_0_3px_#6c63ff14]!"}))))))),r.createElement("div",{className:"flex! items-center! gap-2.5! border-t! border-[#d0d0e0]! bg-surface! px-5! py-3.5!"},r.createElement("button",{type:"button",onClick:t,className:"flex-1! cursor-pointer! rounded-md! border! border-[#d0d0e0]! bg-transparent! px-3.5! py-1.5! text-[12px]! font-medium! text-[#555575]! transition-all! duration-150! hover:bg-[#f5f5fa]! hover:text-text-dark!"},g("app.cancel")),r.createElement("button",{type:"button",onClick:()=>{if(E.length>0){const e={es:g("cat.langEs"),en:g("cat.langEn"),pt:g("cat.langPt"),fr:g("cat.langFr")};return x(r.createElement(r.Fragment,null,r.createElement("strong",null,g("cat.missingNamesFor"))," ",E.map(t=>e[t]).join(", "),". ",g("cat.switchToFill"))),void S(!0)}x(null),S(!1),n()},className:"flex-2! cursor-pointer! rounded-md! border-0! bg-volup! px-3.5! py-1.5! text-[12px]! font-medium! text-white! transition-all! duration-150! hover:bg-volup-hover!"},g("cat.saveCategory"))))))};const r=n("8af190b70a6bc55c6f1b"),l=n("4d44e2b53cd97d4b16b7"),a=n("dd02c05f005567d55746"),o=n("bfdafa48f8a5f9aea41a"),i=n("61c3f09dcc5353fc893d"),s=n("0c7157107878e910d89c"),c=["es","en","pt","fr"];function u(e){if(null===e||void 0===e)return"";const t=Math.floor(e/6e4);return`${Math.floor(t/60).toString().padStart(2,"0")}:${(t%60).toString().padStart(2,"0")}`}function d(e){if(!e)return null;const[t,n]=e.split(":").map(e=>Number(e));return Number.isNaN(t)||Number.isNaN(n)?null:60*(60*t+n)*1e3}},"1d4dcb4b1b3ffe269ce0":function(e,t,n){var r,l=n("01113779d8183c4f9cfc"),a=n("e2050712f12e30dc752a"),o=n("a9e3d23c499626aaa8cb"),i=n("4aa5796f44355857a54f"),s=n("8457025d7877bedaf46f");"undefined"!==typeof ArrayBuffer&&(r=n("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=l(f),h={type:"error",data:"parser error"},m=n("0d1dc604b6ac99d57df3");function g(e,t,n){for(var r=new Array(e.length),l=i(e.length,n),a=function(e,n,l){t(n,(function(t,n){r[e]=n,l(t,r)}))},o=0;o1?{type:p[l],data:e.substring(1)}:{type:p[l]}:h}l=new Uint8Array(e)[0];var a=o(e,1);return m&&"blob"===n&&(a=new m([a])),{type:p[l],data:a}},t.decodeBase64Packet=function(e,t){var n=p[e.charAt(0)];if(!r)return{type:n,data:{base64:!0,data:e.substr(1)}};var l=r.decode(e.substr(1));return"blob"===t&&m&&(l=new m([l])),{type:n,data:l}},t.encodePayload=function(e,n,r){"function"===typeof n&&(r=n,n=null);var l=a(e);if(n&&l)return m&&!d?t.encodePayloadAsBlob(e,r):t.encodePayloadAsArrayBuffer(e,r);if(!e.length)return r("0:");g(e,(function(e,r){t.encodePacket(e,!!l&&n,!1,(function(e){r(null,function(e){return e.length+":"+e}(e))}))}),(function(e,t){return r(t.join(""))}))},t.decodePayload=function(e,n,r){if("string"!==typeof e)return t.decodePayloadAsBinary(e,n,r);var l;if("function"===typeof n&&(r=n,n=null),""===e)return r(h,0,1);for(var a,o,i="",s=0,c=e.length;s0;){for(var i=new Uint8Array(l),s=0===i[0],c="",u=1;255!==i[u];u++){if(c.length>310)return r(h,0,1);c+=i[u]}l=o(l,2+c.length),c=parseInt(c);var d=o(l,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 v(e){var t=document.createElement("style");if(void 0===e.attrs.type&&(e.attrs.type="text/css"),void 0===e.attrs.nonce){var r=function(){0;return n.nc}();r&&(e.attrs.nonce=r)}return b(t,e.attrs),m(e,t),t}function b(e,t){Object.keys(t).forEach((function(n){e.setAttribute(n,t[n])}))}function y(e,t){var n,r,l,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++;n=c||(c=v(t)),r=k.bind(null,n,o,!1),l=k.bind(null,n,o,!0)}else e.sourceMap&&"function"===typeof URL&&"function"===typeof URL.createObjectURL&&"function"===typeof URL.revokeObjectURL&&"function"===typeof Blob&&"function"===typeof btoa?(n=function(e){var t=document.createElement("link");return void 0===e.attrs.type&&(e.attrs.type="text/css"),e.attrs.rel="stylesheet",b(t,e.attrs),m(e,t),t}(t),r=C.bind(null,n,t),l=function(){g(n),n.href&&URL.revokeObjectURL(n.href)}):(n=v(t),r=S.bind(null,n),l=function(){g(n)});return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else l()}}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 n=h(e,t);return p(n,t),function(e){for(var r=[],l=0;l(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,n){t?oe(e,n):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),n=parseFloat(t.getPropertyValue("animation-duration")||"0"),r=parseFloat(t.getPropertyValue("transition-duration")||"0");return n>0||r>0},fe=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=V();ce(n)&&(t&&(n.style.transition="none",n.style.width="100%"),setTimeout((function(){n.style.transition="width ".concat(e/1e3,"s linear"),n.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){dn.isVisible()&&Q!==e.target.value&&dn.resetValidationMessage(),Q=e.target.value},ge=function(e){var t,n=!!(t=M())&&(t.parentNode.removeChild(t),re([document.documentElement,document.body],[C["no-backdrop"],C["toast-shown"],C["has-column"]]),!0);if(pe())h("SweetAlert2 requires document to initialize");else{var r=document.createElement("div");r.className=C.container,n&&ne(r,C["no-transition"]),K(r,he);var l,a,o,i,s,c,u,d,f,p="string"===typeof(l=e.target)?document.querySelector(l):l;p.appendChild(r),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&&ne(M(),C.rtl)}(p),a=D(),o=le(a,C.input),i=le(a,C.file),s=a.querySelector(".".concat(C.range," input")),c=a.querySelector(".".concat(C.range," output")),u=le(a,C.select),d=a.querySelector(".".concat(C.checkbox," input")),f=le(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}}},ve=function(t,n){t instanceof HTMLElement?n.appendChild(t):"object"===e(t)?be(t,n):t&&K(n,t)},be=function(e,t){e.jquery?ye(t,e):K(t,e.toString())},ye=function(e,t){if(e.textContent="",0 in t)for(var n=0;n in t;n++)e.appendChild(t[n].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 n in t)if(Object.prototype.hasOwnProperty.call(t,n)&&"undefined"!==typeof e.style[n])return t[n];return!1}(),xe=function(e,t){var n=F(),r=R(),l=B();t.showConfirmButton||t.showCancelButton||ie(n),X(n,t,"actions"),ke(r,"confirm",t),ke(l,"cancel",t),t.buttonsStyling?function(e,t,n){if(ne([e,t],C.styled),n.confirmButtonColor&&(e.style.backgroundColor=n.confirmButtonColor),n.cancelButtonColor&&(t.style.backgroundColor=n.cancelButtonColor),!$()){var r=window.getComputedStyle(e).getPropertyValue("background-color");e.style.borderLeftColor=r,e.style.borderRightColor=r}}(r,l,t):(re([r,l],C.styled),r.style.backgroundColor=r.style.borderLeftColor=r.style.borderRightColor="",l.style.backgroundColor=l.style.borderLeftColor=l.style.borderRightColor=""),t.reverseButtons&&r.parentNode.insertBefore(l,r)};function ke(e,t,n){var r;se(e,n["show".concat((r=t,r.charAt(0).toUpperCase()+r.slice(1)),"Button")],"inline-block"),K(e,n["".concat(t,"ButtonText")]),e.setAttribute("aria-label",n["".concat(t,"ButtonAriaLabel")]),e.className=C[t],X(e,n,"".concat(t,"Button")),ne(e,n["".concat(t,"ButtonClass")])}var Se=function(e,t){var n=M();if(n){!function(e,t){"string"===typeof t?e.style.background=t:t||ne([document.documentElement,document.body],C["no-backdrop"])}(n,t.backdrop),!t.backdrop&&t.allowOutsideClick&&p('"allowOutsideClick" parameter requires `backdrop` parameter to be set to `true`'),function(e,t){t in C?ne(e,C[t]):(p('The "position" parameter is not valid, defaulting to "center"'),ne(e,C.center))}(n,t.position),function(e,t){if(t&&"string"===typeof t){var n="grow-".concat(t);n in C&&ne(e,C[n])}}(n,t.grow),X(n,t,"container");var r=document.body.getAttribute("data-swal2-queue-step");r&&(n.setAttribute("data-queue-step",r),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),n=Te[e.input](t,e);oe(n),setTimeout((function(){ee(n)}))},_e=function(e,t){var n=J(D(),e);if(n)for(var r in function(e){for(var t=0;tn?"".concat(t,"px"):null})).observe(e,{attributes:!0,attributeFilter:["style"]})}return e};var je=function(e,t){var n=D().querySelector("#".concat(C.content));t.html?(ve(t.html,n),oe(n,"block")):t.text?(n.textContent=t.text,oe(n,"block")):ie(n),function(e,t){var n=D(),r=Ce.innerParams.get(e),l=!r||t.input!==r.input;Oe.forEach((function(e){var r=C[e],a=le(n,r);_e(e,t.inputAttributes),a.className=r,l&&ie(a)})),t.input&&(l&&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 n=I();if(!t.progressSteps||0===t.progressSteps.length)return ie(n);oe(n),n.textContent="";var r=parseInt(void 0===t.currentProgressStep?Be():t.currentProgressStep);r>=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,l){var a=function(e){var t=document.createElement("li");return ne(t,C["progress-step"]),K(t,e),t}(e);if(n.appendChild(a),l===r&&ne(a,C["active-progress-step"]),l!==t.progressSteps.length-1){var o=function(e){var t=document.createElement("li");return ne(t,C["progress-step-line"]),e.progressStepsDistance&&(t.style.width=e.progressStepsDistance),t}(t);n.appendChild(o)}}))},ze=function(e,t){var n=z();X(n,t,"header"),Fe(0,t),function(e,t){var n=Ce.innerParams.get(e);if(n&&t.icon===n.icon&&T())X(T(),t,"icon");else if(De(),t.icon)if(-1!==Object.keys(O).indexOf(t.icon)){var r=_(".".concat(C.icon,".").concat(O[t.icon]));oe(r),Ie(r,t),Ne(),X(r,t,"icon"),ne(r,t.showClass.icon)}else h('Unknown icon! Expected "success", "error", "warning", "info" or "question", got "'.concat(t.icon,'"'))}(e,t),function(e,t){var n=N();if(!t.imageUrl)return ie(n);oe(n,""),n.setAttribute("src",t.imageUrl),n.setAttribute("alt",t.imageAlt),ae(n,"width",t.imageWidth),ae(n,"height",t.imageHeight),n.className=C.image,X(n,t,"image")}(0,t),function(e,t){var n=j();se(n,t.title||t.titleText),t.title&&ve(t.title,n),t.titleText&&(n.innerText=t.titleText),X(n,t,"title")}(0,t),function(e,t){var n=H();K(n,t.closeButtonHtml),X(n,t,"closeButton"),se(n,t.showCloseButton),n.setAttribute("aria-label",t.closeButtonAriaLabel)}(0,t)},Ue=function(e,t){e.className="".concat(C.popup," ").concat(ce(e)?t.showClass.popup:""),t.toast?(ne([document.documentElement,document.body],C["toast-shown"]),ne(e,C.toast)):ne(e,C.modal),X(e,t,"popup"),"string"===typeof t.customClass&&ne(e,t.customClass),t.icon&&ne(e,C["icon-".concat(t.icon)])},Ve=function(e,t){!function(e,t){var n=P();ae(n,"width",t.width),ae(n,"padding",t.padding),t.background&&(n.style.background=t.background),Ue(n,t)}(0,t),Se(0,t),ze(e,t),je(e,t),xe(0,t),function(e,t){var n=U();se(n,t.footer),t.footer&&ve(t.footer,n),X(n,t,"footer")}(0,t),"function"===typeof t.onRender&&t.onRender(P())},He=function(){return R()&&R().click()},We=function(){var e=P();e||dn.fire(),e=P();var t=F(),n=R();oe(t),oe(n,"inline-block"),ne([e,t],C.loading),n.disabled=!0,e.setAttribute("data-loading",!0),e.setAttribute("aria-busy",!0),e.focus()},qe={},Ge=function(){return new Promise((function(e){var t=window.scrollX,n=window.scrollY;qe.restoreFocusTimeout=setTimeout((function(){qe.previousActiveElement&&qe.previousActiveElement.focus?(qe.previousActiveElement.focus(),qe.previousActiveElement=null):document.body&&document.body.focus(),e()}),100),"undefined"!==typeof t&&"undefined"!==typeof n&&window.scrollTo(t,n)}))},$e=function(){if(qe.timeout)return function(){var e=V(),t=parseInt(window.getComputedStyle(e).width);e.style.removeProperty("transition"),e.style.width="100%";var n=parseInt(window.getComputedStyle(e).width),r=parseInt(t/n*100);e.style.removeProperty("transition"),e.style.width="".concat(r,"%")}(),qe.timeout.stop()},Ze=function(){if(qe.timeout){var e=qe.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,'"'))},nt=function(e){-1!==Je.indexOf(e)&&p('The parameter "'.concat(e,'" is incompatible with toasts'))},rt=function(e){et(e)&&g(e,et(e))},lt=Object.freeze({isValidParameter:Qe,isUpdatableParameter:function(e){return-1!==Ye.indexOf(e)},isDeprecatedParameter:et,argsToParams:function(t){var n={};return"object"!==e(t[0])||k(t[0])?["title","html","icon"].forEach((function(r,l){var a=t[l];"string"===typeof a||k(a)?n[r]=a:void 0!==a&&h("Unexpected type of ".concat(r,'! Expected "string" or "Element", got ').concat(e(a)))})):l(n,t[0]),n},isVisible:function(){return ce(P())},clickConfirm:He,clickCancel:function(){return B()&&B().click()},getContainer:M,getPopup:P,getTitle:j,getContent:D,getHtmlContainer:function(){return E(C["html-container"])},getImage:N,getIcon:T,getIcons:A,getCloseButton:H,getActions:F,getConfirmButton:R,getCancelButton:B,getHeader:z,getFooter:U,getTimerProgressBar:V,getFocusableElements:W,getValidationMessage:L,isLoading:$,fire:function(){for(var e=this,t=arguments.length,n=new Array(t),r=0;rwindow.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,n,r){n?vt(e,r):(Ge().then((function(){return vt(e,r)})),qe.keydownTarget.removeEventListener("keydown",qe.keydownHandler,{capture:qe.keydownListenerCapture}),qe.keydownHandlerAdded=!1),t.parentNode&&!document.body.getAttribute("data-swal2-queue-step")&&t.parentNode.removeChild(t),q()&&(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);re(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")}))),re([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 n=Ce.innerParams.get(this);if(n&&!Y(t,n.hideClass.popup)){var r=ft.swalPromiseResolve.get(this);re(t,n.showClass.popup),ne(t,n.hideClass.popup);var l=M();re(l,n.showClass.backdrop),ne(l,n.hideClass.backdrop),mt(this,t,n),"undefined"!==typeof e?(e.isDismissed="undefined"!==typeof e.dismiss,e.isConfirmed="undefined"===typeof e.dismiss):e={isDismissed:!0,isConfirmed:!1},r(e||{})}}}var mt=function(e,t,n){var r=M(),l=we&&de(t),a=n.onClose,o=n.onAfterClose;null!==a&&"function"===typeof a&&a(t),l?gt(e,t,r,o):pt(e,r,G(),o)},gt=function(e,t,n,r){qe.swalCloseEventFinishedCallback=pt.bind(null,e,n,G(),r),t.addEventListener(we,(function(e){e.target===t&&(qe.swalCloseEventFinishedCallback(),delete qe.swalCloseEventFinishedCallback)}))},vt=function(e,t){setTimeout((function(){"function"===typeof t&&t(),e._destroy()}))};function bt(e,t,n){var r=Ce.domCache.get(e);t.forEach((function(e){r[e].disabled=n}))}function yt(e,t){if(!e)return!1;if("radio"===e.type)for(var n=e.parentNode.parentNode.querySelectorAll("input"),r=0;r")),ge(e)}var St=function(e){var t=M(),n=P();"function"===typeof e.onBeforeOpen&&e.onBeforeOpen(n);var r=window.getComputedStyle(document.body).overflowY;Et(t,n,e),Mt(t,n),q()&&(_t(t,e.scrollbarPadding,r),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()||qe.previousActiveElement||(qe.previousActiveElement=document.activeElement),"function"===typeof e.onOpen&&setTimeout((function(){return e.onOpen(n)})),re(t,C["no-transition"])};function Ct(e){var t=P();if(e.target===t){var n=M();t.removeEventListener(we,Ct),n.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,n){!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"),ne(document.body,C.iosfix),st(),it()}}(),"undefined"!==typeof window&&ut()&&(dt(),window.addEventListener("resize",dt)),t&&"hidden"!==n&&ot(),setTimeout((function(){e.scrollTop=0}))},Et=function(e,t,n){ne(e,n.showClass.backdrop),oe(t),ne(t,n.showClass.popup),ne([document.documentElement,document.body],C.shown),n.heightAuto&&n.backdrop&&!n.toast&&ne([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,n){var r=D(),l=function(e){return Nt[n.input](r,It(e),n)};b(n.inputOptions)||w(n.inputOptions)?(We(),y(n.inputOptions).then((function(e){t.hideLoading(),l(e)}))):"object"===e(n.inputOptions)?l(n.inputOptions):h("Unexpected type of inputOptions! Expected object, Map or Promise, got ".concat(e(n.inputOptions)))},Dt=function(e,t){var n=e.getInput();ie(n),y(t.inputValue).then((function(r){n.value="number"===t.input?parseFloat(r)||0:"".concat(r),oe(n),n.focus(),e.hideLoading()})).catch((function(t){h("Error in inputValue promise: ".concat(t)),n.value="",oe(n),n.focus(),e.hideLoading()}))},Nt={select:function(e,t,n){var r=le(e,C.select),l=function(e,t,r){var l=document.createElement("option");l.value=r,K(l,t),n.inputValue.toString()===r.toString()&&(l.selected=!0),e.appendChild(l)};t.forEach((function(e){var t=e[0],n=e[1];if(Array.isArray(n)){var a=document.createElement("optgroup");a.label=t,a.disabled=!1,r.appendChild(a),n.forEach((function(e){return l(a,e[1],e[0])}))}else l(r,n,t)})),r.focus()},radio:function(e,t,n){var r=le(e,C.radio);t.forEach((function(e){var t=e[0],l=e[1],a=document.createElement("input"),o=document.createElement("label");a.type="radio",a.name=C.radio,a.value=t,n.inputValue.toString()===t.toString()&&(a.checked=!0);var i=document.createElement("span");K(i,l),i.className=C.label,o.appendChild(a),o.appendChild(i),r.appendChild(o)}));var l=r.querySelectorAll("input");l.length&&l[0].focus()}},It=function t(n){var r=[];return"undefined"!==typeof Map&&n instanceof Map?n.forEach((function(n,l){var a=n;"object"===e(a)&&(a=t(a)),r.push([l,a])})):Object.keys(n).forEach((function(l){var a=n[l];"object"===e(a)&&(a=t(a)),r.push([l,a])})),r},Lt=function(e,t){var n=function(e,t){var n=e.getInput();if(!n)return null;switch(t.input){case"checkbox":return Pt(n);case"radio":return At(n);case"file":return Tt(n);default:return t.inputAutoTrim?n.value.trim():n.value}}(e,t);t.inputValidator?(e.disableInput(),Promise.resolve().then((function(){return y(t.inputValidator(n,t.validationMessage))})).then((function(r){e.enableButtons(),e.enableInput(),r?e.showValidationMessage(r):Bt(e,t,n)}))):e.getInput().checkValidity()?Bt(e,t,n):(e.enableButtons(),e.showValidationMessage(t.validationMessage))},Rt=function(e,t){e.closePopup({value:t})},Bt=function(e,t,n){t.showLoaderOnConfirm&&We(),t.preConfirm?(e.resetValidationMessage(),Promise.resolve().then((function(){return y(t.preConfirm(n,t.validationMessage))})).then((function(t){ce(L())||!1===t?e.hideLoading():Rt(e,"undefined"===typeof t?n:t)}))):Rt(e,n)},Ft=function(e,t,n){for(var r=W(),l=0;l3&&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(cn))}l(sn.prototype,on),l(sn,lt),Object.keys(on).forEach((function(e){sn[e]=function(){var t;if(Ot)return(t=Ot)[e].apply(t,arguments)}})),sn.DismissReason=x,sn.version="9.17.2";var dn=sn;return dn.default=dn,dn}(),"undefined"!==typeof this&&this.Sweetalert2&&(this.swal=this.sweetAlert=this.Swal=this.SweetAlert=this.Sweetalert2),"undefined"!=typeof document&&function(e,t){var n=e.createElement("style");if(e.getElementsByTagName("head")[0].appendChild(n),n.styleSheet)n.styleSheet.disabled||(n.styleSheet.cssText=t);else try{n.innerHTML=t}catch(e){n.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,n){"use strict";var r=n("8e6d34d5e2b1c9c449c0");t.__esModule=!0,t.default=void 0;var l=r(n("2c62cf50f9b98ad5e2af")),a=r(n("84ed169f5b76a6b15fc0")),o=r(n("b912ecc4473ae8a2ff0b")),i=r(n("8af190b70a6bc55c6f1b")),s=n("de45080f617146192f27"),c=["bsPrefix","className","as"],u=["xl","lg","md","sm","xs"],d=i.default.forwardRef((function(e,t){var n=e.bsPrefix,r=e.className,d=e.as,f=void 0===d?"div":d,p=(0,a.default)(e,c),h=(0,s.useBootstrapPrefix)(n,"col"),m=[],g=[];return u.forEach((function(e){var t,n,r,l=p[e];if(delete p[e],"object"===typeof l&&null!=l){var a=l.span;t=void 0===a||a,n=l.offset,r=l.order}else t=l;var o="xs"!==e?"-"+e:"";t&&m.push(!0===t?""+h+o:""+h+o+"-"+t),null!=r&&g.push("order"+o+"-"+r),null!=n&&g.push("offset"+o+"-"+n)})),m.length||m.push(h),i.default.createElement(f,(0,l.default)({},p,{ref:t,className:o.default.apply(void 0,[r].concat(m,g))}))}));d.displayName="Col";var f=d;t.default=f,e.exports=t.default},"1f817169a0417ee910d8":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.getRegisteredStyles=function(e,t,n){var r="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]):r+=n+" "})),r},t.insertStyles=function(e,t,n){var r=e.key+"-"+t.name;if(!1===n&&void 0===e.registered[r]&&(e.registered[r]=t.styles),void 0===e.inserted[t.name]){var l=t;do{e.insert("."+r,l,e.sheet,!0);l=l.next}while(void 0!==l)}}},"1f9b441223cc60b0f9fa":function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r=n("8af190b70a6bc55c6f1b");var l=function(e,t){const n=(0,r.useRef)(!0);(0,r.useEffect)(()=>{if(!n.current)return e();n.current=!1},t)};t.default=l},2:function(e,t){},"202d903a0e43824101d7":function(e,t,n){"use strict";var r=n("8e6d34d5e2b1c9c449c0");t.__esModule=!0,t.useAccordionToggle=d,t.default=void 0;var l=r(n("2c62cf50f9b98ad5e2af")),a=r(n("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 n=u(t);if(n&&n.has(e))return n.get(e);var r={},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var o=l?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(r,a,o):r[a]=e[a]}r.default=e,n&&n.set(e,r);return r}(n("8af190b70a6bc55c6f1b")),i=r(n("8091d4c30d49f465376d")),s=r(n("c2943968f56ce09054de")),c=["as","children","eventKey","onClick"];function u(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(u=function(e){return e?n:t})(e)}function d(e,t){var n=(0,o.useContext)(s.default),r=(0,o.useContext)(i.default);return function(l){r&&r(e===n?null:e,l),t&&t(l)}}var f=o.default.forwardRef((function(e,t){var n=e.as,r=void 0===n?"button":n,i=e.children,s=e.eventKey,u=e.onClick,f=(0,a.default)(e,c),p=d(s,u);return"button"===r&&(f.type="button"),o.default.createElement(r,(0,l.default)({ref:t,onClick:p},f),i)}));t.default=f},"205e65e64394f925fc52":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.StreetViewPanorama=void 0;var r=h(n("4b8198349f6c2a3ff493")),l=h(n("8a4a7a62a26b8f064358")),a=h(n("acab2ae8d55fd58113d8")),o=h(n("0bf817924258aa08734c")),i=h(n("de6bd889b0c636aa995b")),s=h(n("aa675f1299ad16c8424c")),c=h(n("6a4f9c383785f9168266")),u=h(n("8af190b70a6bc55c6f1b")),d=h(n("6b6feea709b87dcc25f6")),f=n("fc3d88e1f5a42c3907f5"),p=n("ac653f9a50681d429490");function h(e){return e&&e.__esModule?e:{default:e}}var m=t.StreetViewPanorama=function(e){function t(e,n){(0,a.default)(this,t);var r=(0,i.default)(this,(t.__proto__||(0,l.default)(t)).call(this,e,n));return(0,c.default)(!!r.context[p.MAP],"Did you render as a child of with withGoogleMap() HOC?"),(0,f.construct)(t.propTypes,v,r.props,r.context[p.MAP].getStreetView()),r}return(0,s.default)(t,e),(0,o.default)(t,[{key:"getChildContext",value:function(){return(0,r.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,v,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,r.default)({},p.MAP,d.default.object),m.childContextTypes=(0,r.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"},v={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,n){"use strict";var r=n("3c4d49135b7c636621cd"),l=n("c20eeba39b976b257181"),a=n("b9ea574e55f659c4c9ac"),o=n("de14b323604f75d01ef9").parse,i=n("aed3fa28de3a4807e92c").parse;e.exports=function(e,t,n){var l=n?function(e){var t,n=e.length,r=-1,l={};for(;++r1){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=r.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=r.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=r.default.div` display: flex; flex-direction: column; `},"218c389e3d0b75bca757":function(e,t,n){"use strict";t.__esModule=!0,t.createDispatchHook=a,t.useDispatch=void 0;var r=n("085535a1e09c30d8db5e"),l=n("4760a01b6c67caab9dfd");function a(e){void 0===e&&(e=r.ReactReduxContext);var t=e===r.ReactReduxContext?l.useStore:(0,l.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 n,r=new Uint8Array(t),l=r.length,a="";for(n=0;n>2],a+=e[(3&r[n])<<4|r[n+1]>>4],a+=e[(15&r[n+1])<<2|r[n+2]>>6],a+=e[63&r[n+2]];return l%3===2?a=a.substring(0,a.length-1)+"=":l%3===1&&(a=a.substring(0,a.length-2)+"=="),a},t.decode=function(t){var n,r,l,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(n=0;n>4,d[c++]=(15&l)<<4|a>>2,d[c++]=(3&a)<<6|63&o;return u}}("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/")},"2255d654b1a6bb9f1a33":function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.setNonce=function(e){r=e},t.getNonce=function(){return r||n.nc}},"22619546b8c1d35cb39a":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("df7235aba277f4bc0911"),l=n("8af190b70a6bc55c6f1b");n("b659cc8dcea41d1ddb8f");var a=n("eea127faac582450a7f2"),o=n("1f817169a0417ee910d8"),i=n("a921b016ea7717afa2de"),s=n("8e181c90590645f113bd"),c=n("90d726db9c1d45f7279b");function u(e){return e&&e.__esModule?e:{default:e}}var d=u(r),f=u(c),p=function(e,t){var n=arguments;if(null==t||!a.hasOwnProperty.call(t,"css"))return l.createElement.apply(void 0,n);var r=n.length,o=new Array(r);o[0]=a.Emotion,o[1]=a.createEmotionProps(e,t);for(var i=2;i=n.length&&(a=0),a<0&&(a=n.length-1),n[a]},E=function(e,t){null!=e&&(v&&v(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:y,activeKey:(0,d.makeEventKey)(b),getControlledId:n||g,getControllerId:r||g}},i.default.createElement(m,(0,l.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:y}))))}));t.default=v,e.exports=t.default},"22cb086e6b19b7a0ccc1":function(e,t,n){"use strict";var r=n("8e6d34d5e2b1c9c449c0").default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){function t(t,n){var r,l,a=e(t).local(),o=e(n).local();if(!e.tz)return a.toDate().getTimezoneOffset()-o.toDate().getTimezoneOffset();var i=null!==(r=null===a||void 0===a||null===(l=a._z)||void 0===l?void 0:l.name)&&void 0!==r?r:e.tz.guess();return e.tz.zone(i).utcOffset(+a)-e.tz.zone(i).utcOffset(+o)}function n(t,n,r){var l=s(r);return[l?e(t).startOf(l):e(t),l?e(n).startOf(l):e(n),l]}function r(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=arguments.length>1?arguments[1]:void 0,r=s(n);return r?e(t).startOf(r).toDate():e(t).toDate()}function o(e,t,r){var a=n(e,t,r),o=(0,l.default)(a,3),i=o[0],s=o[1],c=o[2];return i.isSame(s,c)}function c(e,t,r){var a=n(e,t,r),o=(0,l.default)(a,3),i=o[0],s=o[1],c=o[2];return i.isSameOrBefore(s,c)}function u(t,n,r){var l=s(r);return e(t).add(n,l).toDate()}function d(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"day",l=s(r),a=e(t),o=e(n);return o.diff(a,l)}function f(t){return e(t).startOf("month").startOf("week").toDate()}function p(t){return e(t).endOf("month").endOf("week").toDate()}function h(t,n){var r=e(t),l=e(n);return e.duration(l.diff(r)).days()}return new a.DateLocalizer({formats:i,firstOfWeek:function(t){var n=t?e.localeData(t):e.localeData();return n?n.firstDayOfWeek():0},firstVisibleDay:f,lastVisibleDay:p,visibleDays:function(e){for(var t=f(e),n=p(e),r=[];c(t,n);)r.push(t),t=u(t,1,"d");return r},format:function(t,n,r){return(l=e(t),a=r,a?l.locale(a):l).format(n);var l,a},lt:function(e,t,r){var a=n(e,t,r),o=(0,l.default)(a,3),i=o[0],s=o[1],c=o[2];return i.isBefore(s,c)},lte:c,gt:function(e,t,r){var a=n(e,t,r),o=(0,l.default)(a,3),i=o[0],s=o[1],c=o[2];return i.isAfter(s,c)},gte:function(e,t,r){var a=n(e,t,r),o=(0,l.default)(a,3),i=o[0],s=o[1],c=o[2];return i.isSameOrBefore(s,c)},eq:o,neq:function(e,t,n){return!o(e,t,n)},merge:function(t,n){if(!t&&!n)return null;var r=e(n).format("HH:mm:ss"),l=e(t).startOf("day").format("MM/DD/YYYY");return e("".concat(l," ").concat(r),"MM/DD/YYYY HH:mm:ss").toDate()},inRange:function(t,n,r){var l=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"day",a=s(l),o=e(t),i=e(n),c=e(r);return o.isBetween(i,c,a,"[]")},startOf:r,endOf:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=arguments.length>1?arguments[1]:void 0,r=s(n);return r?e(t).endOf(r).toDate():e(t).toDate()},range:function(t,n){for(var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"day",l=s(r),a=e(t).toDate(),o=[];c(a,n);)o.push(a),a=u(a,1,l);return o},add:u,diff:d,ceil:function(e,t){var n=s(t),l=r(e,n);return o(l,e)?l:u(l,1,n)},min:function(t,n){var r=e(t),l=e(n);return e.min(r,l).toDate()},max:function(t,n){var r=e(t),l=e(n);return e.max(r,l).toDate()},minutes:function(t){return e(t).minutes()},getSlotDate:function(t,n,r){return e(t).startOf("day").minute(n+r).toDate()},getTimezoneOffset:function(t){return e(t).toDate().getTimezoneOffset()},getDstOffset:t,getTotalMin:function(e,t){return d(e,t,"minutes")},getMinutesFromMidnight:function(n){var r=e(n).startOf("day");return e(n).diff(r,"minutes")+function(n){return t(e(n).startOf("day"),n)}(n)},continuesPrior:function(t,n){var r=e(t),l=e(n);return r.isBefore(l,"day")},continuesAfter:function(t,n,r){var l=e(n),a=e(r);return l.isSameOrAfter(a,"minutes")},sortEvents:function(e){var t=e.evtA,n=t.start,l=t.end,a=t.allDay,o=e.evtB,i=o.start,s=o.end,c=o.allDay,u=+r(n,"day")-+r(i,"day"),d=h(n,l),f=h(i,s);return u||f-d||!!c-!!a||+n-+i||+l-+s},inEventRange:function(t){var n=t.event,r=n.start,l=n.end,a=t.range,o=a.start,i=a.end,s=e(r).startOf("day"),c=e(l),u=e(o),d=e(i),f=s.isSameOrBefore(d,"day"),p=!s.isSame(c,"minutes")?c.isAfter(u,"minutes"):c.isSameOrAfter(u,"minutes");return f&&p},isSameDate:function(t,n){var r=e(t),l=e(n);return r.isSame(l,"day")},daySpan:h,browserTZOffset:function(){var t=new Date,n=/-/.test(t.toString())?"-":"",r=t.getTimezoneOffset(),l=Number("".concat(n).concat(Math.abs(r)));return e().utcOffset()>l?1:0}})},t.formats=void 0;var l=r(n("5e4c0b3f13f7c1958b37")),a=n("6c6b4e09cc7046c0d9d7"),o=function(e,t,n){var r=e.start,l=e.end;return n.format(r,"LT",t)+" \u2013 "+n.format(l,"LT",t)},i=t.formats={dateFormat:"DD",dayFormat:"DD ddd",weekdayFormat:"ddd",selectRangeFormat:o,eventTimeRangeFormat:o,eventTimeRangeStartFormat:function(e,t,n){var r=e.start;return n.format(r,"LT",t)+" \u2013 "},eventTimeRangeEndFormat:function(e,t,n){var r=e.end;return" \u2013 "+n.format(r,"LT",t)},timeGutterFormat:"LT",monthHeaderFormat:"MMMM YYYY",dayHeaderFormat:"dddd MMM DD",dayRangeHeaderFormat:function(e,t,n){var r=e.start,l=e.end;return n.format(r,"MMMM DD",t)+" \u2013 "+n.format(l,n.eq(r,l,"month")?"DD":"MMMM DD",t)},agendaHeaderFormat:function(e,t,n){var r=e.start,l=e.end;return n.format(r,"L",t)+" \u2013 "+n.format(l,"L",t)},agendaDateFormat:"ddd MMM DD",agendaTimeFormat:"LT",agendaTimeRangeFormat:o};function s(e){var t=e?e.toLowerCase():e;return"FullYear"===t?t="year":t||(t=void 0),t}},"22d6d5fb9c90c1dcf698":function(e,t,n){"use strict";var r=n("8e6d34d5e2b1c9c449c0");t.__esModule=!0,t.default=void 0;var l=r(n("2c62cf50f9b98ad5e2af")),a=r(n("84ed169f5b76a6b15fc0")),o=r(n("b912ecc4473ae8a2ff0b")),i=r(n("8af190b70a6bc55c6f1b")),s=n("de45080f617146192f27"),c=["as","bsPrefix","className","children"],u=i.default.forwardRef((function(e,t){var n=e.as,r=void 0===n?"div":n,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(r,(0,l.default)({ref:t},p,{className:(0,o.default)(d,u)}),f)}));t.default=u,e.exports=t.default},"23b8d02be40765ac53e3":function(e,t,n){e.exports=function(e,t){"use strict";e=e&&e.hasOwnProperty("default")?e.default:e,t=t&&t.hasOwnProperty("default")?t.default:t;var n,r,l=(function(e){e.exports=function(e){function t(r){if(n[r])return n[r].exports;var l=n[r]={i:r,l:!1,exports:{}};return e[r].call(l.exports,l,l.exports,t),l.l=!0,l.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=13)}([function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t){var n=e.exports={version:"2.5.0"};"number"==typeof __e&&(__e=n)},function(e,t,n){e.exports=!n(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 n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,n){var r=n(32)("wks"),l=n(9),a=n(0).Symbol,o="function"==typeof a;(e.exports=function(e){return r[e]||(r[e]=o&&a[e]||(o?a:l)("Symbol."+e))}).store=r},function(e,t,n){var r=n(0),l=n(2),a=n(8),o=n(22),i=n(10),s=function(e,t,n){var c,u,d,f,p=e&s.F,h=e&s.G,m=e&s.S,g=e&s.P,v=e&s.B,b=h?r:m?r[t]||(r[t]={}):(r[t]||{}).prototype,y=h?l:l[t]||(l[t]={}),w=y.prototype||(y.prototype={});for(c in h&&(n=t),n)d=((u=!p&&b&&void 0!==b[c])?b:n)[c],f=v&&u?i(d,r):g&&"function"==typeof d?i(Function.call,d):d,b&&o(b,c,d,e&s.U),y[c]!=d&&a(y,c,f),g&&w[c]!=d&&(w[c]=d)};r.core=l,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,n){var r=n(16),l=n(21);e.exports=n(3)?function(e,t,n){return r.f(e,t,l(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},function(e,t,n){var r=n(24);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,l){return e.call(t,n,r,l)}}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,n){var r=n(28),l=Math.min;e.exports=function(e){return e>0?l(r(e),9007199254740991):0}},function(e,t,n){t.__esModule=!0,t.default=function(e,t){if(e&&t){var n=Array.isArray(t)?t:t.split(","),r=e.name||"",l=e.type||"",a=l.replace(/\/.*$/,"");return n.some((function(e){var t=e.trim();return"."===t.charAt(0)?r.toLowerCase().endsWith(t.toLowerCase()):t.endsWith("/*")?a===t.replace(/\/.*$/,""):l===t}))}return!0},n(14),n(34)},function(e,t,n){n(15),e.exports=n(2).Array.some},function(e,t,n){var r=n(7),l=n(25)(3);r(r.P+r.F*!n(33)([].some,!0),"Array",{some:function(e){return l(this,e,arguments[1])}})},function(e,t,n){var r=n(17),l=n(18),a=n(20),o=Object.defineProperty;t.f=n(3)?Object.defineProperty:function(e,t,n){if(r(e),t=a(t,!0),r(n),l)try{return o(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){var r=n(1);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t,n){e.exports=!n(3)&&!n(4)((function(){return 7!=Object.defineProperty(n(19)("div"),"a",{get:function(){return 7}}).a}))},function(e,t,n){var r=n(1),l=n(0).document,a=r(l)&&r(l.createElement);e.exports=function(e){return a?l.createElement(e):{}}},function(e,t,n){var r=n(1);e.exports=function(e,t){if(!r(e))return e;var n,l;if(t&&"function"==typeof(n=e.toString)&&!r(l=n.call(e)))return l;if("function"==typeof(n=e.valueOf)&&!r(l=n.call(e)))return l;if(!t&&"function"==typeof(n=e.toString)&&!r(l=n.call(e)))return l;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,n){var r=n(0),l=n(8),a=n(23),o=n(9)("src"),i=Function.toString,s=(""+i).split("toString");n(2).inspectSource=function(e){return i.call(e)},(e.exports=function(e,t,n,i){var c="function"==typeof n;c&&(a(n,"name")||l(n,"name",t)),e[t]!==n&&(c&&(a(n,o)||l(n,o,e[t]?""+e[t]:s.join(String(t)))),e===r?e[t]=n:i?e[t]?e[t]=n:l(e,t,n):(delete e[t],l(e,t,n)))})(Function.prototype,"toString",(function(){return"function"==typeof this&&this[o]||i.call(this)}))},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.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,n){var r=n(10),l=n(26),a=n(27),o=n(12),i=n(29);e.exports=function(e,t){var n=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,v=a(t),b=l(v),y=r(i,h,3),w=o(b.length),x=0,k=n?p(t,w):s?p(t,0):void 0;w>x;x++)if((f||x in b)&&(g=y(m=b[x],x,v),e))if(n)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,n){var r=n(5);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},function(e,t,n){var r=n(11);e.exports=function(e){return Object(r(e))}},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t,n){var r=n(30);e.exports=function(e,t){return new(r(e))(t)}},function(e,t,n){var r=n(1),l=n(31),a=n(6)("species");e.exports=function(e){var t;return l(e)&&("function"!=typeof(t=e.constructor)||t!==Array&&!l(t.prototype)||(t=void 0),r(t)&&null===(t=t[a])&&(t=void 0)),void 0===t?Array:t}},function(e,t,n){var r=n(5);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){var r=n(0),l=r["__core-js_shared__"]||(r["__core-js_shared__"]={});e.exports=function(e){return l[e]||(l[e]={})}},function(e,t,n){var r=n(4);e.exports=function(e,t){return!!e&&r((function(){t?e.call(null,(function(){}),1):e.call(null)}))}},function(e,t,n){n(35),e.exports=n(2).String.endsWith},function(e,t,n){var r=n(7),l=n(12),a=n(36),o="".endsWith;r(r.P+r.F*n(38)("endsWith"),"String",{endsWith:function(e){var t=a(this,e,"endsWith"),n=arguments.length>1?arguments[1]:void 0,r=l(t.length),i=void 0===n?r:Math.min(l(n),r),s=String(e);return o?o.call(t,s,i):t.slice(i-s.length,i)===s}})},function(e,t,n){var r=n(37),l=n(11);e.exports=function(e,t,n){if(r(t))throw TypeError("String#"+n+" doesn't accept regex!");return String(l(e))}},function(e,t,n){var r=n(1),l=n(5),a=n(6)("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[a])?!!t:"RegExp"==l(e))}},function(e,t,n){var r=n(6)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[r]=!1,!"/./"[e](t)}catch(e){}}return!0}}])}(n={exports:{}}),n.exports),a=(r=l)&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r,o=function(){function e(e,t){for(var n=0;n=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n},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},v={opacity:.5},b=function(t){function n(e,t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n);var r=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,(n.__proto__||Object.getPrototypeOf(n)).call(this,e,t));return r.renderChildren=function(e,t,n,l){return"function"==typeof e?e(i({},r.state,{isDragActive:t,isDragAccept:n,isDragReject:l,open:r.open})):e},r.composeHandlers=r.composeHandlers.bind(r),r.onClick=r.onClick.bind(r),r.onDocumentDrop=r.onDocumentDrop.bind(r),r.onDragEnter=r.onDragEnter.bind(r),r.onDragLeave=r.onDragLeave.bind(r),r.onDragOver=r.onDragOver.bind(r),r.onDragStart=r.onDragStart.bind(r),r.onDrop=r.onDrop.bind(r),r.onFileDialogCancel=r.onFileDialogCancel.bind(r),r.onInputElementClick=r.onInputElementClick.bind(r),r.open=r.open.bind(r),r.setRef=r.setRef.bind(r),r.setRefs=r.setRefs.bind(r),r.isFileDialogActive=!1,r.state={draggedFiles:[],acceptedFiles:[],rejectedFiles:[]},r}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)}(n,e.Component),o(n,[{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(n){e.isPropagationStopped()||t.setState({draggedFiles:n,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(n){return n!==e.target&&t.node.contains(n)})),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,n=this.props,r=n.onDrop,l=n.onDropAccepted,a=n.onDropRejected,o=n.multiple,i=n.accept,s=n.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(n){var s=[],c=[];e.isPropagationStopped()||(n.forEach((function(e){u(e,i)&&function(e,t,n){return e.size<=t&&e.size>=n}(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,n=Array(e.length);t0&&a&&a.call(t,c,e),s.length>0&&l&&l.call(t,s,e)})))}))}},{key:"onClick",value:function(e){var t=this.props,n=t.onClick,r=t.disableClick;n&&n.call(this,e),r||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,n=t.accept,r=t.acceptClassName,l=t.activeClassName,a=t.children,o=t.disabled,d=t.disabledClassName,f=t.inputProps,b=t.multiple,y=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,N=b||D<=1,I=D>0&&function(e,t){return e.every((function(e){return u(e,t)}))}(j,this.props.accept),L=D>0&&(!I||!N),R=!(O||E||S||k||_||M);T&&l&&(O+=" "+l),I&&r&&(O+=" "+r),L&&w&&(O+=" "+w),o&&d&&(O+=" "+d),R&&(E=g,S=p,k=h,_=m,M=v);var B=i({position:"relative"},E);S&&T&&(B=i({},B,S)),k&&I&&(B=i({},B,k)),_&&L&&(B=i({},B,_)),M&&o&&(B=i({},B,M));var F={accept:n,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&&b,ref:this.setRefs,onChange:this.onDrop,autoComplete:"off"};y&&y.length&&(F.name=y);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,I,L),e.createElement("input",i({},f,F)))}}]),n}();return b.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},b.defaultProps={preventDropOnDocument:!0,disabled:!1,disableClick:!1,inputProps:{},multiple:!0,maxSize:1/0,minSize:0,getDataTransferItems:function(e){var t=[];if(e.dataTransfer){var n=e.dataTransfer;n.files&&n.files.length?t=n.files:n.items&&n.items.length&&(t=n.items)}else e.target&&e.target.files&&(t=e.target.files);return Array.prototype.slice.call(t)}},b}(n("8af190b70a6bc55c6f1b"),n("57792b62cc0c61847a46"))},"23bf7e0cc0db74dfd0b7":function(e,t,n){var r,l=l||function(e){"use strict";if(!("undefined"===typeof e||"undefined"!==typeof navigator&&/MSIE [1-9]\./.test(navigator.userAgent))){var t=e.document,n=function(){return e.URL||e.webkitURL||e},r=t.createElementNS("http://www.w3.org/1999/xhtml","a"),l="download"in r,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?n().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,n){for(var r=(t=[].concat(t)).length;r--;){var l=e["on"+t[r]];if("function"===typeof l)try{l.call(e,n||e)}catch(e){i(e)}}}(p,"writestart progress write writeend".split(" "))};if(p.readyState=p.INIT,l)return f=n().createObjectURL(t),void setTimeout((function(){var e,t;r.href=f,r.download=u,e=r,t=new MouseEvent("click"),e.dispatchEvent(t),m(),s(f),p.readyState=p.DONE}));!function(){if((o||h&&a)&&e.FileReader){var r=new FileReader;return r.onloadend=function(){var t=o?r.result:r.result.replace(/^data:[^;]*;/,"data:attachment/file;");e.open(t,"_blank")||(e.location.href=t),t=void 0,p.readyState=p.DONE,m()},r.readAsDataURL(t),void(p.readyState=p.INIT)}(f||(f=n().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,n){return t=t||e.name||"download",n||(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,n){return new u(e,t||e.name||"download",n)})}}("undefined"!==typeof self&&self||"undefined"!==typeof window&&window||this.content);e.exports?e.exports.saveAs=l:null!==n("30d1801ce607fbf6870f")&&null!==n("8d79a051c62e24e12733")&&(void 0===(r=function(){return l}.call(t,n,t,e))||(e.exports=r))},"23dca248e5c8291d27de":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.renderCar=void 0;var r=n("98bae3dbabd51089d613"),l=r.__importStar(n("8af190b70a6bc55c6f1b")),a=n("8af190b70a6bc55c6f1b");t.renderCar=function(e,t){function n(t){var n=t.stateRef,o=t.props,i=(0,a.useCallback)((function(){for(var e=[],t=0;tb(new Date)),V=r.useRef(null),H=!!t,W=h(),q=!H&&m(E,W),G=Array.isArray(n)&&n.length>0,$=c.map((e,t)=>f(e,s[t])),Z=u.map((e,t)=>f(e,d[t])),K=r.useMemo(()=>function(e){const t=function(e){const t=new Date(e);t.setHours(0,0,0,0);const n=t.getDay();return t.setDate(t.getDate()+(0===n?-6:1-n)),t}(new Date(e.getFullYear(),e.getMonth(),1));return Array.from({length:42},(e,n)=>{const r=new Date(t);return r.setDate(t.getDate()+n),r})}(z),[z]),Y=f("lunch","Lunch"),X=f("dinner","Dinner"),J=f("customHours","Custom hours"),Q=f("setManually","Set manually"),ee=r.useMemo(()=>function(e,t){const n=function(e){const t=v(e);return t?(t.getDay()+6)%7:null}(t);return null===n?[]:function(e){const t=[];return(e||[]).forEach(e=>{e&&Number.isFinite(e.start)&&Number.isFinite(e.end)&&e.end>e.start&&t.push(e)}),t.sort((e,t)=>e.start-t.start)}(null===e||void 0===e?void 0:e[n])}(n,E),[n,E]),te=r.useCallback(e=>"lunch"===e?{emoji:"\ud83c\udf1e",label:Y,title:f("lunchOnly","Lunch only")}:{emoji:"\ud83c\udf19",label:X,title:f("dinnerOnly","Dinner only")},[Y,X]),ne=r.useMemo(()=>{if(!E)return[];const e=ee.slice(0,2);return e.map((t,n)=>{const r=k(t,n,e.length),l=te(r),a=w(t.start),o=w(t.end),i=`${a} \u2013 ${o}`;return{key:r,title:l.title,sub:i,startMs:t.start,endMs:t.end,startTime:a,endTime:o,label:l.label,range:i,emoji:l.emoji}})},[E,ee,te]),re=r.useMemo(()=>({key:"custom",title:J,sub:Q}),[J,Q]),le=r.useMemo(()=>E?[...ne,re]:[],[E,ne,re]),ae=("lunch"===A||"dinner"===A)&&ne.find(e=>e.key===A)||null,oe=x(j),ie=x(N),se=r.useMemo(()=>{if("custom"!==A)return null;if(!E)return f("selectDateForClosureHours","Select a date to view available hours.");if(null===oe||null===ie||ie<=oe)return f("invalidCustomClosureRange","End time must be after start time.");if(!G)return f("closureHoursUnavailable","Volup operating hours are not available for this date.");if(0===ee.length)return f("noVolupOperatingHoursForClosureDate","Volup does not operate on the selected date.");return ee.some(e=>oe>=e.start&&ie<=e.end)?null:f("customClosureOutsideOperatingHours","Custom hours must be within Volup operating hours for the selected date.")},[A,E,oe,ie,G,ee]),ce=Boolean(E&&A&&!q&&("custom"===A?!se:ae)),ue=()=>{P(""),T(null),D("00:00"),I("00:00"),R(""),F(!1)},de=()=>{ue(),p()},fe=e=>{const t=h(e);!H&&m(t,W)||((e=>{if(!e)return P(""),void T(null);if(!H&&m(e,W))return;P(e);const t=v(e);t&&U(b(t))})(t),F(!1))};r.useEffect(()=>{if(!e||!B)return;const t=e=>{const t=e.target;V.current&&t instanceof Node&&!V.current.contains(t)&&F(!1)};return document.addEventListener("mousedown",t),()=>document.removeEventListener("mousedown",t)},[e,B]),r.useEffect(()=>{if(e&&t){P(t.date||""),R(t.reason||"");const e=t.startDatetime?g(t.startDatetime):"",n=t.endDatetime?g(t.endDatetime):"";T("custom"),D(e||"00:00"),I(n||"00:00")}else e&&!t&&ue()},[e,t]),r.useEffect(()=>{if(!e||!t)return;const n=t.startDatetime?g(t.startDatetime):"",r=t.endDatetime?g(t.endDatetime):"",l=ne.find(e=>e.startTime===n&&e.endTime===r);T(l?l.key:"custom"),D(n||(ee[0]?w(ee[0].start):"00:00")),I(r||(ee[0]?w(ee[0].end):"00:00"))},[e,t,ne,ee]),r.useEffect(()=>{if(!e||H||!E)return;const t=ee[0];D(t?w(t.start):"00:00"),I(t?w(t.end):"00:00")},[e,H,E,ee]),r.useEffect(()=>{e&&E&&A&&"custom"!==A&&(ne.some(e=>e.key===A)||T(null))},[e,E,A,ne]);const pe=(()=>{if(!A)return[];if("lunch"===A||"dinner"===A){if(!ae)return[];return[{key:"dinner"===ae.key?"dinner":"lunch",emoji:ae.emoji||"",label:ae.label||"",range:ae.range||ae.sub}]}if(null===oe||null===ie||ie<=oe)return[];const e=[];return ee.forEach((t,n)=>{if(oe>=t.end||ie<=t.start)return;const r=k(t,n,ee.length),l=te(r);e.push({key:r,emoji:l.emoji,label:l.label,range:`${w(t.start)} \u2013 ${w(t.end)}`})}),e})();return e?r.createElement("div",{className:"fixed! inset-0! bg-black/70! z-1300! flex! items-center! justify-center!",onClick:e=>{e.target===e.currentTarget&&de()}},r.createElement("div",{className:"bg-white! border! border-border-default! rounded-[12px]! w-105! p-5! overflow-visible! shadow-modal!"},r.createElement("div",{className:"text-[15px]! font-semibold! text-text-dark! mb-1.5!"},H?f("editClosure","Edit closure"):f("scheduleClosureTitle",f("scheduleClosure","Schedule a closure"))),r.createElement("div",{className:"text-[12px]! text-text-faint! mb-5!"},H?f("editClosureDescription","Update the closure period for this date."):f("scheduleClosureDescription","The restaurant will appear unavailable for the selected period.")),r.createElement("div",{className:"flex! items-center! gap-2! mb-2! mt-1.5!"},r.createElement("span",{className:M},f("closureStep1","STEP 1")),r.createElement("span",{className:"text-[11px]! font-semibold! text-text-dark! shrink-0! whitespace-nowrap!"},(null===(C=a.default.fields)||void 0===C?void 0:C.date)||"Date")),r.createElement("div",{ref:V,className:(0,o.cn)("mb-4! relative!",H&&"pointer-events-none! opacity-60!")},r.createElement("button",{type:"button",className:(0,o.cn)(i.INPUT_BASE_MODAL,"flex! items-center! gap-2! cursor-pointer! select-none! text-left!"),onClick:()=>{if(H)return;const e=v(E);U(b(e||new Date)),F(!0)}},r.createElement("span",{className:"flex-1!",style:{color:E?"#1e2030":"#9a9ab0"}},E?function(e,t=s){if(!e)return"";const[n,r,l]=e.split("-");return`${parseInt(l,10)} ${t[parseInt(r,10)-1]||s[parseInt(r,10)-1]} ${n}`}(E,$):f("selectDatePlaceholder","Select a date...")),r.createElement(l.Calendar,{size:16,className:"text-text-faint! shrink-0!"})),B&&r.createElement("div",{className:"absolute! left-0! top-[calc(100%+4px)]! z-1400! w-64! rounded-input! border! border-border-default! bg-white! shadow-[0_12px_36px_rgba(30,32,48,.16)]! overflow-hidden! font-[Poppins,sans-serif]!"},r.createElement("div",{className:"flex! items-center! justify-between! bg-surface-accent! border-b! border-border-default! p-[7px_10px]!"},r.createElement("div",{className:"text-[12px]! font-semibold! text-text-dark! leading-none!"},$[z.getMonth()]," ",z.getFullYear()),r.createElement("div",{className:"flex! items-center! gap-1!"},r.createElement("button",{type:"button",className:"inline-flex! h-6! w-6! items-center! justify-center! rounded-md! border! border-transparent! bg-transparent! text-text-dim! cursor-pointer! hover:bg-white! hover:border-border-default! hover:text-volup! transition-colors! duration-150!","aria-label":f("calendarPreviousMonth","Previous month"),onClick:()=>U(e=>y(e,-1))},r.createElement(l.ChevronLeft,{size:16})),r.createElement("button",{type:"button",className:"inline-flex! h-6! w-6! items-center! justify-center! rounded-md! border! border-transparent! bg-transparent! text-text-dim! cursor-pointer! hover:bg-white! hover:border-border-default! hover:text-volup! transition-colors! duration-150!","aria-label":f("calendarNextMonth","Next month"),onClick:()=>U(e=>y(e,1))},r.createElement(l.ChevronRight,{size:16})))),r.createElement("div",{className:"grid! grid-cols-7! bg-white! border-b! border-border-default!"},Z.map(e=>r.createElement("div",{key:e,className:"h-6! flex! items-center! justify-center! text-[9px]! font-semibold! text-text-faint! uppercase! tracking-[.06em]!"},e))),r.createElement("div",{className:"grid! grid-cols-7! gap-0.5! p-[6px_9px_8px]! bg-white!"},K.map(e=>{const t=h(e),n=e.getMonth()===z.getMonth(),l=t===E,a=t===W,i=!H&&m(t,W);return r.createElement("button",{key:t,type:"button",disabled:i,className:(0,o.cn)("h-6! w-6! rounded-full! inline-flex! items-center! justify-center! text-[11px]! font-semibold! border! border-transparent! transition-colors! duration-150! font-[Poppins,sans-serif]!",l&&"bg-volup! border-volup! text-white!",!l&&a&&"bg-[#6c63ff12]! text-volup!",!l&&n&&!a&&"text-text-dark!",!l&&!n&&"text-text-faint! opacity-70!",!i&&!l&&"cursor-pointer! hover:bg-[#6c63ff12]! hover:text-volup!",i&&"cursor-not-allowed! text-[#C9C9D8]! opacity-60!"),onClick:()=>fe(e)},e.getDate())})),r.createElement("div",{className:"flex! justify-end! border-t! border-border-default! bg-surface-accent! p-[5px_8px]!"},r.createElement("button",{type:"button",className:"text-[11px]! font-semibold! text-volup! bg-transparent! border-none! cursor-pointer! px-2! py-1! rounded-[5px]! hover:bg-[#6c63ff12]! transition-colors! duration-150! font-[Poppins,sans-serif]!",onClick:()=>fe(new Date)},f("today","Today"))))),E&&r.createElement(r.Fragment,null,r.createElement("div",{className:"flex! items-center! gap-2! mb-2.5!"},r.createElement("span",{className:M},f("closureStep2","STEP 2")),r.createElement("span",{className:"text-[11px]! font-semibold! text-text-dark! shrink-0! whitespace-nowrap!"},f("whatToClose","What to close")),!A&&r.createElement("span",{className:"text-[10px]! text-text-faint! ml-1! min-w-0! flex-1!"},f("selectOneToContinue","\u2014 select one to continue"))),!G&&r.createElement("div",{className:"rounded-lg! border! border-[#f59e0b44]! bg-amber-50! p-[10px_12px]! mb-3.5! text-[11px]! text-[#92400e]! leading-normal!"},f("closureHoursUnavailable","Volup operating hours are not available for this date.")),G&&0===ee.length&&r.createElement("div",{className:"rounded-lg! border! border-[#f59e0b44]! bg-amber-50! p-[10px_12px]! mb-3.5! text-[11px]! text-[#92400e]! leading-normal!"},f("noVolupOperatingHoursForClosureDate","Volup does not operate on the selected date.")),le.length>0&&r.createElement("div",{className:"flex! gap-2! mb-3.5!"},le.map(e=>r.createElement("button",{key:e.key,className:(0,o.cn)("flex-1! p-[10px_12px]! rounded-lg! border! border-border-default! bg-surface-accent! cursor-pointer! transition-all! duration-150! text-text-dim! font-[inherit]! text-center!","hover:border-[#6c63ff55]! hover:text-text-dark!",A===e.key&&"border-volup! bg-[#6c63ff12]! text-volup!"),onClick:()=>T(e.key)},r.createElement("div",{className:"text-[12px]! font-semibold!"},e.title),r.createElement("div",{className:"text-[10px]! opacity-70! mt-0.5!"},e.sub))))),"custom"===A&&r.createElement(r.Fragment,null,r.createElement("div",{className:"flex! gap-4! mb-2!"},r.createElement(_,{label:f("from","FROM"),value:j,onChange:D}),r.createElement(_,{label:f("until","UNTIL"),value:N,onChange:I})),se&&r.createElement("div",{className:"rounded-lg! border! border-[#f59e0b44]! bg-amber-50! p-[8px_10px]! mb-3.5! text-[11px]! text-[#92400e]! leading-normal!"},se)),pe.length>0&&r.createElement("div",{className:"bg-[#FFF4F4]! border! border-[#fecaca]! rounded-lg! p-[10px_14px]! mb-3.5!"},r.createElement("div",{className:"text-[9px]! font-bold! text-[#B45309]! uppercase! tracking-[.07em]! mb-2!"},f("shiftsSuspendedDuringClosure","SHIFTS SUSPENDED DURING CLOSURE")),r.createElement("div",{className:"flex! flex-col! gap-1.5!"},pe.map((e,t)=>r.createElement("div",{key:t,className:"flex! items-center! gap-2!"},r.createElement("span",{className:"w-2! h-2! rounded-full! shrink-0!",style:{background:"lunch"===e.key?"#6c63ff":"#29244C"}}),r.createElement("span",{className:"text-[14px]! leading-none!"},e.emoji),r.createElement("span",{className:"text-[12px]! font-semibold! text-text-dark!"},e.label),r.createElement("span",{className:"text-[12px]! text-[#6B7280]! ml-0.5!"},e.range))))),r.createElement("div",{className:"mb-3.5!"},r.createElement("div",{className:(0,o.cn)(O,"mb-1.5!")},f("reason","Reason")," ",r.createElement("span",{className:"normal-case! tracking-normal! font-normal! text-text-faint!"},"(",f("optional","optional"),")")),r.createElement("input",{className:i.INPUT_BASE_MODAL,type:"text",placeholder:f("reasonPlaceholder","e.g. Special event, renovation, holiday..."),value:L,onChange:e=>R(e.target.value)})),r.createElement("div",{className:"bg-amber-50! border! border-[#f59e0b44]! rounded-lg! p-[10px_12px]! flex! gap-2.5! items-start! mb-4! text-[11px]! text-[#92400e]! leading-normal!"},r.createElement("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"#d97706",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"shrink-0! mt-px!"},r.createElement("path",{d:"M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z"}),r.createElement("line",{x1:"12",y1:"9",x2:"12",y2:"13"}),r.createElement("line",{x1:"12",y1:"17",x2:"12.01",y2:"17"})),r.createElement("span",null,f("closureWarningPrefix","The partner's unavailability to receive orders is "),r.createElement("strong",null,f("closureWarningStrong","automatically deactivated")),f("closureWarningSuffix"," when the scheduled closure ends."))),r.createElement("div",{className:"flex! justify-end! gap-2! pt-4! border-t! border-surface-border! mt-1!"},r.createElement("button",{className:"inline-flex! items-center! justify-center! rounded-[7px]! border! border-border-default! bg-transparent! text-text-dim! px-3.5! py-1.5! text-[12px]! font-medium! cursor-pointer! hover:bg-surface-accent! hover:text-text-dark! transition-all! duration-150! font-[inherit]!",onClick:de},function(e,t){var n;const r=null===(n=a.default.generic)||void 0===n?void 0:n[e];return"string"===typeof r?r:t}("cancel","Cancel")),r.createElement("button",{className:"inline-flex! items-center! justify-center! rounded-[7px]! bg-volup! text-white! px-3.5! py-1.5! text-[12px]! font-medium! cursor-pointer! hover:bg-volup-hover! transition-all! duration-150! font-[inherit]! border-none! disabled:opacity-35! disabled:cursor-not-allowed!",disabled:!ce,onClick:()=>{const e=A;if(!E||!e||q)return;let t,n,r,l;if("custom"===e){if(se||null===oe||null===ie)return;t=oe,n=ie,r=j,l=N}else ae&&(t=ae.startMs,n=ae.endMs,r=ae.startTime,l=ae.endTime);if(void 0===t||void 0===n||!r||!l)return;const a={date:E,scope:e,startTime:r,endTime:l,startMs:t,endMs:n,reason:L||void 0};"custom"===e&&(a.customStart=r,a.customEnd=l);S(a),ue()}},H?f("updateClosure","Update closure"):f("scheduleClosure","Schedule 1-off closure"))))):null};const r=n("8af190b70a6bc55c6f1b"),l=n("61c3f09dcc5353fc893d"),a=n("420b4cd91681830b3acc"),o=n("486df73e776ca2f8b99b"),i=n("fe2271b04a464f3f88cf"),s=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],c=["monthJanShort","monthFebShort","monthMarShort","monthAprShort","monthMayShort","monthJunShort","monthJulShort","monthAugShort","monthSepShort","monthOctShort","monthNovShort","monthDecShort"],u=["dayMonShort","dayTueShort","dayWedShort","dayThuShort","dayFriShort","daySatShort","daySunShort"],d=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"];function f(e,t){var n;const r=null===(n=a.default.weekSchedule)||void 0===n?void 0:n[e];return"string"===typeof r?r:t}function p(e){return String(e).padStart(2,"0")}function h(e=new Date){return`${e.getFullYear()}-${p(e.getMonth()+1)}-${p(e.getDate())}`}function m(e,t){return/^\d{4}-\d{2}-\d{2}$/.test(e)&&e24||r<0||r>59||24===n&&0!==r?null:6e4*(60*n+r)}function k(e,t,n){return 1===n||t>1?e.start<612e5?"lunch":"dinner":0===t?"lunch":"dinner"}const S=Array.from({length:24},(e,t)=>t),C=[0,15,30,45],O="block! text-[11px]! text-[#666]! uppercase! tracking-[.04em]! font-medium! mb-1.5!",M="inline-flex! items-center! justify-center! w-fit! text-[10px]! font-semibold! text-volup! bg-[#6c63ff12]! rounded-[4px]! px-[7px]! py-[2px]! tracking-[.04em]! shrink-0! whitespace-nowrap! leading-none!";function _({label:e,value:t,onChange:n}){const l=t.split(":"),a=parseInt(l[0]||"0",10),s=parseInt(l[1]||"0",10);return r.createElement("div",{className:"flex! flex-col!"},r.createElement("div",{className:O},e),r.createElement("div",{className:"flex! items-center! gap-1.5!"},r.createElement("select",{className:(0,o.cn)(i.INPUT_BASE_MODAL,"w-16!"),value:a,onChange:e=>n(`${p(parseInt(e.target.value,10))}:${p(s)}`)},S.map(e=>r.createElement("option",{key:e,value:e},p(e)))),r.createElement("span",{className:"text-[16px]! font-semibold! text-text-dim! leading-none!"},":"),r.createElement("select",{className:(0,o.cn)(i.INPUT_BASE_MODAL,"w-16!"),value:s,onChange:e=>n(`${p(a)}:${p(parseInt(e.target.value,10))}`)},C.map(e=>r.createElement("option",{key:e,value:e},p(e))))))}},"25ed8a7e5f9ac6173f16":function(e,t,n){var r=n("a4675fb50eac129dc944"),l=n("ee5b68c26f3207524545"),a=n("7de3d3dc857c22a8e56c"),o=n("e1a99efb709381c274a3"),i=n("b6f60c662dfc7fd636ab"),s=n("29796ead6add2b5f83ec")("socket.io-client:socket"),c=n("914fa8fb6a3809239920"),u=n("e2050712f12e30dc752a");e.exports=p;var d={connect:1,connect_error:1,connect_timeout:1,connecting:1,disconnect:1,error:1,reconnect:1,reconnect_attempt:1,reconnect_failed:1,reconnect_error:1,reconnecting:1,ping:1,pong:1},f=l.prototype.emit;function p(e,t,n){this.io=e,this.nsp=t,this.json=this,this.ids=0,this.acks={},this.receiveBuffer=[],this.sendBuffer=[],this.connected=!1,this.disconnected=!0,this.flags={},n&&n.query&&(this.query=n.query),this.io.autoConnect&&this.open()}l(p.prototype),p.prototype.subEvents=function(){if(!this.subs){var e=this.io;this.subs=[o(e,"open",i(this,"onopen")),o(e,"packet",i(this,"onpacket")),o(e,"close",i(this,"onclose"))]}},p.prototype.open=p.prototype.connect=function(){return this.connected||(this.subEvents(),this.io.reconnecting||this.io.open(),"open"===this.io.readyState&&this.onopen(),this.emit("connecting")),this},p.prototype.send=function(){var e=a(arguments);return e.unshift("message"),this.emit.apply(this,e),this},p.prototype.emit=function(e){if(d.hasOwnProperty(e))return f.apply(this,arguments),this;var t=a(arguments),n={type:(void 0!==this.flags.binary?this.flags.binary:u(t))?r.BINARY_EVENT:r.EVENT,data:t,options:{}};return n.options.compress=!this.flags||!1!==this.flags.compress,"function"===typeof t[t.length-1]&&(s("emitting packet with ack id %d",this.ids),this.acks[this.ids]=t.pop(),n.id=this.ids++),this.connected?this.packet(n):this.sendBuffer.push(n),this.flags={},this},p.prototype.packet=function(e){e.nsp=this.nsp,this.io.packet(e)},p.prototype.onopen=function(){if(s("transport is open - connecting"),"/"!==this.nsp)if(this.query){var e="object"===typeof this.query?c.encode(this.query):this.query;s("sending connect packet with query %s",e),this.packet({type:r.CONNECT,query:e})}else this.packet({type:r.CONNECT})},p.prototype.onclose=function(e){s("close (%s)",e),this.connected=!1,this.disconnected=!0,delete this.id,this.emit("disconnect",e)},p.prototype.onpacket=function(e){var t=e.nsp===this.nsp,n=e.type===r.ERROR&&"/"===e.nsp;if(t||n)switch(e.type){case r.CONNECT:this.onconnect();break;case r.EVENT:case r.BINARY_EVENT:this.onevent(e);break;case r.ACK:case r.BINARY_ACK:this.onack(e);break;case r.DISCONNECT:this.ondisconnect();break;case r.ERROR:this.emit("error",e.data)}},p.prototype.onevent=function(e){var t=e.data||[];s("emitting event %j",t),null!=e.id&&(s("attaching ack callback to event"),t.push(this.ack(e.id))),this.connected?f.apply(this,t):this.receiveBuffer.push(t)},p.prototype.ack=function(e){var t=this,n=!1;return function(){if(!n){n=!0;var l=a(arguments);s("sending ack %j",l),t.packet({type:u(l)?r.BINARY_ACK:r.ACK,id:e,data:l})}}},p.prototype.onack=function(e){var t=this.acks[e.id];"function"===typeof t?(s("calling ack %s with %j",e.id,e.data),t.apply(this,e.data),delete this.acks[e.id]):s("bad ack %s",e.id)},p.prototype.onconnect=function(){this.connected=!0,this.disconnected=!1,this.emit("connect"),this.emitBuffered()},p.prototype.emitBuffered=function(){var e;for(e=0;e1?t-1:0),r=1;r{t.current=e}),t.current};var r=n("8af190b70a6bc55c6f1b")},"268d258ba689234fe159":function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r,l=n("eb58b4d2a94f2b3acd1c"),a=n("51d636e65fdd529182fb"),o=n("df9798647b795ac4104d"),i=n("5a0f6c32a53fabb68294"),s=n("581136af17f19bd4b79b"),c=n("dd3b0fd7b2328029b153"),u=n("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 n=[],r=0;r2?t[2]:void 0;if(l){var a=r,o=String(l);r=o,m("history",{from:a,to:o})}return e.apply(this,t)}}d.onpopstate=function(){for(var t=[],n=0;n1)for(var n=1;n0&&void 0!==arguments[0]&&arguments[0];this.intervalTriggered||t||this.positionTimeIndicator(),this._timeIndicatorTimeout=window.setTimeout((function(){e.intervalTriggered=!0,e.positionTimeIndicator(),e.setTimeIndicatorPositionUpdateInterval()}),6e4)}},{key:"clearTimeIndicatorInterval",value:function(){this.intervalTriggered=!1,window.clearTimeout(this._timeIndicatorTimeout)}},{key:"positionTimeIndicator",value:function(){var e=this.props,t=e.min,n=e.max,r=(0,e.getNow)();if(r>=t&&r<=n){var l=this.slotMetrics.getCurrentTimePosition(r);this.intervalTriggered=!0,this.setState({timeIndicatorPosition:l})}else this.clearTimeIndicatorInterval()}},{key:"render",value:function(){var e=this.props,t=e.date,n=e.max,r=e.rtl,l=e.isNow,o=e.resource,i=e.accessors,s=e.localizer,c=e.getters,u=c.dayProp,p=(0,a.default)(c,x),h=e.components,m=h.eventContainerWrapper,g=h.timeIndicatorWrapper,v=(0,a.default)(h,k);this.slotMetrics=this.slotMetrics.update(this.props);var y=this.slotMetrics,S=this.state,C=S.selecting,O=S.top,M=S.height,_={start:S.startDate,end:S.endDate},E=u(n,o),P=E.className,A=E.style,T={className:"rbc-current-time-indicator",style:{top:"".concat(this.state.timeIndicatorPosition,"%")}},j=v.dayColumnWrapper||w.default;return d.default.createElement(j,{ref:this.containerRef,date:t,style:A,className:(0,f.default)(P,"rbc-day-slot","rbc-time-column",l&&"rbc-now",l&&"rbc-today",C&&"rbc-slot-selecting"),slotMetrics:y,resource:o},y.groups.map((function(e,t){return d.default.createElement(b.default,{key:t,group:e,resource:o,getters:p,components:v})})),d.default.createElement(m,{localizer:s,resource:o,accessors:i,getters:p,components:v,slotMetrics:y},d.default.createElement("div",{className:(0,f.default)("rbc-events-container",r&&"rtl")},this.renderEvents({events:this.props.backgroundEvents,isBackgroundEvent:!0}),this.renderEvents({events:this.props.events}))),C&&d.default.createElement("div",{className:"rbc-slot-selection",style:{top:O,height:M}},d.default.createElement("span",null,s.format(_,"selectRangeFormat"))),l&&this.intervalTriggered&&d.default.createElement(g,T,d.default.createElement("div",T)))}}])}(d.default.Component);S.defaultProps={dragThroughEvents:!0,timeslots:2};t.default=S},"279657db640a35c90ce7":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MonthCalendar=function({schedule:e,monthDate:t,closures:n=[],activeOverrides:l=[],onShiftDoubleClick:s,onDayClick:m,onOverrideClick:g}){const v=t.getFullYear(),b=t.getMonth(),y=new Date;y.setHours(0,0,0,0);const w=y.getTime(),x=function(e,t){const n=new Date(e,t,1),r=new Date(e,t+1,0),l=function(e){const t=new Date(e);t.setHours(0,0,0,0);const n=t.getDay(),r=0===n?-6:1-n;return t.setDate(t.getDate()+r),t}(n),a=p(r),o=new Date(r);o.setDate(r.getDate()+(6-a));const i=[],s=new Date(l);for(;s<=o;)i.push(new Date(s)),s.setDate(s.getDate()+1);return i}(v,b),k=r.useMemo(()=>{const e={};for(const t of n){const n=c(t.date);e[n]||(e[n]=[]),e[n].push(t)}return e},[n]),S=r.useMemo(()=>{const e={};for(const t of l){if(!t||!t.date)continue;const n=u(t),r=d(t);0!==r.length&&(e[n]||(e[n]=[]),e[n].push(...r))}return e},[l]),C=[];for(let e=0;er.createElement("div",{key:e,className:"py-2 text-center text-[10px]! font-medium text-text-faint uppercase tracking-[.07em] border-r border-surface-border last:border-r-0"},e))),r.createElement("div",null,C.map((t,n)=>r.createElement("div",{key:n,className:(0,a.cn)("grid grid-cols-7",n{var l;const o=t.getMonth()===b,u=t.getTime()===w,d=p(t),v=(null===(l=null===e||void 0===e?void 0:e[d])||void 0===l?void 0:l.timeSlots)||[],y=c(t),x=k[y]||[],C=S[y]||[];return r.createElement("div",{key:n,className:(0,a.cn)("min-h-25! p-[6px_6px_4px]! flex flex-col gap-0.75! border-r border-surface-border last:border-r-0",!o&&"bg-surface-muted/50",o&&m&&"cursor-pointer! hover:bg-surface-accent/30! transition-colors! duration-100!"),onClick:()=>o&&(null===m||void 0===m?void 0:m(t))},r.createElement("div",{className:"flex justify-start mb-0.5!"},r.createElement("span",{className:(0,a.cn)("text-[12px]! font-semibold leading-none w-5.5! h-5.5! flex items-center justify-center rounded-full",u?"bg-volup text-white":o?"text-text-dark":"text-text-faint")},t.getDate())),o&&r.createElement(r.Fragment,null,v.map((e,n)=>r.createElement(h,{key:n,slot:e,date:t,onDoubleClick:s})),x.map((e,t)=>r.createElement("div",{key:"cl-"+t,className:"flex items-center gap-0.75! rounded-sm! px-1.5! py-0.5! text-[10px]! font-medium bg-closure border border-closure-border text-text-dim truncate"},r.createElement("span",{className:"text-[9px]!"},"\u26d4"),r.createElement("span",null,e.label||i("closure","One-off closure")))),C.map((e,n)=>r.createElement("div",{key:"ov-"+String(e.visualKey||e.scheduledTimeId||e._id||n),className:"flex items-center gap-0.75! rounded-sm! px-1.5! py-0.5! text-[10px]! font-medium bg-closure border border-closure-border text-text-dim truncate cursor-pointer hover:brightness-95 transition-all duration-100",title:f(e),onClick:n=>{n.stopPropagation();const r=n.currentTarget.getBoundingClientRect();null===g||void 0===g||g(e,t,r)}},r.createElement("span",{className:"text-[9px]!"},"\u26d4"),r.createElement("span",null,i("closure","One-off closure"))))))})))))};const r=n("8af190b70a6bc55c6f1b"),l=n("420b4cd91681830b3acc"),a=n("486df73e776ca2f8b99b"),o=["MON","TUE","WED","THU","FRI","SAT","SUN"];function i(e,t){var n;return String((null===(n=l.default.weekSchedule)||void 0===n?void 0:n[e])||t)}function s(e){const t=Math.floor(e/36e5),n=Math.floor(e%36e5/6e4);return`${String(t).padStart(2,"0")}:${String(n).padStart(2,"0")}`}function c(e){return`${e.getFullYear()}-${String(e.getMonth()+1).padStart(2,"0")}-${String(e.getDate()).padStart(2,"0")}`}function u(e){const t=String(e.date||"");return t.includes("T")?t.slice(0,10):t}function d(e){var t;const n=(null===(t=e.scheduledTimes)||void 0===t?void 0:t.length)?e.scheduledTimes:null;return n?n.filter(e=>e&&!1!==e.isActive).map((t,n)=>{var r,l,a,o,i,s;return Object.assign(Object.assign({},e),{_id:e._id,overrideId:e._id,scheduledTimeId:t._id,visualKey:`${e._id}-${String(t._id||n)}`,date:e.date,type:t.type||e.type,reason:null!==(r=t.reason)&&void 0!==r?r:e.reason,startDatetime:null!==(l=t.startDatetime)&&void 0!==l?l:e.startDatetime,endDatetime:null!==(a=t.endDatetime)&&void 0!==a?a:e.endDatetime,customSlots:null!==(o=t.customSlots)&&void 0!==o?o:[],slotActions:null!==(i=t.slotActions)&&void 0!==i?i:[],originalScheduleSnapshot:null!==(s=t.originalScheduleSnapshot)&&void 0!==s?s:[],isActive:!1!==t.isActive,scheduledTimes:void 0})}):!1===e.isActive?[]:[Object.assign(Object.assign({},e),{overrideId:e.overrideId||e._id,visualKey:String(e.visualKey||e._id)})]}function f(e){var t,n,r,l;const a=(null===(t=e.startDatetime)||void 0===t?void 0:t.includes("T"))?null===(n=e.startDatetime.split("T")[1])||void 0===n?void 0:n.slice(0,5):void 0,o=(null===(r=e.endDatetime)||void 0===r?void 0:r.includes("T"))?null===(l=e.endDatetime.split("T")[1])||void 0===l?void 0:l.slice(0,5):void 0;return[a&&o?`${a}\u2013${o}`:"",e.reason].filter(Boolean).join(" \xb7 ")||i("closure","One-off closure")}function p(e){const t=e.getDay();return 0===t?6:t-1}function h({slot:e,date:t,onDoubleClick:n}){const l=r=>{r.stopPropagation(),null===n||void 0===n||n(e,t,r.currentTarget.getBoundingClientRect())};if(e.isClosure)return r.createElement("div",{className:"flex items-center gap-0.75! rounded-sm! px-1.5! py-0.5! text-[10px]! font-medium bg-closure border border-closure-border text-text-dim truncate cursor-pointer hover:brightness-95 transition-all duration-100",onClick:e=>e.stopPropagation(),onDoubleClick:l},r.createElement("span",{className:"text-[9px]!"},"\u26d4"),r.createElement("span",null,i("closure","One-off closure")));const o=e.start<612e5?"lunch":"dinner";const c=`${s(e.start)}\u2013${s(e.end)}`,u=e.maxOrders?` \xb7 ${e.maxOrders}max`:"";return r.createElement("div",{className:(0,a.cn)("flex items-center gap-0.75! rounded-sm! px-1.5! py-0.5! text-[10px]! font-medium truncate cursor-pointer hover:brightness-110 transition-all duration-100","lunch"===o&&"bg-volup text-white","dinner"===o&&"bg-dinner text-white"),onClick:e=>e.stopPropagation(),onDoubleClick:l,title:`${c}${u}`},r.createElement("span",{className:"text-[9px]! shrink-0"},"lunch"===o?"\ud83c\udf1e":"\ud83c\udf19"),r.createElement("span",{className:"truncate"},c,u&&r.createElement("span",{className:"opacity-70"},u)))}},"2796d6f16128b7096047":function(e,t,n){(function(e){ace.define("ace/theme/github-css",["require","exports","module"],(function(e,t,n){n.exports='/* CSS style content from github\'s default pygments highlighter template.\n Cursor and selection styles from textmate.css. */\n.ace-github .ace_gutter {\n background: #e8e8e8;\n color: #AAA;\n}\n\n.ace-github {\n background: #fff;\n color: #000;\n}\n\n.ace-github .ace_keyword {\n font-weight: bold;\n}\n\n.ace-github .ace_string {\n color: #D14;\n}\n\n.ace-github .ace_variable.ace_class {\n color: teal;\n}\n\n.ace-github .ace_constant.ace_numeric {\n color: #099;\n}\n\n.ace-github .ace_constant.ace_buildin {\n color: #0086B3;\n}\n\n.ace-github .ace_support.ace_function {\n color: #0086B3;\n}\n\n.ace-github .ace_comment {\n color: #998;\n font-style: italic;\n}\n\n.ace-github .ace_variable.ace_language {\n color: #0086B3;\n}\n\n.ace-github .ace_paren {\n font-weight: bold;\n}\n\n.ace-github .ace_boolean {\n font-weight: bold;\n}\n\n.ace-github .ace_string.ace_regexp {\n color: #009926;\n font-weight: normal;\n}\n\n.ace-github .ace_variable.ace_instance {\n color: teal;\n}\n\n.ace-github .ace_constant.ace_language {\n font-weight: bold;\n}\n\n.ace-github .ace_cursor {\n color: black;\n}\n\n.ace-github.ace_focus .ace_marker-layer .ace_active-line {\n background: rgb(255, 255, 204);\n}\n.ace-github .ace_marker-layer .ace_active-line {\n background: rgb(245, 245, 245);\n}\n\n.ace-github .ace_marker-layer .ace_selection {\n background: rgb(181, 213, 255);\n}\n\n.ace-github.ace_multiselect .ace_selection.ace_start {\n box-shadow: 0 0 3px 0px white;\n}\n/* bold keywords cause cursor issues for some fonts */\n/* this disables bold style for editor and keeps for static highlighter */\n.ace-github.ace_nobold .ace_line > 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,n){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,n("f586cf5b9f4b7719b2c1")(e))},"279f1c7ef5f95c5d63e2":function(e,t,n){var r=n("2af61e8c0431facfc63f");e.exports=function(e,t,n){return(t=r(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.__esModule=!0,e.exports.default=e.exports},"27d3d054f68475bd62a9":function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=n("7abe7ddea5cc66fd94b1"),l=n("2699310fc61c2e7274b1");function a(e){for(var t=[],n=1;n=55296&&X<=57343||X>1114111?(k(7,j),w=u(65533)):w in l?(k(6,j),w=l[w]):(C="",b(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(),q=D-1,$+=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,$+=f.length,q=D-1)}else 10===y&&(Z++,G++,$=0),y===y?(K+=u(y),$++):Q();var X;return Y.join("");function J(){return{line:Z,column:$,offset:q+(V.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 v={};function b(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)}v[1]="Named character references must be terminated by a semicolon",v[2]="Numeric character references must be terminated by a semicolon",v[3]="Named character references cannot be empty",v[4]="Numeric character references cannot be empty",v[5]="Named character references must be known",v[6]="Numeric character references cannot be disallowed",v[7]="Numeric character references cannot be outside the permissible Unicode range"},"289c96ed03271763a3a9":function(e,t,n){"use strict";var r=n("d691ab6a01eacf6bd123"),l=n("443f930b60798cfedf71"),a=n("5dfc216e0b9559a5e74b"),o=n("44c1fc35bd273cc4f7a9");function i(e){var t=new a(e),n=l(a.prototype.request,t);return r.extend(n,a.prototype,t),r.extend(n,t),n}var s=i(n("764eabf2370962c4cad0"));s.Axios=a,s.create=function(e){return i(o(s.defaults,e))},s.Cancel=n("f3f9cf0ae64305a42cd6"),s.CancelToken=n("efd0adb76568cdad4116"),s.isCancel=n("b8e7bb6f2e080f7f5d1b"),s.all=function(e){return Promise.all(e)},s.spread=n("8bd221e6c52c12f3bc2c"),e.exports=s,e.exports.default=s},"28cda21a7470ed664dba":function(e,t,n){"use strict";var r=n("8e6d34d5e2b1c9c449c0");t.__esModule=!0,t.default=void 0;var l=r(n("1b43b4f548a0c483d331")),a=r(n("b5b95815a681fa972933")),o=r(n("194dc23c6ea855d0527d")),i=r(n("3e61108919ae44da8e53")),s={transition:"","transition-duration":"","transition-delay":"","transition-timing-function":""};function c(e){var t=e.node,n=e.properties,r=e.duration,c=void 0===r?200:r,u=e.easing,d=e.callback,f=[],p={},h="";Object.keys(n).forEach((function(e){var t=n[e];(0,o.default)(e)?h+=e+"("+t+") ":(p[e]=t,f.push((0,a.default)(e)))})),h&&(p.transform=h,f.push("transform")),c>0&&(p.transition=f.join(", "),p["transition-duration"]=c/1e3+"s",p["transition-delay"]="0s",p["transition-timing-function"]=u||"linear");var m=(0,i.default)(t,(function(e){e.target===e.currentTarget&&((0,l.default)(t,s),d&&d.call(this,e))}),c);return t.clientLeft,(0,l.default)(t,p),{cancel:function(){m(),(0,l.default)(t,s)}}}var u=function(e,t,n,r,l){if(!("nodeType"in e))return c(e);if(!t)throw new Error("must include properties to animate");return"function"===typeof r&&(l=r,r=""),c({node:e,properties:t,duration:n,easing:r,callback:l})};t.default=u,e.exports=t.default},"28f5969d138bd4de1cc7":function(e,t,n){var r=n("fdf49e51d0d2daad1f20");"string"===typeof r&&(r=[[e.i,r,""]]);var l={hmr:!0,transform:void 0,insertInto:void 0};n("1e4534d1d62a11482e97")(r,l);r.locals&&(e.exports=r.locals)},"29223d030aaa9d6a457d":function(e,t,n){e.exports=function(){"use strict";return function(e,t,n){var r=function(e,t){if(!t||!t.length||1===t.length&&!t[0]||1===t.length&&Array.isArray(t[0])&&!t[0].length)return null;var n;1===t.length&&t[0].length>0&&(t=t[0]),n=(t=t.filter((function(e){return e})))[0];for(var r=1;r=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(l())}).call(this,n("26d59f808dff3e83c741"))},"29a9536bbf37470dcc3e":function(e,t,n){"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,n){"use strict";var r=n("7d120192e4c5c3899346");function l(){}function a(){}a.resetWarningCache=l,e.exports=function(){function e(e,t,n,l,a,o){if(o!==r){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 n={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:l};return n.PropTypes=n,n}},"29c9401d02b1d3ec0c97":function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e){return e.replace(r,(function(e,t){return t.toUpperCase()}))};var r=/-(.)/g;e.exports=t.default},"29d72786e4ff8f5ddec4":function(e,t,n){var r=n("dc8ccfa52d4cde882199");function l(){var t,n,a="function"==typeof Symbol?Symbol:{},o=a.iterator||"@@iterator",i=a.toStringTag||"@@toStringTag";function s(e,l,a,o){var i=l&&l.prototype instanceof u?l:u,s=Object.create(i.prototype);return r(s,"_invoke",function(e,r,l){var a,o,i,s=0,u=l||[],d=!1,f={p:0,n:0,v:t,a:p,f:p.bind(t,4),d:function(e,n){return a=e,o=0,i=t,f.n=n,c}};function p(e,r){for(o=e,i=r,n=0;!d&&s&&!l&&n3?(l=h===r)&&(i=a[(o=a[4])?5:(o=3,3)],a[4]=a[5]=t):a[0]<=p&&((l=e<2&&pr||r>h)&&(a[4]=e,a[5]=r,f.n=h,o=0))}if(l||e>1)return c;throw d=!0,r}return function(l,u,h){if(s>1)throw TypeError("Generator is already running");for(d&&1===u&&p(u,h),o=u,i=h;(n=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||(l="next"),n=a[l]){if(!(n=n.call(a,i)))throw TypeError("iterator result is not an object");if(!n.done)return n;i=n.value,o<2&&(o=0)}else 1===o&&(n=a.return)&&n.call(a),o<2&&(i=TypeError("The iterator does not provide a '"+l+"' method"),o=1);a=t}else if((n=(d=f.n<0)?i:e.call(r,f))!==c)break}catch(e){a=t,o=1,i=e}finally{s=1}}return{value:n,done:d}}}(e,a,o),!0),s}var c={};function u(){}function d(){}function f(){}n=Object.getPrototypeOf;var p=[][o]?n(n([][o]())):(r(n={},o,(function(){return this})),n),h=f.prototype=u.prototype=Object.create(p);function m(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,f):(e.__proto__=f,r(e,i,"GeneratorFunction")),e.prototype=Object.create(h),e}return d.prototype=f,r(h,"constructor",f),r(f,"constructor",d),d.displayName="GeneratorFunction",r(f,i,"GeneratorFunction"),r(h),r(h,i,"Generator"),r(h,o,(function(){return this})),r(h,"toString",(function(){return"[object Generator]"})),(e.exports=l=function(){return{w:s,m:m}},e.exports.__esModule=!0,e.exports.default=e.exports)()}e.exports=l,e.exports.__esModule=!0,e.exports.default=e.exports},"2a0a8f860f744dbd0ab1":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){function t(t,n,r,l,a,o){var i=l||"<>",s=o||r;if(null==n[r])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]"===r.call(e.callee)),n}},"2a5ece208fd9996d4670":function(e,t,n){var r;!function(){"use strict";var n={}.hasOwnProperty;function l(){for(var e=[],t=0;t=0;--l){var a=this.tryEntries[l],o=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var i=n.call(a,"catchLoc"),s=n.call(a,"finallyLoc");if(i&&s){if(this.prev=0;--r){var l=this.tryEntries[r];if(l.tryLoc<=this.prev&&n.call(l,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),C(n),d}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var l=r.arg;C(n)}return l}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:M(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),d}},e}(e.exports);try{regeneratorRuntime=r}catch(e){"object"===typeof globalThis?globalThis.regeneratorRuntime=r:Function("r","regeneratorRuntime = r")(r)}},"2c1038aa4fb1000e0958":function(e,t,n){var r=n("81b6b307ad4f67ec4f33");e.exports=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=r(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var l=0,a=function(){};return{s:a,n:function(){return l>=e.length?{done:!0}:{done:!1,value:e[l++]}},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(){n=n.call(e)},n:function(){var e=n.next();return i=e.done,e},e:function(e){s=!0,o=e},f:function(){try{i||null==n.return||n.return()}finally{if(s)throw o}}}},e.exports.__esModule=!0,e.exports.default=e.exports},"2c62cf50f9b98ad5e2af":function(e,t){function n(){return e.exports=n=Object.assign?Object.assign.bind():function(e){for(var t=1;t1?t-1:0),r=1;rspan{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,n){(t=e.exports=n("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,n){"use strict";var r=n("8e6d34d5e2b1c9c449c0");t.__esModule=!0,t.default=void 0;var l=r(n("2c62cf50f9b98ad5e2af")),a=r(n("84ed169f5b76a6b15fc0")),o=r(n("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 n=p(t);if(n&&n.has(e))return n.get(e);var r={},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var o=l?Object.getOwnPropertyDescriptor(e,a):null;o&&(o.get||o.set)?Object.defineProperty(r,a,o):r[a]=e[a]}r.default=e,n&&n.set(e,r);return r}(n("8af190b70a6bc55c6f1b")),s=r(n("976c83b14986293285d6")),c=n("de45080f617146192f27"),u=r(n("acc61bc9e1ebe5d11576")),d=r(n("b965a6a3307db3d4af80")),f=["bsPrefix","closeLabel","closeButton","onHide","className","children"];function p(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(p=function(e){return e?n:t})(e)}var h=i.default.forwardRef((function(e,t){var n=e.bsPrefix,r=e.closeLabel,p=e.closeButton,h=e.onHide,m=e.className,g=e.children,v=(0,a.default)(e,f);n=(0,c.useBootstrapPrefix)(n,"modal-header");var b=(0,i.useContext)(d.default),y=(0,s.default)((function(){b&&b.onHide(),h&&h()}));return i.default.createElement("div",(0,l.default)({ref:t},v,{className:(0,o.default)(m,n)}),g,p&&i.default.createElement(u.default,{label:r,onClick:y}))}));h.displayName="ModalHeader",h.defaultProps={closeLabel:"Close",closeButton:!1};var m=h;t.default=m,e.exports=t.default},"2f1c150dbf4475e58de7":function(e,t,n){"use strict";var r=n("8e6d34d5e2b1c9c449c0");t.__esModule=!0,t.default=void 0;var l=(0,r(n("10fa21b44717d82288e9")).default)("figure-caption",{Component:"figcaption"});t.default=l,e.exports=t.default},"2f5dcb2cd613f9766c47":function(e,t,n){var r=n("baf66d6ecc40a7e1e279"),l=n("9d131a78aa67bb541ea6");e.exports=n("5acb0d23426d94f4db7c")?function(e,t,n){return r.f(e,t,l(1,n))}:function(e,t,n){return e[t]=n,e}},"2fa729a71a47c9ecb056":function(e,t,n){function r(e){var n;function r(){if(r.enabled){var e=r,l=+new Date,a=l-(n||l);e.diff=a,e.prev=n,e.curr=l,n=l;for(var o=new Array(arguments.length),i=0;i1){for(var o=Array(a),i=0;ie.length)&&(t=e.length);for(var n=0,r=Array(t);n0&&void 0!==arguments[0]?arguments[0]:"en",t=b.en,n=b[e]||t;return f({clear:n.clear||t.clear,apply:n.apply||t.apply,from:n.from||t.from,to:n.to||t.to,select:n.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?y("div",{},void 0,y(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&&y("div",{style:{display:"flex",gap:8,marginTop:16}},void 0,y("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),y("button",{onClick:function(){n&&n({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))):y("div",{className:"date-range-container",style:{display:"flex",gap:24,padding:20,borderRadius:12,maxWidth:650,margin:"0 auto"}},void 0,y("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,n=e.label;return y("li",{style:{marginBottom:1}},t,y("button",{onClick:function(){return O(t)},className:"preset-btn ".concat(t===x?"active":"")},void 0,n))}))),y("div",{style:{flex:1}},void 0,y("div",{style:{minWidth:300}},void 0,y(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})),y("p",{style:{marginTop:12,fontSize:16,color:"#555"}},void 0,_),d.from&&d.to&&y("div",{style:{display:"flex",gap:8,marginTop:16}},void 0,y("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),y("button",{onClick:function(){n&&n({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,n){"use strict";var r=0;function l(){return Math.pow(2,++r)}t.boolean=l(),t.booleanish=l(),t.overloadedBoolean=l(),t.number=l(),t.spaceSeparated=l(),t.commaSeparated=l(),t.commaOrSpaceSeparated=l()},3:function(e,t){},"305627dbc0e049e134bc":function(e,t,n){"use strict";n.d(t,"d",(function(){return r})),n.d(t,"a",(function(){return l})),n.d(t,"f",(function(){return a})),n.d(t,"b",(function(){return o})),n.d(t,"g",(function(){return i})),n.d(t,"e",(function(){return s})),n.d(t,"c",(function(){return c}));var r="app/Header/SET_TITLE",l="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"},"306898158f18798dee7c":function(e,t,n){"use strict";var r=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var l=0;for(r=Object.getOwnPropertySymbols(e);ll.createElement("option",{key:e.value,value:e.value},e.label)));return l.createElement(o.FormGroup,{variant:t,label:n,hint:s,error:c,htmlFor:h},u?l.createElement("div",{className:"relative"},l.createElement("span",{className:"absolute left-[11px]! top-1/2 -translate-y-1/2 pointer-events-none text-text-faint"},u),l.cloneElement(v,{className:(0,a.cn)(g?i.INPUT_BASE_PROFILE:i.INPUT_BASE_MODAL,g&&"appearance-none cursor-pointer pr-8!",c&&i.INPUT_INVALID,"pl-9!",p)})):v)};const l=n("8af190b70a6bc55c6f1b"),a=n("486df73e776ca2f8b99b"),o=n("c706a58ea65e44faaca0"),i=n("fe2271b04a464f3f88cf")},"30a6249bf24197dcc0f1":function(e,t,n){"use strict";var r=n("8e6d34d5e2b1c9c449c0").default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l=r(n("8af190b70a6bc55c6f1b"));t.default=function(e){var t=e.label;return l.default.createElement("span",{role:"columnheader","aria-sort":"none"},t)}},"30c081951dae911c7d7b":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("45f81a5a445f81e03dfc"),l=n("8af190b70a6bc55c6f1b"),a=n("49a47d064cfbf2949ee5"),o=n("115c5b40c21caec63178");function i(e){return e&&"object"===typeof e&&"default"in e?e:{default:e}}var s=i(r),c=i(l),u=i(a),d=i(o);function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n.'),C(e.containerRef.current,e.props)})),g(y(e),"pauseResume",(function(){var t=y(e),n=t.reset,r=t.restart,l=t.update,a=e.props.onPauseResume;e.instance.pauseResume(),a({reset:n,start:r,update:l})})),g(y(e),"reset",(function(){var t=y(e),n=t.pauseResume,r=t.restart,l=t.update,a=e.props.onReset;e.instance.reset(),a({pauseResume:n,start:r,update:l})})),g(y(e),"restart",(function(){e.reset(),e.start()})),g(y(e),"start",(function(){var t=y(e),n=t.pauseResume,r=t.reset,l=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:n,reset:r,start:l,update:a})}))};i>0?e.timeoutId=setTimeout(u,1e3*i):u(),c({pauseResume:n,reset:r,update:a})})),g(y(e),"update",(function(t){var n=y(e),r=n.pauseResume,l=n.reset,a=n.restart,o=e.props.onUpdate;e.instance.update(t),o({pauseResume:r,reset:l,start:a})})),g(y(e),"containerRef",c.default.createRef()),e}return t=a,(n=[{key:"componentDidMount",value:function(){var e=this.props,t=e.children,n=e.delay;this.instance=this.createInstance(),"function"===typeof t&&0!==n||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,n=t.end,r=t.preserveValue;this.checkProps(e)&&(this.instance.reset(),this.instance=this.createInstance(),this.start()),n!==e.end&&(r||this.instance.reset(),this.instance.update(n))}},{key:"componentWillUnmount",value:function(){this.timeoutId&&clearTimeout(this.timeoutId),this.instance.reset()}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.className,r=e.style,l=this.containerRef,a=this.pauseResume,o=this.reset,i=this.restart,s=this.update;return"function"===typeof t?t({countUpRef:l,pauseResume:a,reset:o,start:i,update:s}):c.default.createElement("span",{className:n,ref:l,style:r})}}])&&m(t.prototype,n),r&&m(t,r),a}(l.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),n=t.start,r=t.formattingFn,a=k(l.useState("function"===typeof r?r(n):n),2),o=a[0],i=a[1],s=l.useRef(null),c=l.useRef(null),u=function(){var e=s.current;if(null!==e)return e;var n=function(){var e=C(M,t),n=e.options.formattingFn;return e.options.formattingFn=function(){var e=n.apply(void 0,arguments);i(e)},e}();return s.current=n,n},d=function(){var e=t.onReset;u().reset(),e({pauseResume:h,start:f,update:m})},f=function e(){var n=t.onStart,r=t.onEnd;u().reset(),u().start((function(){r({pauseResume:h,reset:d,start:e,update:m})})),n({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 n=t.onUpdate;u().update(e),n({pauseResume:h,reset:d,start:f})};return l.useEffect((function(){var e=t.delay,n=t.onStart,r=t.onEnd;return t.startOnMount&&(c.current=setTimeout((function(){n({pauseResume:h,reset:d,update:m}),u().start((function(){clearTimeout(c.current),r({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 n(){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={}),n())navigator.serviceWorker.register("/sw.js",{});else;},t.applyUpdate=function(e,t){},t.update=function(){n()&&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,n){"use strict";var r=n("2c62cf50f9b98ad5e2af"),l=n("20ffe07e14dbfd86f679"),a=n("635837756f63384ac159"),o=n("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 v={isEmpty:i,put:s,take:s};function b(e,t){void 0===e&&(e=10);var n=new Array(e),r=0,l=0,a=0,o=function(t){n[l]=t,l=(l+1)%e,r++},i=function(){if(0!=r){var t=n[a];return n[a]=null,r--,a=(a+1)%e,t}},s=function(){for(var e=[];r;)e.push(i());return e};return{isEmpty:function(){return 0==r},put:function(i){var c;if(r1?t-1:0),r=1;r1?t-1:0),r=1;r1?t-1:0),r=1;r=0&&e.splice(n,1)},t.select=function(e){void 0===e&&(e=c);for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r1?t-1:0),r=1;re.match(n)||[],l=e=>e[0].toUpperCase()+e.slice(1),a=(e,t)=>r(e).join(t).toLowerCase(),o=e=>r(e).reduce((e,t)=>`${e}${e?t[0].toUpperCase()+t.slice(1).toLowerCase():t.toLowerCase()}`,"");e.exports={words:r,upperFirst:l,camelCase:o,pascalCase:e=>l(o(e)),snakeCase:e=>a(e,"_"),kebabCase:e=>a(e,"-"),sentenceCase:e=>l(a(e," ")),titleCase:e=>r(e).map(l).join(" ")}},"31dab6507bb35e8a2b30":function(e,t){e.exports={v:"5.5.5",fr:30,ip:0,op:300,w:1920,h:1080,nm:"loader",ddd:0,assets:[{id:"comp_0",layers:[{ddd:0,ind:1,ty:4,nm:"Shape Layer 1",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[960,540,0],ix:2},a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{d:1,ty:"el",s:{a:0,k:[678,678],ix:2},p:{a:0,k:[0,34],ix:3},nm:"Ellipse Path 1",mn:"ADBE Vector Shape - Ellipse",hd:!1},{ty:"tm",s:{a:1,k:[{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:0,s:[0]},{t:30,s:[100]}],ix:1},e:{a:1,k:[{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:7,s:[0]},{t:37,s:[100]}],ix:2},o:{a:0,k:0,ix:3},m:1,ix:2,nm:"Trim Paths 1",mn:"ADBE Vector Filter - Trim",hd:!1},{ty:"st",c:{a:0,k:[.0784313725490196,.0784313725490196,.2627450980392157,1],ix:3},o:{a:0,k:100,ix:4},w:{a:0,k:59,ix:5},lc:2,lj:2,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1},{ty:"tr",p:{a:0,k:[-7,22],ix:2},a:{a:0,k:[-13.96,41.879],ix:1},s:{a:0,k:[85.962,85.962],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Ellipse 1",np:4,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{d:1,ty:"el",s:{a:0,k:[678,678],ix:2},p:{a:0,k:[0,0],ix:3},nm:"Ellipse Path 1",mn:"ADBE Vector Shape - Ellipse",hd:!1},{ty:"tm",s:{a:1,k:[{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:4,s:[0]},{t:33,s:[100]}],ix:1},e:{a:1,k:[{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:12,s:[0]},{t:40,s:[100]}],ix:2},o:{a:0,k:0,ix:3},m:1,ix:2,nm:"Trim Paths 1",mn:"ADBE Vector Filter - Trim",hd:!1},{ty:"st",c:{a:0,k:[.24313725490196078,.2627450980392157,.5529411764705883,1],ix:3},o:{a:0,k:100,ix:4},w:{a:0,k:59,ix:5},lc:2,lj:2,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1},{ty:"tr",p:{a:0,k:[6,15],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[85.962,85.962],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Ellipse 2",np:4,cix:2,bm:0,ix:2,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{d:1,ty:"el",s:{a:0,k:[678,678],ix:2},p:{a:0,k:[0,0],ix:3},nm:"Ellipse Path 1",mn:"ADBE Vector Shape - Ellipse",hd:!1},{ty:"tm",s:{a:1,k:[{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:10,s:[0]},{t:35,s:[100]}],ix:1},e:{a:1,k:[{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:17,s:[0]},{t:43,s:[100]}],ix:2},o:{a:0,k:0,ix:3},m:1,ix:2,nm:"Trim Paths 1",mn:"ADBE Vector Filter - Trim",hd:!1},{ty:"st",c:{a:0,k:[.3568627450980392,.38823529411764707,.8274509803921568,1],ix:3},o:{a:0,k:100,ix:4},w:{a:0,k:59,ix:5},lc:2,lj:2,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1},{ty:"tr",p:{a:0,k:[6,15],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[85.962,85.962],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Ellipse 3",np:4,cix:2,bm:0,ix:3,mn:"ADBE Vector Group",hd:!1}],ip:0,op:90,st:0,bm:0}]}],layers:[{ddd:0,ind:1,ty:0,nm:"Loader comp",refId:"comp_0",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[960,540,0],ix:2},a:{a:0,k:[960,540,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,tm:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:0,s:[0]},{t:43,s:[1.433]}],ix:2,x:"var $bm_rt;\n$bm_rt = loopOut('cycle');"},w:1920,h:1080,ip:0,op:313,st:0,bm:0}],markers:[]}},"31ffa001e1d0724a622b":function(e,t){e.exports=function(e){if(Array.isArray(e))return e},e.exports.__esModule=!0,e.exports.default=e.exports},"32212b6b29f1db8645ea":function(e,t,n){"use strict";var r=n("b15c440f0d3f3cc34316"),l=n("35dbda98e32cf61aac5f"),a=n("3d98327bbe56a9e0adce"),o=n("dbb172cb24bfdfce9a83");e.exports=function(e){if(e.length<1||"function"!==typeof e[0])throw new l("a function is required");return o(r,a,e)}},"32791af9c54c43fdcc93":function(e,t,n){"use strict";var r=n("76727216fd712fc036ce");e.exports=r.getPrototypeOf||null},"327b276a06889d6069e1":function(e,t,n){"use strict";Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});const r=(e=new Map,t=null,n)=>({nextPart:e,validators:t,classGroupId:n}),l=[],a=e=>{const t=s(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:e=>{if(e.startsWith("[")&&e.endsWith("]"))return i(e);const n=e.split("-"),r=""===n[0]&&n.length>1?1:0;return o(n,r,t)},getConflictingClassGroupIds:(e,t)=>{if(t){const t=r[e],a=n[e];return t?a?((e,t)=>{const n=new Array(e.length+t.length);for(let t=0;t{if(0===e.length-t)return n.classGroupId;const r=e[t],l=n.nextPart.get(r);if(l){const n=o(e,t+1,l);if(n)return n}const a=n.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),n=t.indexOf(":"),r=t.slice(0,n);return r?"arbitrary.."+r:void 0})(),s=e=>{const{theme:t,classGroups:n}=e;return c(n,t)},c=(e,t)=>{const n=r();for(const r in e){const l=e[r];u(l,n,r,t)}return n},u=(e,t,n,r)=>{const l=e.length;for(let a=0;a{"string"!==typeof e?"function"!==typeof e?h(e,t,n,r):p(e,t,n,r):f(e,t,n)},f=(e,t,n)=>{(""===e?t:m(t,e)).classGroupId=n},p=(e,t,n,r)=>{g(e)?u(e(r),t,n,r):(null===t.validators&&(t.validators=[]),t.validators.push(((e,t)=>({classGroupId:e,validator:t}))(n,e)))},h=(e,t,n,r)=>{const l=Object.entries(e),a=l.length;for(let e=0;e{let n=e;const l=t.split("-"),a=l.length;for(let e=0;e"isThemeGetter"in e&&!0===e.isThemeGetter,v=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=Object.create(null),r=Object.create(null);const l=(l,a)=>{n[l]=a,t++,t>e&&(t=0,r=n,n=Object.create(null))};return{get(e){let t=n[e];return void 0!==t?t:void 0!==(t=r[e])?(l(e,t),t):void 0},set(e,t){e in n?n[e]=t:l(e,t)}}},b=[],y=(e,t,n,r,l)=>({modifiers:e,hasImportantModifier:t,baseClassName:n,maybePostfixModifierPosition:r,isExternal:l}),w=e=>{const{prefix:t,experimentalParseClassName:n}=e;let r=e=>{const t=[];let n,r=0,l=0,a=0;const o=e.length;for(let i=0;ia?n-a:void 0)};if(t){const e=t+":",n=r;r=t=>t.startsWith(e)?n(t.slice(e.length)):y(b,!1,t,void 0,!0)}if(n){const e=r;r=t=>n({className:t,parseClassName:e})}return r},x=e=>{const t=new Map;return e.orderSensitiveModifiers.forEach((e,n)=>{t.set(e,1e6+n)}),e=>{const n=[];let r=[];for(let l=0;l0&&(r.sort(),n.push(...r),r=[]),n.push(a)):r.push(a)}return r.length>0&&(r.sort(),n.push(...r)),n}},k=/\s+/,S=(...e)=>{let t,n,r=0,l="";for(;r{if("string"===typeof e)return e;let t,n="";for(let r=0;r{let n,r,l,o;const i=e=>{const t=r(e);if(t)return t;const a=((e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:l,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}=n(t);if(c){s=t+(s.length>0?" "+s:s);continue}let h=!!p,m=r(h?f.substring(0,p):f);if(!m){if(!h){s=t+(s.length>0?" "+s:s);continue}if(m=r(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(":"),v=d?g+"!":g,b=v+m;if(o.indexOf(b)>-1)continue;o.push(b);const y=l(m,h);for(let e=0;e0?" "+s:s)}return s})(e,n);return l(e,a),a};return o=s=>{const c=t.reduce((e,t)=>t(e),e());return n=(e=>({cache:v(e.cacheSize),parseClassName:w(e),sortModifiers:x(e),...a(e)}))(c),r=n.cache.get,l=n.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)\(.+\)$/,N=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,I=/^(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,V=e=>j.test(e)&&!D.test(e),H=()=>!1,W=e=>N.test(e),q=e=>I.test(e),G=e=>!Z(e)&&!ne(e),$=e=>ue(e,he,H),Z=e=>E.test(e),K=e=>ue(e,me,V),Y=e=>ue(e,ge,R),X=e=>ue(e,be,U),J=e=>ue(e,ve,H),Q=e=>ue(e,fe,H),ee=e=>ue(e,pe,q),te=e=>ue(e,ye,W),ne=e=>P.test(e),re=e=>de(e,me),le=e=>de(e,ve),ae=e=>de(e,fe),oe=e=>de(e,he),ie=e=>de(e,pe),se=e=>de(e,ye,!0),ce=e=>de(e,be,!0),ue=(e,t,n)=>{const r=E.exec(e);return!!r&&(r[1]?t(r[1]):n(r[2]))},de=(e,t,n=!1)=>{const r=P.exec(e);return!!r&&(r[1]?t(r[1]):n)},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,ve=e=>"family-name"===e,be=e=>"number"===e||"weight"===e,ye=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:$,isArbitraryValue:Z,isArbitraryVariable:ne,isArbitraryVariableFamilyName:le,isArbitraryVariableImage:ie,isArbitraryVariableLength:re,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"),n=_("text"),r=_("font-weight"),l=_("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"),v=_("ease"),b=_("animate"),y=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",ne,Z],w=()=>[ne,Z,s],x=()=>[L,"full","auto",...w()],k=()=>[B,"none","subgrid",ne,Z],S=()=>["auto",{span:["full",B,ne,Z]},B,ne,Z],C=()=>[B,"auto",ne,Z],O=()=>["auto","min","max","fr",ne,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,ne,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:[ne,Z]}],D=()=>["auto","cover","contain",oe,$,{size:[ne,Z]}],N=()=>[F,re,K],I=()=>["","none","full",c,ne,Z],V=()=>["",R,re,K],H=()=>[R,F,ae,Q],W=()=>["","none",h,ne,Z],q=()=>["none",R,ne,Z],ue=()=>["none",R,ne,Z],de=()=>[R,ne,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,ne,g]}],container:["container"],columns:[{columns:[R,Z,ne,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:y()}],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",ne,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,ne,Z]}],shrink:[{shrink:["",R,ne,Z]}],order:[{order:[B,"first","last","none",ne,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",n,re,K]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,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:[le,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:[l,ne,Z]}],"line-clamp":[{"line-clamp":[R,"none",ne,Y]}],leading:[{leading:[a,...w()]}],"list-image":[{"list-image":["none",ne,Z]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",ne,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",ne,K]}],"text-decoration-color":[{decoration:T()}],"underline-offset":[{"underline-offset":[R,"auto",ne,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",ne,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",ne,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,ne,Z],radial:["",ne,Z],conic:[B,ne,Z]},ie,ee]}],"bg-color":[{bg:T()}],"gradient-from-pos":[{from:N()}],"gradient-via-pos":[{via:N()}],"gradient-to-pos":[{to:N()}],"gradient-from":[{from:T()}],"gradient-via":[{via:T()}],"gradient-to":[{to:T()}],rounded:[{rounded:I()}],"rounded-s":[{"rounded-s":I()}],"rounded-e":[{"rounded-e":I()}],"rounded-t":[{"rounded-t":I()}],"rounded-r":[{"rounded-r":I()}],"rounded-b":[{"rounded-b":I()}],"rounded-l":[{"rounded-l":I()}],"rounded-ss":[{"rounded-ss":I()}],"rounded-se":[{"rounded-se":I()}],"rounded-ee":[{"rounded-ee":I()}],"rounded-es":[{"rounded-es":I()}],"rounded-tl":[{"rounded-tl":I()}],"rounded-tr":[{"rounded-tr":I()}],"rounded-br":[{"rounded-br":I()}],"rounded-bl":[{"rounded-bl":I()}],"border-w":[{border:V()}],"border-w-x":[{"border-x":V()}],"border-w-y":[{"border-y":V()}],"border-w-s":[{"border-s":V()}],"border-w-e":[{"border-e":V()}],"border-w-bs":[{"border-bs":V()}],"border-w-be":[{"border-be":V()}],"border-w-t":[{"border-t":V()}],"border-w-r":[{"border-r":V()}],"border-w-b":[{"border-b":V()}],"border-w-l":[{"border-l":V()}],"divide-x":[{"divide-x":V()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":V()}],"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,ne,Z]}],"outline-w":[{outline:["",R,re,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:V()}],"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":V()}],"inset-ring-color":[{"inset-ring":T()}],"text-shadow":[{"text-shadow":["none",f,se,te]}],"text-shadow-color":[{"text-shadow":T()}],opacity:[{opacity:[R,ne,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":H()}],"mask-image-linear-to-pos":[{"mask-linear-to":H()}],"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":H()}],"mask-image-t-to-pos":[{"mask-t-to":H()}],"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":H()}],"mask-image-r-to-pos":[{"mask-r-to":H()}],"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":H()}],"mask-image-b-to-pos":[{"mask-b-to":H()}],"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":H()}],"mask-image-l-to-pos":[{"mask-l-to":H()}],"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":H()}],"mask-image-x-to-pos":[{"mask-x-to":H()}],"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":H()}],"mask-image-y-to-pos":[{"mask-y-to":H()}],"mask-image-y-from-color":[{"mask-y-from":T()}],"mask-image-y-to-color":[{"mask-y-to":T()}],"mask-image-radial":[{"mask-radial":[ne,Z]}],"mask-image-radial-from-pos":[{"mask-radial-from":H()}],"mask-image-radial-to-pos":[{"mask-radial-to":H()}],"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":H()}],"mask-image-conic-to-pos":[{"mask-conic-to":H()}],"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",ne,Z]}],filter:[{filter:["","none",ne,Z]}],blur:[{blur:W()}],brightness:[{brightness:[R,ne,Z]}],contrast:[{contrast:[R,ne,Z]}],"drop-shadow":[{"drop-shadow":["","none",p,se,te]}],"drop-shadow-color":[{"drop-shadow":T()}],grayscale:[{grayscale:["",R,ne,Z]}],"hue-rotate":[{"hue-rotate":[R,ne,Z]}],invert:[{invert:["",R,ne,Z]}],saturate:[{saturate:[R,ne,Z]}],sepia:[{sepia:["",R,ne,Z]}],"backdrop-filter":[{"backdrop-filter":["","none",ne,Z]}],"backdrop-blur":[{"backdrop-blur":W()}],"backdrop-brightness":[{"backdrop-brightness":[R,ne,Z]}],"backdrop-contrast":[{"backdrop-contrast":[R,ne,Z]}],"backdrop-grayscale":[{"backdrop-grayscale":["",R,ne,Z]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[R,ne,Z]}],"backdrop-invert":[{"backdrop-invert":["",R,ne,Z]}],"backdrop-opacity":[{"backdrop-opacity":[R,ne,Z]}],"backdrop-saturate":[{"backdrop-saturate":[R,ne,Z]}],"backdrop-sepia":[{"backdrop-sepia":["",R,ne,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",ne,Z]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[R,"initial",ne,Z]}],ease:[{ease:["linear","initial",v,ne,Z]}],delay:[{delay:[R,ne,Z]}],animate:[{animate:["none",b,ne,Z]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[m,ne,Z]}],"perspective-origin":[{"perspective-origin":y()}],rotate:[{rotate:q()}],"rotate-x":[{"rotate-x":q()}],"rotate-y":[{"rotate-y":q()}],"rotate-z":[{"rotate-z":q()}],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:[ne,Z,"","none","gpu","cpu"]}],"transform-origin":[{origin:y()}],"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",ne,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",ne,Z]}],fill:[{fill:["none",...T()]}],"stroke-w":[{stroke:[R,re,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:n,experimentalParseClassName:r,extend:l={},override:a={}})=>(Se(e,"cacheSize",t),Se(e,"prefix",n),Se(e,"experimentalParseClassName",r),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,l.theme),Oe(e.classGroups,l.classGroups),Oe(e.conflictingClassGroups,l.conflictingClassGroups),Oe(e.conflictingClassGroupModifiers,l.conflictingClassGroupModifiers),Me(e,l,"orderSensitiveModifiers"),e),Se=(e,t,n)=>{void 0!==n&&(e[t]=n)},Ce=(e,t)=>{if(t)for(const n in t)Se(e,n,t[n])},Oe=(e,t)=>{if(t)for(const n in t)Me(e,t,n)},Me=(e,t,n)=>{const r=t[n];void 0!==r&&(e[n]=e[n]?e[n].concat(r):r)},_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 n=[].indexOf;e.exports=function(e,t){if(n)return e.indexOf(t);for(var r=0;r-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,n,r){return n*((e=e/r-1)*e*e+1)+t}function O(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:y,l=k(e),a=t-l,o=10,i=0;function s(){var t=C(i+=o,l,a,n);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>=r||o&&x>=r)return a&&O(s,_,160),{placement:"bottom",maxHeight:o?x-b:M-b};if("auto"===l||o){var P=t,A=o?w:C;return A>=r&&(P=Math.min(A-b-i.controlHeight,t)),{placement:"top",maxHeight:P}}if("bottom"===l)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>=r||o&&w>=r){var T=t;return(!o&&C>=r||o&&w>=r)&&(T=o?w-y:C-y),a&&O(s,E,160),{placement:"top",maxHeight:T}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(l,'".'))}return c}var A=function(e){return"auto"===e?"bottom":e},T=f.createContext({getPortalPlacement:null}),j=function(e){c(n,e);var t=E(n);function n(){var e;i(this,n);for(var r=arguments.length,l=new Array(r),a=0;an.bottom?S(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+l,e.scrollHeight)):r.top-lo?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(r!==(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,n){var r;e.exports=(r=n("8af190b70a6bc55c6f1b"),function(e){function t(r){if(n[r])return n[r].exports;var l=n[r]={i:r,l:!1,exports:{}};return e[r].call(l.exports,l,l.exports,t),l.l=!0,l.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=27)}([function(e,t,n){var r;!function(t,n){"use strict";"object"===typeof e&&"object"===typeof e.exports?e.exports=t.document?n(t,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return n(e)}:n(t)}("undefined"!==typeof window?window:this,(function(n,l){"use strict";function a(e,t,n){var r,l,a=(n=n||re).createElement("script");if(a.text=e,t)for(r in ve)(l=t[r]||t.getAttribute&&t.getAttribute(r))&&a.setAttribute(r,l);n.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,n=o(e);return!me(e)&&!ge(e)&&("array"===n||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,n){return me(t)?be.grep(e,(function(e,r){return!!t.call(e,r,e)!==n})):t.nodeType?be.grep(e,(function(e){return e===t!==n})):"string"!==typeof t?be.grep(e,(function(e){return se.call(t,e)>-1!==n})):be.filter(t,e,n)}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,n,r){var l;try{e&&me(l=e.promise)?l.call(e).done(t).fail(n):e&&me(l=e.then)?l.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}function h(){re.removeEventListener("DOMContentLoaded",h),n.removeEventListener("load",h),be.ready()}function m(e,t){return t.toUpperCase()}function g(e){return e.replace(De,"ms-").replace(Ne,m)}function v(){this.expando=be.expando+v.uid++}function b(e,t,n){var r;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(Fe,"-$&").toLowerCase(),"string"===typeof(n=e.getAttribute(r))){try{n=function(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:Be.test(e)?JSON.parse(e):e)}(n)}catch(e){}Re.set(e,t,n)}else n=void 0;return n}function y(e,t,n,r){var l,a,o=20,i=r?function(){return r.cur()}:function(){return be.css(e,t,"")},s=i(),c=n&&n[3]||(be.cssNumber[t]?"":"px"),u=e.nodeType&&(be.cssNumber[t]||"px"!==c&&+s)&&Ue.exec(be.css(e,t));if(u&&u[3]!==c){for(s/=2,c=c||u[3],u=+s||1;o--;)be.style(e,t,u+c),(1-a)*(1-(a=i()/s||.5))<=0&&(o=0),u/=a;u*=2,be.style(e,t,u+c),n=n||[]}return n&&(u=+u||+s||0,l=n[1]?u+(n[1]+1)*n[2]:+n[2],r&&(r.unit=c,r.start=u,r.end=l)),l}function w(e){var t,n=e.ownerDocument,r=e.nodeName,l=Ze[r];return l||(t=n.body.appendChild(n.createElement(r)),l=be.css(t,"display"),t.parentNode.removeChild(t),"none"===l&&(l="block"),Ze[r]=l,l)}function x(e,t){for(var n,r,l=[],a=0,o=e.length;a-1)l&&l.push(a);else if(u=We(a),i=k(f.appendChild(a),"script"),u&&S(i),n)for(d=0;a=i[d++];)Xe.test(a.type||"")&&n.push(a);return f}function O(){return!0}function M(){return!1}function _(e,t){return e===function(){try{return re.activeElement}catch(e){}}()===("focus"===t)}function E(e,t,n,r,l,a){var o,i;if("object"===typeof t){for(i in"string"!==typeof n&&(r=r||n,n=void 0),t)E(e,i,n,r,t[i],a);return e}if(null==r&&null==l?(l=n,r=n=void 0):null==l&&("string"===typeof n?(l=r,r=void 0):(l=r,r=n,n=void 0)),!1===l)l=M;else if(!l)return e;return 1===a&&(o=l,(l=function(e){return be().off(e),o.apply(this,arguments)}).guid=o.guid||(o.guid=be.guid++)),e.each((function(){be.event.add(this,t,l,r,n)}))}function P(e,t,n){n?(Le.set(e,t,!1),be.event.add(e,t,{namespace:!1,handler:function(e){var r,l,a=Le.get(this,t);if(1&e.isTrigger&&this[t]){if(a)(be.event.special[t]||{}).delegateType&&e.stopPropagation();else if(a=ae.call(arguments),Le.set(this,t,a),r=n(this,t),this[t](),a!==(l=Le.get(this,t))||r?Le.set(this,t,!1):l=void 0,a!==l)return e.stopImmediatePropagation(),e.preventDefault(),l}else a&&(Le.set(this,t,be.event.trigger(be.extend(a.shift(),be.Event.prototype),a,this)),e.stopImmediatePropagation())}})):be.event.add(e,t,O)}function A(e,t){return s(e,"table")&&s(11!==t.nodeType?t:t.firstChild,"tr")&&be(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 n,r,l,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(l in delete o.handle,o.events={},c)for(n=0,r=c[l].length;n1&&"string"===typeof h&&!he.checkClone&&at.test(h))return e.each((function(l){var a=e.eq(l);m&&(t[0]=h.call(this,l,a.html())),I(a,t,n,r)}));if(f&&(o=(l=C(t,e[0].ownerDocument,!1,e,r)).firstChild,1===l.childNodes.length&&(l=o),o||r)){for(s=(i=be.map(k(l,"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 V(e,t,n){var r=st(e),l=(!he.boxSizingReliable()||n)&&"border-box"===be.css(e,"boxSizing",!1,r),a=l,o=R(e,t,r),i="offset"+t[0].toUpperCase()+t.slice(1);if(it.test(o)){if(!n)return o;o="auto"}return(!he.boxSizingReliable()&&l||"auto"===o||!parseFloat(o)&&"inline"===be.css(e,"display",!1,r))&&e.getClientRects().length&&(l="border-box"===be.css(e,"boxSizing",!1,r),(a=i in e)&&(o=e[i])),(o=parseFloat(o)||0)+U(e,t,n||(l?"border":"content"),a,r,o)+"px"}function H(e,t,n,r,l){return new H.prototype.init(e,t,n,r,l)}function W(){bt&&(!1===re.hidden&&n.requestAnimationFrame?n.requestAnimationFrame(W):n.setTimeout(W,be.fx.interval),be.fx.tick())}function q(){return n.setTimeout((function(){vt=void 0})),vt=Date.now()}function G(e,t){var n,r=0,l={height:e};for(t=t?1:0;r<4;r+=2-t)l["margin"+(n=Ve[r])]=l["padding"+n]=e;return t&&(l.opacity=l.width=e),l}function $(e,t,n){for(var r,l=(Z.tweeners[t]||[]).concat(Z.tweeners["*"]),a=0,o=l.length;a=0&&nx.cacheLength&&delete t[e.shift()],t[n+" "]=r}}function r(e){return e[B]=!0,e}function l(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 n=e.split("|"),r=n.length;r--;)x.attrHandle[n[r]]=t}function o(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)for(;n=n.nextSibling;)if(n===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 r((function(t){return t=+t,r((function(n,r){for(var l,a=e([],n.length,t),o=a.length;o--;)n[l=a[o]]&&(n[l]=!(r[l]=n[l]))}))}))}function c(e){return e&&"undefined"!==typeof e.getElementsByTagName&&e}function u(){}function d(e){for(var t=0,n=e.length,r="";t1?function(t,n,r){for(var l=e.length;l--;)if(!e[l](t,n,r))return!1;return!0}:e[0]}function h(e,n,r){for(var l=0,a=n.length;l-1&&(r[c]=!(o[c]=d))}}else y=m(y===o?y.splice(g,y.length):y),a?a(null,o,y,s):X.apply(o,y)}))}function v(e){for(var t,n,r,l=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,n,r){var l=!a&&(r||n!==_)||((t=n).nodeType?s(e,n,r):c(e,n,r));return t=null,l}];i1&&p(u),i>1&&d(e.slice(0,i-1).concat({value:" "===e[i-2].type?"*":""})).replace(oe,"$1"),n,i0,a=e.length>0,o=function(r,o,i,s,c){var u,d,f,p=0,h="0",g=r&&[],v=[],b=_,y=r||a&&x.find.TAG("*",c),w=z+=null==b?1:Math.random()||.1,k=y.length;for(c&&(_=o===T||o||c);h!==k&&null!=(u=y[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)}l&&((u=!f&&u)&&p--,r&&g.push(u))}if(p+=h,l&&h!==p){for(d=0;f=n[d++];)f(g,v,o,i);if(r){if(p>0)for(;h--;)g[h]||v[h]||(v[h]=K.call(s));v=m(v)}X.apply(s,v),c&&!r&&v.length>0&&p+n.length>1&&t.uniqueSort(s)}return c&&(z=w,_=b),g};return l?r(o):o}var y,w,x,k,S,C,O,M,_,E,P,A,T,j,D,N,I,L,R,B="sizzle"+1*new Date,F=e.document,z=0,U=0,V=n(),H=n(),W=n(),q=n(),G=function(e,t){return e===t&&(P=!0),0},$={}.hasOwnProperty,Z=[],K=Z.pop,Y=Z.push,X=Z.push,J=Z.slice,Q=function(e,t){for(var n=0,r=e.length;n+~]|"+te+")"+te+"*"),ce=new RegExp(te+"|>"),ue=new RegExp(le),de=new RegExp("^"+ne+"$"),fe={ID:new RegExp("^#("+ne+")"),CLASS:new RegExp("^\\.("+ne+")"),TAG:new RegExp("^("+ne+"|[*])"),ATTR:new RegExp("^"+re),PSEUDO:new RegExp("^"+le),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/,ve=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,be=/[+~]/,ye=new RegExp("\\\\([\\da-f]{1,6}"+te+"?|("+te+")|.)","ig"),we=function(e,t,n){var r="0x"+t-65536;return r!==r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|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 n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}for(y in w=t.support={},S=t.isXML=function(e){var t=e.namespaceURI,n=(e.ownerDocument||e).documentElement;return!pe.test(t||n&&n.nodeName||"HTML")},A=t.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:F;return r!==T&&9===r.nodeType&&r.documentElement?(j=(T=r).documentElement,D=!S(T),F!==T&&(n=T.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",Se,!1):n.attachEvent&&n.attachEvent("onunload",Se)),w.attributes=l((function(e){return e.className="i",!e.getAttribute("className")})),w.getElementsByTagName=l((function(e){return e.appendChild(T.createComment("")),!e.getElementsByTagName("*").length})),w.getElementsByClassName=ge.test(T.getElementsByClassName),w.getById=l((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(ye,we);return function(e){return e.getAttribute("id")===t}},x.find.ID=function(e,t){if("undefined"!==typeof t.getElementById&&D){var n=t.getElementById(e);return n?[n]:[]}}):(x.filter.ID=function(e){var t=e.replace(ye,we);return function(e){var n="undefined"!==typeof e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},x.find.ID=function(e,t){if("undefined"!==typeof t.getElementById&&D){var n,r,l,a=t.getElementById(e);if(a){if((n=a.getAttributeNode("id"))&&n.value===e)return[a];for(l=t.getElementsByName(e),r=0;a=l[r++];)if((n=a.getAttributeNode("id"))&&n.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 n,r=[],l=0,a=t.getElementsByTagName(e);if("*"===e){for(;n=a[l++];)1===n.nodeType&&r.push(n);return r}return a},x.find.CLASS=w.getElementsByClassName&&function(e,t){if("undefined"!==typeof t.getElementsByClassName&&D)return t.getElementsByClassName(e)},I=[],N=[],(w.qsa=ge.test(T.querySelectorAll))&&(l((function(e){j.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&N.push("[*^$]="+te+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||N.push("\\["+te+"*(?:value|"+ee+")"),e.querySelectorAll("[id~="+B+"-]").length||N.push("~="),e.querySelectorAll(":checked").length||N.push(":checked"),e.querySelectorAll("a#"+B+"+*").length||N.push(".#.+[+~]")})),l((function(e){e.innerHTML="";var t=T.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&N.push("name"+te+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&N.push(":enabled",":disabled"),j.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&N.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),N.push(",.*:")}))),(w.matchesSelector=ge.test(L=j.matches||j.webkitMatchesSelector||j.mozMatchesSelector||j.oMatchesSelector||j.msMatchesSelector))&&l((function(e){w.disconnectedMatch=L.call(e,"*"),L.call(e,"[s!='']:x"),I.push("!=",le)})),N=N.length&&new RegExp(N.join("|")),I=I.length&&new RegExp(I.join("|")),t=ge.test(j.compareDocumentPosition),R=t||ge.test(j.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}: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 n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!w.sortDetached&&t.compareDocumentPosition(e)===n?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&n?-1:1)}:function(e,t){if(e===t)return P=!0,0;var n,r=0,l=e.parentNode,a=t.parentNode,i=[e],s=[t];if(!l||!a)return e===T?-1:t===T?1:l?-1:a?1:E?Q(E,e)-Q(E,t):0;if(l===a)return o(e,t);for(n=e;n=n.parentNode;)i.unshift(n);for(n=t;n=n.parentNode;)s.unshift(n);for(;i[r]===s[r];)r++;return r?o(i[r],s[r]):i[r]===F?-1:s[r]===F?1:0},T):T},t.matches=function(e,n){return t(e,null,null,n)},t.matchesSelector=function(e,n){if((e.ownerDocument||e)!==T&&A(e),w.matchesSelector&&D&&!q[n+" "]&&(!I||!I.test(n))&&(!N||!N.test(n)))try{var r=L.call(e,n);if(r||w.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(e){q(n,!0)}return t(n,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 n=x.attrHandle[t.toLowerCase()],r=n&&$.call(x.attrHandle,t.toLowerCase())?n(e,t,!D):void 0;return void 0!==r?r:w.attributes||!D?e.getAttribute(t):(r=e.getAttributeNode(t))&&r.specified?r.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,n=[],r=0,l=0;if(P=!w.detectDuplicates,E=!w.sortStable&&e.slice(0),e.sort(G),P){for(;t=e[l++];)t===e[l]&&(r=n.push(l));for(;r--;)e.splice(n[r],1)}return E=null,e},k=t.getText=function(e){var t,n="",r=0,l=e.nodeType;if(l){if(1===l||9===l||11===l){if("string"===typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=k(e)}else if(3===l||4===l)return e.nodeValue}else for(;t=e[r++];)n+=k(t);return n},(x=t.selectors={cacheLength:50,createPseudo:r,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(ye,we),e[3]=(e[3]||e[4]||e[5]||"").replace(ye,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,n=!e[6]&&e[2];return fe.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&ue.test(n)&&(t=C(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(ye,we).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=V[e+" "];return t||(t=new RegExp("(^|"+te+")"+e+"("+te+"|$)"))&&V(e,(function(e){return t.test("string"===typeof e.className&&e.className||"undefined"!==typeof e.getAttribute&&e.getAttribute("class")||"")}))},ATTR:function(e,n,r){return function(l){var a=t.attr(l,e);return null==a?"!="===n:!n||(a+="","="===n?a===r:"!="===n?a!==r:"^="===n?r&&0===a.indexOf(r):"*="===n?r&&a.indexOf(r)>-1:"$="===n?r&&a.slice(-r.length)===r:"~="===n?(" "+a.replace(ae," ")+" ").indexOf(r)>-1:"|="===n&&(a===r||a.slice(0,r.length+1)===r+"-"))}},CHILD:function(e,t,n,r,l){var a="nth"!==e.slice(0,3),o="last"!==e.slice(-4),i="of-type"===t;return 1===r&&0===l?function(e){return!!e.parentNode}:function(t,n,s){var c,u,d,f,p,h,m=a!==o?"nextSibling":"previousSibling",g=t.parentNode,v=i&&t.nodeName.toLowerCase(),b=!s&&!i,y=!1;if(g){if(a){for(;m;){for(f=t;f=f[m];)if(i?f.nodeName.toLowerCase()===v:1===f.nodeType)return!1;h=m="only"===e&&!h&&"nextSibling"}return!0}if(h=[o?g.firstChild:g.lastChild],o&&b){for(y=(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]||(y=p=0)||h.pop();)if(1===f.nodeType&&++y&&f===t){u[e]=[z,p,y];break}}else if(b&&(y=p=(c=(u=(d=(f=t)[B]||(f[B]={}))[f.uniqueID]||(d[f.uniqueID]={}))[e]||[])[0]===z&&c[1]),!1===y)for(;(f=++p&&f&&f[m]||(y=p=0)||h.pop())&&((i?f.nodeName.toLowerCase()!==v:1!==f.nodeType)||!++y||(b&&((u=(d=f[B]||(f[B]={}))[f.uniqueID]||(d[f.uniqueID]={}))[e]=[z,y]),f!==t)););return(y-=l)===r||y%r===0&&y/r>=0}}},PSEUDO:function(e,n){var l,a=x.pseudos[e]||x.setFilters[e.toLowerCase()]||t.error("unsupported pseudo: "+e);return a[B]?a(n):a.length>1?(l=[e,e,"",n],x.setFilters.hasOwnProperty(e.toLowerCase())?r((function(e,t){for(var r,l=a(e,n),o=l.length;o--;)e[r=Q(e,l[o])]=!(t[r]=l[o])})):function(e){return a(e,0,l)}):a}},pseudos:{not:r((function(e){var t=[],n=[],l=O(e.replace(oe,"$1"));return l[B]?r((function(e,t,n,r){for(var a,o=l(e,null,r,[]),i=e.length;i--;)(a=o[i])&&(e[i]=!(t[i]=a))})):function(e,r,a){return t[0]=e,l(t,null,a,n),t[0]=null,!n.pop()}})),has:r((function(e){return function(n){return t(e,n).length>0}})),contains:r((function(e){return e=e.replace(ye,we),function(t){return(t.textContent||k(t)).indexOf(e)>-1}})),lang:r((function(e){return de.test(e||"")||t.error("unsupported lang: "+e),e=e.replace(ye,we).toLowerCase(),function(t){var n;do{if(n=D?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}})),target:function(t){var n=e.location&&e.location.hash;return n&&n.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,n){return[n<0?n+t:n]})),even:s((function(e,t){for(var n=0;nt?t:n;--r>=0;)e.push(r);return e})),gt:s((function(e,t,n){for(var r=n<0?n+t:n;++r2&&"ID"===(o=a[0]).type&&9===t.nodeType&&D&&x.relative[a[1].type]){if(!(t=(x.find.ID(o.matches[0].replace(ye,we),t)||[])[0]))return n;u&&(t=t.parentNode),e=e.slice(a.shift().value.length)}for(l=fe.needsContext.test(e)?0:a.length;l--&&(o=a[l],!x.relative[i=o.type]);)if((s=x.find[i])&&(r=s(o.matches[0].replace(ye,we),be.test(a[0].type)&&c(t.parentNode)||t))){if(a.splice(l,1),!(e=r.length&&d(a)))return X.apply(n,r),n;break}}return(u||O(e,f))(r,t,!D,n,!t||be.test(e)&&c(t.parentNode)||t),n},w.sortStable=B.split("").sort(G).join("")===B,w.detectDuplicates=!!P,A(),w.sortDetached=l((function(e){return 1&e.compareDocumentPosition(T.createElement("fieldset"))})),l((function(e){return e.innerHTML="","#"===e.firstChild.getAttribute("href")}))||a("type|href|height|width",(function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)})),w.attributes&&l((function(e){return e.innerHTML="",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")}))||a("value",(function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue})),l((function(e){return null==e.getAttribute("disabled")}))||a(ee,(function(e,t,n){var r;if(!n)return!0===e[t]?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null})),t}(n);be.find=we,be.expr=we.selectors,be.expr[":"]=be.expr.pseudos,be.uniqueSort=be.unique=we.uniqueSort,be.text=we.getText,be.isXMLDoc=we.isXML,be.contains=we.contains,be.escapeSelector=we.escape;var xe=function(e,t,n){for(var r=[],l=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(l&&be(e).is(n))break;r.push(e)}return r},ke=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},Se=be.expr.match.needsContext,Ce=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;be.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?be.find.matchesSelector(r,e)?[r]:[]:be.find.matches(e,be.grep(t,(function(e){return 1===e.nodeType})))},be.fn.extend({find:function(e){var t,n,r=this.length,l=this;if("string"!==typeof e)return this.pushStack(be(e).filter((function(){for(t=0;t1?be.uniqueSort(n):n},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)?be(e):e||[],!1).length}});var Oe,Me=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(be.fn.init=function(e,t,n){var r,l;if(!e)return this;if(n=n||Oe,"string"===typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:Me.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof be?t[0]:t,be.merge(this,be.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:re,!0)),Ce.test(r[1])&&be.isPlainObject(t))for(r in t)me(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(l=re.getElementById(r[2]))&&(this[0]=l,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):me(e)?void 0!==n.ready?n.ready(e):e(be):be.makeArray(e,this)}).prototype=be.fn,Oe=be(re);var _e=/^(?:parents|prev(?:Until|All))/,Ee={children:!0,contents:!0,next:!0,prev:!0};be.fn.extend({has:function(e){var t=be(e,this),n=t.length;return this.filter((function(){for(var e=0;e-1:1===n.nodeType&&be.find.matchesSelector(n,e))){a.push(n);break}return this.pushStack(a.length>1?be.uniqueSort(a):a)},index:function(e){return e?"string"===typeof e?se.call(be(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(be.uniqueSort(be.merge(this.get(),be(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),be.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,n){return xe(e,"parentNode",n)},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,n){return xe(e,"nextSibling",n)},prevUntil:function(e,t,n){return xe(e,"previousSibling",n)},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),be.merge([],e.childNodes))}},(function(e,t){be.fn[e]=function(n,r){var l=be.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"===typeof r&&(l=be.filter(r,l)),this.length>1&&(Ee[e]||be.uniqueSort(l),_e.test(e)&&l.reverse()),this.pushStack(l)}}));var Pe=/[^\x20\t\r\n\f]+/g;be.Callbacks=function(e){e="string"===typeof e?function(e){var t={};return be.each(e.match(Pe)||[],(function(e,n){t[n]=!0})),t}(e):be.extend({},e);var t,n,r,l,a=[],i=[],s=-1,c=function(){for(l=l||e.once,r=t=!0;i.length;s=-1)for(n=i.shift();++s-1;)a.splice(n,1),n<=s&&s--})),this},has:function(e){return e?be.inArray(e,a)>-1:a.length>0},empty:function(){return a&&(a=[]),this},disable:function(){return l=i=[],a=n="",this},disabled:function(){return!a},lock:function(){return l=i=[],n||t||(a=n=""),this},locked:function(){return!!l},fireWith:function(e,n){return l||(n=[e,(n=n||[]).slice?n.slice():n],i.push(n),t||c()),this},fire:function(){return u.fireWith(this,arguments),this},fired:function(){return!!r}};return u},be.extend({Deferred:function(e){var t=[["notify","progress",be.Callbacks("memory"),be.Callbacks("memory"),2],["resolve","done",be.Callbacks("once memory"),be.Callbacks("once memory"),0,"resolved"],["reject","fail",be.Callbacks("once memory"),be.Callbacks("once memory"),1,"rejected"]],r="pending",l={state:function(){return r},always:function(){return a.done(arguments).fail(arguments),this},catch:function(e){return l.then(null,e)},pipe:function(){var e=arguments;return be.Deferred((function(n){be.each(t,(function(t,r){var l=me(e[r[4]])&&e[r[4]];a[r[1]]((function(){var e=l&&l.apply(this,arguments);e&&me(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[r[0]+"With"](this,l?[e]:arguments)}))})),e=null})).promise()},then:function(e,r,l){function a(e,t,r,l){return function(){var i=this,s=arguments,c=function(){var n,c;if(!(e=o&&(r!==f&&(i=void 0,s=[n]),t.rejectWith(i,s))}};e?u():(be.Deferred.getStackHook&&(u.stackTrace=be.Deferred.getStackHook()),n.setTimeout(u))}}var o=0;return be.Deferred((function(n){t[0][3].add(a(0,n,me(l)?l:d,n.notifyWith)),t[1][3].add(a(0,n,me(e)?e:d)),t[2][3].add(a(0,n,me(r)?r:f))})).promise()},promise:function(e){return null!=e?be.extend(e,l):l}},a={};return be.each(t,(function(e,n){var o=n[2],i=n[5];l[n[1]]=o.add,i&&o.add((function(){r=i}),t[3-e][2].disable,t[3-e][3].disable,t[0][2].lock,t[0][3].lock),o.add(n[3].fire),a[n[0]]=function(){return a[n[0]+"With"](this===a?void 0:this,arguments),this},a[n[0]+"With"]=o.fireWith})),l.promise(a),e&&e.call(a,a),a},when:function(e){var t=arguments.length,n=t,r=Array(n),l=ae.call(arguments),a=be.Deferred(),o=function(e){return function(n){r[e]=this,l[e]=arguments.length>1?ae.call(arguments):n,--t||a.resolveWith(r,l)}};if(t<=1&&(p(e,a.done(o(n)).resolve,a.reject,!t),"pending"===a.state()||me(l[n]&&l[n].then)))return a.then();for(;n--;)p(l[n],o(n),a.reject);return a.promise()}});var Ae=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;be.Deferred.exceptionHook=function(e,t){n.console&&n.console.warn&&e&&Ae.test(e.name)&&n.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},be.readyException=function(e){n.setTimeout((function(){throw e}))};var Te=be.Deferred();be.fn.ready=function(e){return Te.then(e).catch((function(e){be.readyException(e)})),this},be.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--be.readyWait:be.isReady)||(be.isReady=!0,!0!==e&&--be.readyWait>0||Te.resolveWith(re,[be]))}}),be.ready.then=Te.then,"complete"===re.readyState||"loading"!==re.readyState&&!re.documentElement.doScroll?n.setTimeout(be.ready):(re.addEventListener("DOMContentLoaded",h),n.addEventListener("load",h));var je=function(e,t,n,r,l,a,i){var s=0,c=e.length,u=null==n;if("object"===o(n))for(s in l=!0,n)je(e,t,s,n[s],!0,a,i);else if(void 0!==r&&(l=!0,me(r)||(i=!0),u&&(i?(t.call(e,r),t=null):(u=t,t=function(e,t,n){return u.call(be(e),n)})),t))for(;s1,null,!0)},removeData:function(e){return this.each((function(){Re.remove(this,e)}))}}),be.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=Le.get(e,t),n&&(!r||Array.isArray(n)?r=Le.access(e,t,be.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=be.queue(e,t),r=n.length,l=n.shift(),a=be._queueHooks(e,t);"inprogress"===l&&(l=n.shift(),r--),l&&("fx"===t&&n.unshift("inprogress"),delete a.stop,l.call(e,(function(){be.dequeue(e,t)}),a)),!r&&a&&a.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return Le.get(e,n)||Le.access(e,n,{empty:be.Callbacks("once memory").add((function(){Le.remove(e,[t+"queue",n])}))})}}),be.fn.extend({queue:function(e,t){var n=2;return"string"!==typeof e&&(t=e,e="fx",n--),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=re.createDocumentFragment().appendChild(re.createElement("div")),t=re.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/,nt=/^([^.]*)(?:\.(.+)|)/;be.event={global:{},add:function(e,t,n,r,l){var a,o,i,s,c,u,d,f,p,h,m,g=Le.get(e);if(g)for(n.handler&&(n=(a=n).handler,l=a.selector),l&&be.find.matchesSelector(He,l),n.guid||(n.guid=be.guid++),(s=g.events)||(s=g.events={}),(o=g.handle)||(o=g.handle=function(t){return"undefined"!==typeof be&&be.event.triggered!==t.type?be.event.dispatch.apply(e,arguments):void 0}),c=(t=(t||"").match(Pe)||[""]).length;c--;)p=m=(i=nt.exec(t[c])||[])[1],h=(i[2]||"").split(".").sort(),p&&(d=be.event.special[p]||{},p=(l?d.delegateType:d.bindType)||p,d=be.event.special[p]||{},u=be.extend({type:p,origType:m,data:r,handler:n,guid:n.guid,selector:l,needsContext:l&&be.expr.match.needsContext.test(l),namespace:h.join(".")},a),(f=s[p])||((f=s[p]=[]).delegateCount=0,d.setup&&!1!==d.setup.call(e,r,h,o)||e.addEventListener&&e.addEventListener(p,o)),d.add&&(d.add.call(e,u),u.handler.guid||(u.handler.guid=n.guid)),l?f.splice(f.delegateCount++,0,u):f.push(u),be.event.global[p]=!0)},remove:function(e,t,n,r,l){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=nt.exec(t[c])||[])[1],h=(i[2]||"").split(".").sort(),p){for(d=be.event.special[p]||{},f=s[p=(r?d.delegateType:d.bindType)||p]||[],i=i[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),o=a=f.length;a--;)u=f[a],!l&&m!==u.origType||n&&n.guid!==u.guid||i&&!i.test(u.namespace)||r&&r!==u.selector&&("**"!==r||!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)||be.removeEvent(e,p,g.handle),delete s[p])}else for(p in s)be.event.remove(e,p+t[c],n,r,!0);be.isEmptyObject(s)&&Le.remove(e,"handle events")}},dispatch:function(e){var t,n,r,l,a,o,i=be.event.fix(e),s=new Array(arguments.length),c=(Le.get(this,"events")||{})[i.type]||[],u=be.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={},n=0;n-1:be.find(l,this,null,[c]).length),o[l]&&a.push(r);a.length&&i.push({elem:c,handlers:a})}return c=this,s\x20\t\r\n\f]*)[^>]*)\/>/gi,lt=/\s*$/g;be.extend({htmlPrefilter:function(e){return e.replace(rt,"<$1>")},clone:function(e,t,n){var r,l,a,o,i=e.cloneNode(!0),s=We(e);if(!he.noCloneChecked&&(1===e.nodeType||11===e.nodeType)&&!be.isXMLDoc(e))for(o=k(i),r=0,l=(a=k(e)).length;r0&&S(o,!s&&k(e,"script")),i},cleanData:function(e){for(var t,n,r,l=be.event.special,a=0;void 0!==(n=e[a]);a++)if(Ie(n)){if(t=n[Le.expando]){if(t.events)for(r in t.events)l[r]?be.event.remove(n,r):be.removeEvent(n,r,t.handle);n[Le.expando]=void 0}n[Re.expando]&&(n[Re.expando]=void 0)}}}),be.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?be.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 I(this,arguments,(function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||A(this,e).appendChild(e)}))},prepend:function(){return I(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 I(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this)}))},after:function(){return I(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&&(be.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 be.clone(this,e,t)}))},html:function(e){return je(this,(function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"===typeof e&&!lt.test(e)&&!Je[(Ye.exec(e)||["",""])[1].toLowerCase()]){e=be.htmlPrefilter(e);try{for(;n1)}}),be.Tween=H,H.prototype={constructor:H,init:function(e,t,n,r,l,a){this.elem=e,this.prop=n,this.easing=l||be.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=a||(be.cssNumber[n]?"":"px")},cur:function(){var e=H.propHooks[this.prop];return e&&e.get?e.get(this):H.propHooks._default.get(this)},run:function(e){var t,n=H.propHooks[this.prop];return this.options.duration?this.pos=t=be.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),n&&n.set?n.set(this):H.propHooks._default.set(this),this}},H.prototype.init.prototype=H.prototype,H.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=be.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){be.fx.step[e.prop]?be.fx.step[e.prop](e):1!==e.elem.nodeType||!be.cssHooks[e.prop]&&null==e.elem.style[F(e.prop)]?e.elem[e.prop]=e.now:be.style(e.elem,e.prop,e.now+e.unit)}}},H.propHooks.scrollTop=H.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},be.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},be.fx=H.prototype.init,be.fx.step={};var vt,bt,yt=/^(?:toggle|show|hide)$/,wt=/queueHooks$/;be.Animation=be.extend(Z,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return y(n.elem,e,Ue.exec(t),n),n}]},tweener:function(e,t){me(e)?(t=e,e=["*"]):e=e.match(Pe);for(var n,r=0,l=e.length;r1)},removeAttr:function(e){return this.each((function(){be.removeAttr(this,e)}))}}),be.extend({attr:function(e,t,n){var r,l,a=e.nodeType;if(3!==a&&8!==a&&2!==a)return"undefined"===typeof e.getAttribute?be.prop(e,t,n):(1===a&&be.isXMLDoc(e)||(l=be.attrHooks[t.toLowerCase()]||(be.expr.match.bool.test(t)?xt:void 0)),void 0!==n?null===n?void be.removeAttr(e,t):l&&"set"in l&&void 0!==(r=l.set(e,n,t))?r:(e.setAttribute(t,n+""),n):l&&"get"in l&&null!==(r=l.get(e,t))?r:null==(r=be.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!he.radioValue&&"radio"===t&&s(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,l=t&&t.match(Pe);if(l&&1===e.nodeType)for(;n=l[r++];)e.removeAttribute(n)}}),xt={set:function(e,t,n){return!1===t?be.removeAttr(e,n):e.setAttribute(n,n),n}},be.each(be.expr.match.bool.source.match(/\w+/g),(function(e,t){var n=kt[t]||be.find.attr;kt[t]=function(e,t,r){var l,a,o=t.toLowerCase();return r||(a=kt[o],kt[o]=l,l=null!=n(e,t,r)?o:null,kt[o]=a),l}}));var St=/^(?:input|select|textarea|button)$/i,Ct=/^(?:a|area)$/i;be.fn.extend({prop:function(e,t){return je(this,be.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each((function(){delete this[be.propFix[e]||e]}))}}),be.extend({prop:function(e,t,n){var r,l,a=e.nodeType;if(3!==a&&8!==a&&2!==a)return 1===a&&be.isXMLDoc(e)||(t=be.propFix[t]||t,l=be.propHooks[t]),void 0!==n?l&&"set"in l&&void 0!==(r=l.set(e,n,t))?r:e[t]=n:l&&"get"in l&&null!==(r=l.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=be.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||(be.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)}}),be.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){be.propFix[this.toLowerCase()]=this})),be.fn.extend({addClass:function(e){var t,n,r,l,a,o,i,s=0;if(me(e))return this.each((function(t){be(this).addClass(e.call(this,t,Y(this)))}));if((t=X(e)).length)for(;n=this[s++];)if(l=Y(n),r=1===n.nodeType&&" "+K(l)+" "){for(o=0;a=t[o++];)r.indexOf(" "+a+" ")<0&&(r+=a+" ");l!==(i=K(r))&&n.setAttribute("class",i)}return this},removeClass:function(e){var t,n,r,l,a,o,i,s=0;if(me(e))return this.each((function(t){be(this).removeClass(e.call(this,t,Y(this)))}));if(!arguments.length)return this.attr("class","");if((t=X(e)).length)for(;n=this[s++];)if(l=Y(n),r=1===n.nodeType&&" "+K(l)+" "){for(o=0;a=t[o++];)for(;r.indexOf(" "+a+" ")>-1;)r=r.replace(" "+a+" "," ");l!==(i=K(r))&&n.setAttribute("class",i)}return this},toggleClass:function(e,t){var n=typeof e,r="string"===n||Array.isArray(e);return"boolean"===typeof t&&r?t?this.addClass(e):this.removeClass(e):me(e)?this.each((function(n){be(this).toggleClass(e.call(this,n,Y(this),t),t)})):this.each((function(){var t,l,a,o;if(r)for(l=0,a=be(this),o=X(e);t=o[l++];)a.hasClass(t)?a.removeClass(t):a.addClass(t);else void 0!==e&&"boolean"!==n||((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,n,r=0;for(t=" "+e+" ";n=this[r++];)if(1===n.nodeType&&(" "+K(Y(n))+" ").indexOf(t)>-1)return!0;return!1}});var Ot=/\r/g;be.fn.extend({val:function(e){var t,n,r,l=this[0];return arguments.length?(r=me(e),this.each((function(n){var l;1===this.nodeType&&(null==(l=r?e.call(this,n,be(this).val()):e)?l="":"number"===typeof l?l+="":Array.isArray(l)&&(l=be.map(l,(function(e){return null==e?"":e+""}))),(t=be.valHooks[this.type]||be.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,l,"value")||(this.value=l))}))):l?(t=be.valHooks[l.type]||be.valHooks[l.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(l,"value"))?n:"string"===typeof(n=l.value)?n.replace(Ot,""):null==n?"":n:void 0}}),be.extend({valHooks:{option:{get:function(e){var t=be.find.attr(e,"value");return null!=t?t:K(be.text(e))}},select:{get:function(e){var t,n,r,l=e.options,a=e.selectedIndex,o="select-one"===e.type,i=o?null:[],c=o?a+1:l.length;for(r=a<0?c:o?a:0;r-1)&&(n=!0);return n||(e.selectedIndex=-1),a}}}}),be.each(["radio","checkbox"],(function(){be.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=be.inArray(be(e).val(),t)>-1}},he.checkOn||(be.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})})),he.focusin="onfocusin"in n;var Mt=/^(?:focusinfocus|focusoutblur)$/,_t=function(e){e.stopPropagation()};be.extend(be.event,{trigger:function(e,t,r,l){var a,o,i,s,c,u,d,f,p=[r||re],h=de.call(e,"type")?e.type:e,m=de.call(e,"namespace")?e.namespace.split("."):[];if(o=f=i=r=r||re,3!==r.nodeType&&8!==r.nodeType&&!Mt.test(h+be.event.triggered)&&(h.indexOf(".")>-1&&(m=h.split("."),h=m.shift(),m.sort()),c=h.indexOf(":")<0&&"on"+h,(e=e[be.expando]?e:new be.Event(h,"object"===typeof e&&e)).isTrigger=l?2:3,e.namespace=m.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+m.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=r),t=null==t?[e]:be.makeArray(t,[e]),d=be.event.special[h]||{},l||!d.trigger||!1!==d.trigger.apply(r,t))){if(!l&&!d.noBubble&&!ge(r)){for(s=d.delegateType||h,Mt.test(s+h)||(o=o.parentNode);o;o=o.parentNode)p.push(o),i=o;i===(r.ownerDocument||re)&&p.push(i.defaultView||i.parentWindow||n)}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&&Ie(o)&&(e.result=u.apply(o,t),!1===e.result&&e.preventDefault());return e.type=h,l||e.isDefaultPrevented()||d._default&&!1!==d._default.apply(p.pop(),t)||!Ie(r)||c&&me(r[h])&&!ge(r)&&((i=r[c])&&(r[c]=null),be.event.triggered=h,e.isPropagationStopped()&&f.addEventListener(h,_t),r[h](),e.isPropagationStopped()&&f.removeEventListener(h,_t),be.event.triggered=void 0,i&&(r[c]=i)),e.result}},simulate:function(e,t,n){var r=be.extend(new be.Event,n,{type:e,isSimulated:!0});be.event.trigger(r,null,t)}}),be.fn.extend({trigger:function(e,t){return this.each((function(){be.event.trigger(e,t,this)}))},triggerHandler:function(e,t){var n=this[0];if(n)return be.event.trigger(e,t,n,!0)}}),he.focusin||be.each({focus:"focusin",blur:"focusout"},(function(e,t){var n=function(e){be.event.simulate(t,e.target,be.event.fix(e))};be.event.special[t]={setup:function(){var r=this.ownerDocument||this,l=Le.access(r,t);l||r.addEventListener(e,n,!0),Le.access(r,t,(l||0)+1)},teardown:function(){var r=this.ownerDocument||this,l=Le.access(r,t)-1;l?Le.access(r,t,l):(r.removeEventListener(e,n,!0),Le.remove(r,t))}}}));var Et=n.location,Pt=Date.now(),At=/\?/;be.parseXML=function(e){var t;if(!e||"string"!==typeof e)return null;try{t=(new n.DOMParser).parseFromString(e,"text/xml")}catch(e){t=void 0}return t&&!t.getElementsByTagName("parsererror").length||be.error("Invalid XML: "+e),t};var Tt=/\[\]$/,jt=/\r?\n/g,Dt=/^(?:submit|button|image|reset|file)$/i,Nt=/^(?:input|select|textarea|keygen)/i;be.param=function(e,t){var n,r=[],l=function(e,t){var n=me(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!be.isPlainObject(e))be.each(e,(function(){l(this.name,this.value)}));else for(n in e)J(n,e[n],t,l);return r.join("&")},be.fn.extend({serialize:function(){return be.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var e=be.prop(this,"elements");return e?be.makeArray(e):this})).filter((function(){var e=this.type;return this.name&&!be(this).is(":disabled")&&Nt.test(this.nodeName)&&!Dt.test(e)&&(this.checked||!Ke.test(e))})).map((function(e,t){var n=be(this).val();return null==n?null:Array.isArray(n)?be.map(n,(function(e){return{name:t.name,value:e.replace(jt,"\r\n")}})):{name:t.name,value:n.replace(jt,"\r\n")}})).get()}});var It=/%20/g,Lt=/#.*$/,Rt=/([?&])_=[^&]*/,Bt=/^(.*?):[ \t]*([^\r\n]*)$/gm,Ft=/^(?:GET|HEAD)$/,zt=/^\/\//,Ut={},Vt={},Ht="*/".concat("*"),Wt=re.createElement("a");Wt.href=Et.href,be.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:{"*":Ht,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":be.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?te(te(e,be.ajaxSettings),t):te(be.ajaxSettings,e)},ajaxPrefilter:Q(Ut),ajaxTransport:Q(Vt),ajax:function(e,t){function r(e,t,r,i){var c,f,p,w,x,k=t;u||(u=!0,s&&n.clearTimeout(s),l=void 0,o=i||"",S.readyState=e>0?4:0,c=e>=200&&e<300||304===e,r&&(w=function(e,t,n){for(var r,l,a,o,i=e.contents,s=e.dataTypes;"*"===s[0];)s.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(l in i)if(i[l]&&i[l].test(r)){s.unshift(l);break}if(s[0]in n)a=s[0];else{for(l in n){if(!s[0]||e.converters[l+" "+s[0]]){a=l;break}o||(o=l)}a=a||o}if(a)return a!==s[0]&&s.unshift(a),n[a]}(h,S,r)),w=function(e,t,n,r){var l,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]&&(n[e.responseFields[a]]=t),!s&&r&&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(l in c)if((i=l.split(" "))[1]===a&&(o=c[s+" "+i[0]]||c["* "+i[0]])){!0===o?o=c[l]:!0!==c[l]&&(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"))&&(be.lastModified[a]=x),(x=S.getResponseHeader("etag"))&&(be.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?v.resolveWith(m,[f,k,S]):v.rejectWith(m,[S,k,p]),S.statusCode(y),y=void 0,d&&g.trigger(c?"ajaxSuccess":"ajaxError",[S,h,c?f:p]),b.fireWith(m,[S,k]),d&&(g.trigger("ajaxComplete",[S,h]),--be.active||be.event.trigger("ajaxStop")))}"object"===typeof e&&(t=e,e=void 0),t=t||{};var l,a,o,i,s,c,u,d,f,p,h=be.ajaxSetup({},t),m=h.context||h,g=h.context&&(m.nodeType||m.jquery)?be(m):be.event,v=be.Deferred(),b=be.Callbacks("once memory"),y=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)y[t]=[y[t],e[t]];return this},abort:function(e){var t=e||k;return l&&l.abort(t),r(0,t),this}};if(v.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=re.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=be.param(h.data,h.traditional)),ee(Ut,h,t,S),u)return S;for(f in(d=be.event&&h.global)&&0===be.active++&&be.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(It,"+")):(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&&(be.lastModified[a]&&S.setRequestHeader("If-Modified-Since",be.lastModified[a]),be.etag[a]&&S.setRequestHeader("If-None-Match",be.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]?", "+Ht+"; 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",b.add(h.complete),S.done(h.success),S.fail(h.error),l=ee(Vt,h,t,S)){if(S.readyState=1,d&&g.trigger("ajaxSend",[S,h]),u)return S;h.async&&h.timeout>0&&(s=n.setTimeout((function(){S.abort("timeout")}),h.timeout));try{u=!1,l.send(w,r)}catch(e){if(u)throw e;r(-1,e)}}else r(-1,"No Transport");return S},getJSON:function(e,t,n){return be.get(e,t,n,"json")},getScript:function(e,t){return be.get(e,void 0,t,"script")}}),be.each(["get","post"],(function(e,t){be[t]=function(e,n,r,l){return me(n)&&(l=l||r,r=n,n=void 0),be.ajax(be.extend({url:e,type:t,dataType:l,data:n,success:r},be.isPlainObject(e)&&e))}})),be._evalUrl=function(e,t){return be.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){be.globalEval(e,t)}})},be.fn.extend({wrapAll:function(e){var t;return this[0]&&(me(e)&&(e=e.call(this[0])),t=be(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){be(this).wrapInner(e.call(this,t))})):this.each((function(){var t=be(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)}))},wrap:function(e){var t=me(e);return this.each((function(n){be(this).wrapAll(t?e.call(this,n):e)}))},unwrap:function(e){return this.parent(e).not("body").each((function(){be(this).replaceWith(this.childNodes)})),this}}),be.expr.pseudos.hidden=function(e){return!be.expr.pseudos.visible(e)},be.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},be.ajaxSettings.xhr=function(){try{return new n.XMLHttpRequest}catch(e){}};var qt={0:200,1223:204},Gt=be.ajaxSettings.xhr();he.cors=!!Gt&&"withCredentials"in Gt,he.ajax=Gt=!!Gt,be.ajaxTransport((function(e){var t,r;if(he.cors||Gt&&!e.crossDomain)return{send:function(l,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||l["X-Requested-With"]||(l["X-Requested-With"]="XMLHttpRequest"),l)i.setRequestHeader(o,l[o]);t=function(e){return function(){t&&(t=r=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(qt[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(),r=i.onerror=i.ontimeout=t("error"),void 0!==i.onabort?i.onabort=r:i.onreadystatechange=function(){4===i.readyState&&n.setTimeout((function(){t&&r()}))},t=t("abort");try{i.send(e.hasContent&&e.data||null)}catch(e){if(t)throw e}},abort:function(){t&&t()}}})),be.ajaxPrefilter((function(e){e.crossDomain&&(e.contents.script=!1)})),be.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 be.globalEval(e),e}}}),be.ajaxPrefilter("script",(function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")})),be.ajaxTransport("script",(function(e){var t,n;if(e.crossDomain||e.scriptAttrs)return{send:function(r,l){t=be("