/*! For license information please see main.360fcb1572e52d2e80bf.chunk.js.LICENSE.txt */ (window.webpackJsonp=window.webpackJsonp||[]).push([[0],{0:function(e,t){},"000e687100360508b435":function(e,t,l){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(e){return"@@redux-saga/"+e},r=n("CANCEL_PROMISE"),a=n("CHANNEL_END"),o=n("IO"),i=n("MATCH"),s=n("MULTICAST"),c=n("SAGA_ACTION"),u=n("SELF_CANCELLATION"),d=n("TASK"),f=n("TASK_CANCEL"),p=n("TERMINATE"),h=n("LOCATION");t.CANCEL=r,t.CHANNEL_END_TYPE=a,t.IO=o,t.MATCH=i,t.MULTICAST=s,t.SAGA_ACTION=c,t.SAGA_LOCATION=h,t.SELF_CANCELLATION=u,t.TASK=d,t.TASK_CANCEL=f,t.TERMINATE=p},"002804eaebe08a8169b6":function(e,t,l){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PhotoshopPicker=void 0;var n=i(l("8af190b70a6bc55c6f1b")),r=i(l("608c27659c3f9bc71af5")),a=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&(t[l]=e[l]);return t.default=e,t}(l("dd2851c8aa973ffe308b")),o=l("cdbdceb308980cb97c93");function i(e){return e&&e.__esModule?e:{default:e}}var s=t.PhotoshopPicker=function(e){var t=e.onChange,l=e.rgb,i=e.hsv,s=e.hex,c=(0,r.default)({default:{fields:{paddingTop:"5px",paddingBottom:"9px",width:"80px",position:"relative"},divider:{height:"5px"},RGBwrap:{position:"relative"},RGBinput:{marginLeft:"40%",width:"40%",height:"18px",border:"1px solid #888888",boxShadow:"inset 0 1px 1px rgba(0,0,0,.1), 0 1px 0 0 #ECECEC",marginBottom:"5px",fontSize:"13px",paddingLeft:"3px",marginRight:"10px"},RGBlabel:{left:"0px",top:"0px",width:"34px",textTransform:"uppercase",fontSize:"13px",height:"18px",lineHeight:"22px",position:"absolute"},HEXwrap:{position:"relative"},HEXinput:{marginLeft:"20%",width:"80%",height:"18px",border:"1px solid #888888",boxShadow:"inset 0 1px 1px rgba(0,0,0,.1), 0 1px 0 0 #ECECEC",marginBottom:"6px",fontSize:"13px",paddingLeft:"3px"},HEXlabel:{position:"absolute",top:"0px",left:"0px",width:"14px",textTransform:"uppercase",fontSize:"13px",height:"18px",lineHeight:"22px"},fieldSymbols:{position:"absolute",top:"5px",right:"-7px",fontSize:"13px"},symbol:{height:"20px",lineHeight:"22px",paddingBottom:"7px"}}}),u=function(e,n){e["#"]?a.isValidHex(e["#"])&&t({hex:e["#"],source:"hex"},n):e.r||e.g||e.b?t({r:e.r||l.r,g:e.g||l.g,b:e.b||l.b,source:"rgb"},n):(e.h||e.s||e.v)&&t({h:e.h||i.h,s:e.s||i.s,v:e.v||i.v,source:"hsv"},n)};return n.default.createElement("div",{style:c.fields},n.default.createElement(o.EditableInput,{style:{wrap:c.RGBwrap,input:c.RGBinput,label:c.RGBlabel},label:"h",value:Math.round(i.h),onChange:u}),n.default.createElement(o.EditableInput,{style:{wrap:c.RGBwrap,input:c.RGBinput,label:c.RGBlabel},label:"s",value:Math.round(100*i.s),onChange:u}),n.default.createElement(o.EditableInput,{style:{wrap:c.RGBwrap,input:c.RGBinput,label:c.RGBlabel},label:"v",value:Math.round(100*i.v),onChange:u}),n.default.createElement("div",{style:c.divider}),n.default.createElement(o.EditableInput,{style:{wrap:c.RGBwrap,input:c.RGBinput,label:c.RGBlabel},label:"r",value:l.r,onChange:u}),n.default.createElement(o.EditableInput,{style:{wrap:c.RGBwrap,input:c.RGBinput,label:c.RGBlabel},label:"g",value:l.g,onChange:u}),n.default.createElement(o.EditableInput,{style:{wrap:c.RGBwrap,input:c.RGBinput,label:c.RGBlabel},label:"b",value:l.b,onChange:u}),n.default.createElement("div",{style:c.divider}),n.default.createElement(o.EditableInput,{style:{wrap:c.HEXwrap,input:c.HEXinput,label:c.HEXlabel},label:"#",value:s.replace("#",""),onChange:u}),n.default.createElement("div",{style:c.fieldSymbols},n.default.createElement("div",{style:c.symbol},"\xb0"),n.default.createElement("div",{style:c.symbol},"%"),n.default.createElement("div",{style:c.symbol},"%")))};t.default=s},"00f57ecbb6b5a4cfca6b":function(e,t,l){function n(e){var l;function n(){if(n.enabled){var e=n,r=+new Date,a=r-(l||r);e.diff=a,e.prev=l,e.curr=r,l=r;for(var o=new Array(arguments.length),i=0;i0&&void 0!==arguments[0]&&arguments[0],t=null;try{return void(0!==o.length&&(t=o.pop()).focus({preventScroll:e}))}catch(e){console.warn(["You tried to return focus to",t,"but it is not in the DOM anymore"].join(" "))}},t.popWithoutFocus=function(){o.length>0&&o.pop()},t.setupScopedFocus=function(e){i=e,window.addEventListener?(window.addEventListener("blur",c,!1),document.addEventListener("focus",u,!0)):(window.attachEvent("onBlur",c),document.attachEvent("onFocus",u))},t.teardownScopedFocus=function(){i=null,window.addEventListener?(window.removeEventListener("blur",c),document.removeEventListener("focus",u)):(window.detachEvent("onBlur",c),document.detachEvent("onFocus",u))};var n,r=l("946c421bbd773ef0a0b8"),a=(n=r)&&n.__esModule?n:{default:n};var o=[],i=null,s=!1;function c(){s=!0}function u(){if(s){if(s=!1,!i)return;setTimeout((function(){i.contains(document.activeElement)||((0,a.default)(i)[0]||i).focus()}),0)}}},"021c21eea8a24c5dfc4e":function(e,t,l){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n,r,a=i(l("ef9b7114accb11c5822b")),o=i(l("e130b6eb98e4dd103350"));function i(e){return e&&e.__esModule?e:{default:e}}var s=0,c=0;var u=function(e,t,l){var i=t&&l||0,u=t||[],d=(e=e||{}).node||n,f=void 0!==e.clockseq?e.clockseq:r;if(null==d||null==f){var p=e.random||(e.rng||a.default)();null==d&&(d=n=[1|p[0],p[1],p[2],p[3],p[4],p[5]]),null==f&&(f=r=16383&(p[6]<<8|p[7]))}var h=void 0!==e.msecs?e.msecs:(new Date).getTime(),m=void 0!==e.nsecs?e.nsecs:c+1,g=h-s+(m-c)/1e4;if(g<0&&void 0===e.clockseq&&(f=f+1&16383),(g<0||h>s)&&void 0===e.nsecs&&(m=0),m>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");s=h,c=m,r=f;var b=(1e4*(268435455&(h+=122192928e5))+m)%4294967296;u[i++]=b>>>24&255,u[i++]=b>>>16&255,u[i++]=b>>>8&255,u[i++]=255&b;var v=h/4294967296*1e4&268435455;u[i++]=v>>>8&255,u[i++]=255&v,u[i++]=v>>>24&15|16,u[i++]=v>>>16&255,u[i++]=f>>>8|128,u[i++]=255&f;for(var y=0;y<6;++y)u[i+y]=d[y];return t||(0,o.default)(u)};t.default=u,e.exports=t.default},"02a648851faf9f3e7366":function(e,t,l){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ColorWrap=void 0;var n=Object.assign||function(e){for(var t=1;t0&&e<1/0},u=Array.prototype.slice,d=/^image\/.+$/;function f(e){return d.test(e)}var p=String.fromCharCode,h=s.btoa;function m(e){var t,l=new DataView(e);try{var n,r,a;if(255===l.getUint8(0)&&216===l.getUint8(1))for(var o=l.byteLength,i=2;i+1=8&&(a=s+u)}}}if(a){var d,f,h=l.getUint16(a,n);for(f=0;f1&&void 0!==arguments[1]?arguments[1]:1e11;return g.test(e)?Math.round(e*t)/t:e}function v(e){var t=e.aspectRatio,l=e.height,n=e.width,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"none",a=c(n),o=c(l);if(a&&o){var i=l*t;("contain"===r||"none"===r)&&i>n||"cover"===r&&i1||!x?(o.url=function(e,t){for(var l,n=[],r=new Uint8Array(e);r.length>0;)n.push(p.apply(null,(l=r.subarray(0,8192),Array.from?Array.from(l):u.call(l)))),r=r.subarray(8192);return"data:".concat(t,";base64,").concat(h(n.join("")))}(n,a),s>1&&r(o,function(e){var t=0,l=1,n=1;switch(e){case 2:l=-1;break;case 3:t=-180;break;case 4:n=-1;break;case 5:t=90,n=-1;break;case 6:t=90;break;case 7:t=90,l=-1;break;case 8:t=-90}return{rotate:t,scaleX:l,scaleY:n}}(s))):o.url=x.createObjectURL(t)}else o.url=n;e.load(o)},o.onabort=function(){e.fail(new Error("Aborted to read the image with FileReader."))},o.onerror=function(){e.fail(new Error("Failed to read the image with FileReader."))},o.onloadend=function(){e.reader=null},i?o.readAsArrayBuffer(t):o.readAsDataURL(t)}else this.fail(new Error("The current browser does not support image compression."));else this.fail(new Error("The first argument must be an image File or Blob object."))}else this.fail(new Error("The first argument must be a File or Blob object."))}},{key:"load",value:function(e){var l=this,n=this.file,r=this.image;r.onload=function(){l.draw(t(t({},e),{},{naturalWidth:r.naturalWidth,naturalHeight:r.naturalHeight}))},r.onabort=function(){l.fail(new Error("Aborted to load the image."))},r.onerror=function(){l.fail(new Error("Failed to load the image."))},s.navigator&&/(?:iPad|iPhone|iPod).*?AppleWebKit/i.test(s.navigator.userAgent)&&(r.crossOrigin="anonymous"),r.alt=n.name,r.src=e.url}},{key:"draw",value:function(e){var t=this,l=e.naturalWidth,n=e.naturalHeight,r=e.rotate,a=void 0===r?0:r,i=e.scaleX,s=void 0===i?1:i,u=e.scaleY,d=void 0===u?1:u,p=this.file,h=this.image,m=this.options,g=document.createElement("canvas"),y=g.getContext("2d"),w=Math.abs(a)%180===90,x=("contain"===m.resize||"cover"===m.resize)&&c(m.width)&&c(m.height),S=Math.max(m.maxWidth,0)||1/0,C=Math.max(m.maxHeight,0)||1/0,k=Math.max(m.minWidth,0)||0,_=Math.max(m.minHeight,0)||0,E=l/n,O=m.width,T=m.height;if(w){var A=[C,S];S=A[0],C=A[1];var M=[_,k];k=M[0],_=M[1];var P=[T,O];O=P[0],T=P[1]}x&&(E=O/T);var D=v({aspectRatio:E,width:S,height:C},"contain");S=D.width,C=D.height;var R=v({aspectRatio:E,width:k,height:_},"cover");if(k=R.width,_=R.height,x){var N=v({aspectRatio:E,width:O,height:T},m.resize);O=N.width,T=N.height}else{var B=v({aspectRatio:E,width:O,height:T}),I=B.width;O=void 0===I?l:I;var j=B.height;T=void 0===j?n:j}var L=-(O=Math.floor(b(Math.min(Math.max(O,k),S))))/2,F=-(T=Math.floor(b(Math.min(Math.max(T,_),C))))/2,z=O,U=T,V=[];if(x){var H,W,Z,$,G=v({aspectRatio:E,width:l,height:n},{contain:"cover",cover:"contain"}[m.resize]);Z=G.width,$=G.height,H=(l-Z)/2,W=(n-$)/2,V.push(H,W,Z,$)}if(V.push(L,F,z,U),w){var q=[T,O];O=q[0],T=q[1]}g.width=O,g.height=T,f(m.mimeType)||(m.mimeType=p.type);var K="transparent";if(p.size>m.convertSize&&m.convertTypes.indexOf(m.mimeType)>=0&&(m.mimeType="image/jpeg"),"image/jpeg"===m.mimeType&&(K="#fff"),y.fillStyle=K,y.fillRect(0,0,O,T),m.beforeDraw&&m.beforeDraw.call(this,y,g),!this.aborted&&(y.save(),y.translate(O/2,T/2),y.rotate(a*Math.PI/180),y.scale(s,d),y.drawImage.apply(y,[h].concat(V)),y.restore(),m.drew&&m.drew.call(this,y,g),!this.aborted)){var Y=function(e){t.aborted||t.done({naturalWidth:l,naturalHeight:n,result:e})};g.toBlob?g.toBlob(Y,m.mimeType,m.quality):Y(o(g.toDataURL(m.mimeType,m.quality)))}}},{key:"done",value:function(e){var t,l,n=e.naturalWidth,r=e.naturalHeight,a=e.result,o=this.file,i=this.image,s=this.options;if(x&&!s.checkOrientation&&x.revokeObjectURL(i.src),a)if(s.strict&&a.size>o.size&&s.mimeType===o.type&&!(s.width>n||s.height>r||s.minWidth>n||s.minHeight>r||s.maxWidth0?n:l)(e)}},"052b60f51ae6da363115":function(e,t,l){Object.defineProperty(t,"__esModule",{value:!0});var n=l("98bae3dbabd51089d613"),r=/^\s*at (?:(.*?) ?\()?((?:file|https?|blob|chrome-extension|address|native|eval|webpack||[-a-z]+:|.*bundle|\/).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,a=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:file|https?|blob|chrome|webpack|resource|moz-extension|capacitor).*?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,o=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,i=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,s=/\((\S*)(?::(\d+))(?::(\d+))\)/,c=/Minified React error #\d+;/i;function u(e,t){try{return n.__assign(n.__assign({},e),{stack:e.stack.slice(t)})}catch(t){return e}}function d(e){var t=e&&e.message;return t?t.error&&"string"===typeof t.error.message?t.error.message:t:"No error message"}t.computeStackTrace=function(e){var t=null,l=0;e&&("number"===typeof e.framesToPop?l=e.framesToPop:c.test(e.message)&&(l=1));try{if(t=function(e){if(!e||!e.stacktrace)return null;for(var t,l=e.stacktrace,n=/ line (\d+).*script (?:in )?(\S+)(?:: in function (\S+))?$/i,r=/ line (\d+), column (\d+)\s*(?:in (?:]+)>|([^)]+))\((.*)\))? in (.*):\s*$/i,a=l.split("\n"),o=[],i=0;i eval")>-1&&(t=i.exec(l[3]))?(l[1]=l[1]||"eval",l[3]=t[1],l[4]=t[2],l[5]=""):0!==f||l[5]||void 0===e.columnNumber||(c[0].column=e.columnNumber+1),n={url:l[3],func:l[1]||"?",args:l[2]?l[2].split(","):[],line:l[4]?+l[4]:null,column:l[5]?+l[5]:null}}!n.func&&n.line&&(n.func="?"),c.push(n)}if(!c.length)return null;return{message:d(e),name:e.name,stack:c}}(e))return u(t,l)}catch(e){}return{message:d(e),name:e&&e.name,stack:[],failed:!0}}},"0610821415057bf7a005":function(e,t,l){"use strict";var n=l("8e6d34d5e2b1c9c449c0");t.__esModule=!0,t.default=t.onceSupported=t.optionsSupported=void 0;var r=n(l("c2f6cf857090a00f2a1f")),a=!1;t.optionsSupported=a;var o=!1;t.onceSupported=o;try{var i={get passive(){return t.optionsSupported=a=!0},get once(){return t.onceSupported=o=t.optionsSupported=a=!0}};r.default&&(window.addEventListener("test",i,i),window.removeEventListener("test",i,!0))}catch(e){}var s=function(e,t,l,n){if(n&&"boolean"!==typeof n&&!o){var r=n.once,i=n.capture,s=l;!o&&r&&(s=l.__once||function e(n){this.removeEventListener(t,e,i),l.call(this,n)},l.__once=s),e.addEventListener(t,s,a?n:i)}e.addEventListener(t,l,n)};t.default=s},"07899052b6ad9ac5b1fa":function(e,t,l){"use strict";var n=l("1c3db079b29f5367242a");function r(){}function a(){}a.resetWarningCache=r,e.exports=function(){function e(e,t,l,r,a,o){if(o!==n){var i=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw i.name="Invariant Violation",i}}function t(){return e}e.isRequired=e;var l={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:r};return l.PropTypes=l,l}},"085535a1e09c30d8db5e":function(e,t,l){"use strict";var n=l("8e6d34d5e2b1c9c449c0");t.__esModule=!0,t.default=t.ReactReduxContext=void 0;var r=n(l("8af190b70a6bc55c6f1b")).default.createContext(null);t.ReactReduxContext=r;var a=r;t.default=a},"09689132863af87e59e1":function(e,t,l){var n=l("a1585b80eeeca030383b");"string"===typeof n&&(n=[[e.i,n,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};l("1e4534d1d62a11482e97")(n,r);n.locals&&(e.exports=n.locals)},"09b2597701fdebc2702d":function(e,t,l){"use strict";var n,r,a,o,i=l("2aa670af80007db99a9a"),s=l("cb1dc2f1b0e48e5476a6")();if(s){n=i("Object.prototype.hasOwnProperty"),r=i("RegExp.prototype.exec"),a={};var c=function(){throw a};o={toString:c,valueOf:c},"symbol"===typeof Symbol.toPrimitive&&(o[Symbol.toPrimitive]=c)}var u=i("Object.prototype.toString"),d=Object.getOwnPropertyDescriptor;e.exports=s?function(e){if(!e||"object"!==typeof e)return!1;var t=d(e,"lastIndex");if(!(t&&n(t,"value")))return!1;try{r(e,o)}catch(e){return e===a}}:function(e){return!(!e||"object"!==typeof e&&"function"!==typeof e)&&"[object RegExp]"===u(e)}},"09df9fbaa379fb5af7a2":function(e,t,l){e.exports=l("c1032c1a9ba290409b15")()},"0a76ce3ed9e79e2b1f0e":function(e,t,l){(t=e.exports=l("0e326f80368fd0b1333e")(!1)).push([e.i,".Order_items_list{width:100%;background-color:#f5f5f5;border:1px solid #d3d3d3}.Order_items_entry{display:flex;width:100%;min-height:80px;padding-bottom:5px}.Order_items_entry .Order_item_image{display:flex;width:50px;min-width:50px;height:50px;min-height:50px;margin-right:10px;margin:5px 5px 0 0;overflow:hidden}.Order_items_entry .Order_item_image img{object-fit:cover;object-position:center}.Order_items_entry .Order_item_image.blank{height:unset;min-height:unset}.Order_items_entry .Order_item_description{flex:1;display:flex;flex-direction:column;font-size:12px;padding:0 25px}.Order_item_block{display:flex}.Order_item_block.Item{min-height:55px;border-bottom:1px solid rgba(211,211,211,.3)}.Order_item_block.Item:hover{background-color:#d3d3d3}.Order_item_block .Order_item_row{flex:1;display:flex}.Order_item_block .Order_item_row .Order_item_name{display:flex;flex-direction:column;padding-top:5px;min-width:30%}.Order_item_block .Order_item_row .Order_item_name.header{font-weight:bold;text-transform:uppercase;color:#3e438d}.Order_item_block .Order_item_row .Order_item_quantity{display:flex;flex-direction:column;align-items:flex-end;padding-top:5px;min-width:15%;text-align:right;padding-left:5px}.Order_item_block .Order_item_row .Order_item_quantity.header{font-weight:bold;text-transform:uppercase;color:#3e438d}.Order_item_block .Order_item_row .Order_item_qtdDelivered{display:flex;flex-direction:column;align-items:flex-end;padding-top:5px;min-width:15%;text-align:right;padding-left:5px}.Order_item_block .Order_item_row .Order_item_qtdDelivered.header{font-weight:bold;text-transform:uppercase;color:#3e438d}.Order_item_block .Order_item_row .Order_item_price{display:flex;flex-direction:column;align-items:flex-end;padding-top:5px;min-width:20%;text-align:right;padding-left:5px}.Order_item_block .Order_item_row .Order_item_price.header{font-weight:bold;text-transform:uppercase;color:#3e438d}.Order_item_block .Order_item_row .Order_item_total{display:flex;flex-direction:column;align-items:flex-end;padding-top:5px;min-width:20%;text-align:right;padding-left:5px}.Order_item_block .Order_item_row .Order_item_total.header{font-weight:bold;text-transform:uppercase;color:#3e438d}.Order_item_block .Order_item_row .Order_item_name{font-weight:bold}.Order_item_block .Order_item_row .Order_item_name.extra{padding-left:5px;font-weight:normal;font-size:10px}.Order_item_block .Order_item_row .Order_item_quantity.extra{font-weight:normal;font-size:10px}.Order_item_block .Order_item_row .Order_item_price.extra{font-weight:normal;font-size:10px}.Order_item_block .Order_item_row .Order_item_total.extra{font-weight:normal;font-size:10px}.Order_items_separator{margin:.5px 0}.Order_refund_container{width:100%;height:100%;max-width:1200px;background-color:#fff;overflow:hidden;display:flex;flex-direction:column}.Order_refund_container .Order_refund_header{position:relative;display:flex;align-items:center;justify-content:center;width:100%;height:60px;padding:0 20px;border-bottom:1px solid #d3d3d3;font-weight:bold}.Order_refund_container .Order_refund_header .Order_refund_header_back{position:absolute;top:20px;right:20px;display:flex;height:20px;width:20px;align-items:center;cursor:pointer}.Order_refund_container .Order_refund_header .Order_refund_header_back em{font-size:.9em}.Order_refund_container .Order_refund_header .Order_refund_header_back:hover{color:#141443}.Order_refund_container .Order_refund_header .Order_refund_header_title{font-weight:bold;font-size:1em}.Order_refund_container .Order_refund_content{width:100%;height:calc(100% - 60px);padding:10px;font-size:13px}.Order_refund_container .Order_refund_content .Order_refund_items{height:100%;max-height:100%;padding:10px}.Order_refund_container .Order_refund_content .Order_refund_items .--hasBorder{border-top:1px solid #d3d3d3}.Order_refund_container .Order_refund_content .Order_refund_items .Order_refund_items_container{width:100%;height:calc(100% - 60px);overflow-y:auto;overflow-x:hidden}.Order_refund_container .Order_refund_content .Order_refund_summary{height:100%;padding:10px;border-left:1px solid #d3d3d3;display:flex;flex-direction:column;justify-content:space-between}.Order_refund_container .Order_refund_content .Order_refund_summary .Order_refund_summary_row{margin-top:20px;display:flex;justify-content:space-between}.Order_refund_container .Order_refund_content .Order_refund_summary .Order_refund_summary_row :first-child{font-weight:bold}.Order_refund_container .Order_refund_content .Order_refund_title{display:block;font-weight:bold;color:#3e438d}.Order_refund_container .Order_refund_content .Order_refund_items_headers{display:flex;margin-top:20px}.Order_refund_container .Order_refund_content .Order_refund_items_headers *{font-weight:bold}.Order_refund_container .Order_refund_content .Order_refund_items_row{display:flex;margin:10px 0;width:100%}.Order_refund_container .Order_refund_content .Order_refund_items_col_1{display:flex;width:40%;padding-left:5px}.Order_refund_container .Order_refund_content .Order_refund_items_col_1 .Order_refund_item_name{font-weight:bold}.Order_refund_container .Order_refund_content .Order_refund_items_col_1 .Order_refund_item_subname{font-weight:normal;font-size:10px;padding-left:10px}.Order_refund_container .Order_refund_content .Order_refund_items_col_1 .Order_refund_item_image{width:60px;min-width:60px;height:60px;min-height:60px;margin-right:10px;overflow:hidden;box-shadow:0 0 4px 1px #33333370}.Order_refund_container .Order_refund_content .Order_refund_items_col_1 .Order_refund_item_image img{width:100%;height:100%;object-fit:cover;object-position:center}.Order_refund_container .Order_refund_content .Order_refund_items_col_2{display:flex;justify-content:flex-end;align-items:center;width:20%}.Order_refund_container .Order_refund_content .Order_refund_items_col_2.--center{justify-content:center;align-items:flex-start}.Order_refund_container .Order_refund_content .Order_refund_items_col_2 .Order_refund_number_button{display:flex;align-items:center;justify-content:center;width:15px;min-width:15px;height:15px;min-height:15px;background-color:#141443;border-radius:50%;color:#fff;margin:1px 5px 0;user-select:none;font-weight:bold;font-size:1.15em;cursor:pointer}.Order_refund_container .Order_refund_content .Order_refund_items_col_2 .Order_refund_number_button:hover:not(.qty-disabled){background-color:#08081c}.Order_refund_container .Order_refund_content .Order_refund_items_col_2 .Order_refund_number_button.qty-disabled{cursor:not-allowed !important}.Order_refund_container .Order_refund_content .Order_refund_items_col_3{display:flex;justify-content:flex-end;width:20%}.Order_refund_container .Order_refund_content .Order_refund_items_col_4{display:flex;justify-content:flex-end;width:20%;padding-right:10px}.Order_refund_button{margin:10px 0 0;width:100%}.Order_item_footer{padding:10px 25px;font-size:12px}.Order_item_footer_entry{padding:0 !important;display:flex;flex-direction:column;align-items:flex-end;margin-left:20px}.Order_item_footer_entry :first-child{font-weight:bold;color:#3e438d;text-transform:uppercase;padding:0 !important}.DeliveredBy_Card{width:100%;background-color:#f5f5f5;border:1px solid #d3d3d3;padding:10px;border:2px solid #141443;overflow:hidden;justify-content:space-between}.DeliveredBy_Card.hasntPhoto{display:flex;justify-content:space-between;align-items:center}.DeliveredBy_Card.hasPhoto{display:flex}.DeliveredBy_Card .DeliveredBy .Change_DeliveredBy{display:flex;margin-left:10px;color:#141443}.DeliveredBy_Card .DeliveredBy .Change_DeliveredBy em{transform:rotate(-90deg);margin-left:10px;cursor:pointer}.DeliveredBy_Card .DeliveredBy .DeliveredByInfo{align-items:center}.DeliveredBy_Card .DeliveredBy .DeliveredByInfo._hasntPhoto{display:flex;flex-direction:initial}.DeliveredBy_Card .DeliveredBy .DeliveredByInfo .DeliveredBy_Image{object-fit:cover;height:60px;width:60px;opacity:1;border-radius:50%;border:2px solid #fff;box-shadow:0 0 4px 1px #33333370;margin:0 10px 10px 10px}.DeliveredBy_Card .DeliveredBy .DeliveredByInfo span{font-weight:bold}.DeliveredBy_Card .moon-delivery-bike{transform:scale(8);color:#141443;margin-right:41px;margin-top:17px}.DeliveredBy_Card .moon-delivery-bike._hasPhoto{transform:scale(13);margin-right:52px;margin-top:110px}@media screen and (max-width: 768px){.DeliveredBy_Card .moon-delivery-bike{opacity:.5}}.DeliveryServiceColumn{display:flex;align-items:center}.DeliveryServiceColumn p{margin:0 auto}",""]),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"}},"0a9936ebdb71a791edd8":function(e,t,l){Object.defineProperty(t,"__esModule",{value:!0});var n=l("98bae3dbabd51089d613"),r=l("bc9d99ff713fa8e834f8"),a=l("6b00f1d7fb6bde96d1bc"),o=l("9c37e652710639934358"),i=a.getGlobalObject(),s=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n.__extends(t,e),t.prototype.sendEvent=function(e){return this._sendRequest(r.eventToSentryRequest(e,this._api),e)},t.prototype.sendSession=function(e){return this._sendRequest(r.sessionToSentryRequest(e,this._api),e)},t.prototype._sendRequest=function(e,t){var l=this;if(this._isRateLimited(e.type))return Promise.reject({event:t,type:e.type,reason:"Transport locked till "+this._disabledUntil(e.type)+" due to too many requests.",status:429});var n={body:e.body,method:"POST",referrerPolicy:a.supportsReferrerPolicy()?"origin":""};return void 0!==this.options.fetchParameters&&Object.assign(n,this.options.fetchParameters),void 0!==this.options.headers&&(n.headers=this.options.headers),this._buffer.add(new a.SyncPromise((function(t,r){i.fetch(e.url,n).then((function(n){var a={"x-sentry-rate-limits":n.headers.get("X-Sentry-Rate-Limits"),"retry-after":n.headers.get("Retry-After")};l._handleResponse({requestType:e.type,response:n,headers:a,resolve:t,reject:r})})).catch(r)})))},t}(o.BaseTransport);t.FetchTransport=s},"0aac488a388d7f2d0eea":function(e,t){e.exports=function(e){var t="undefined"!==typeof window&&window.location;if(!t)throw new Error("fixUrls requires window.location");if(!e||"string"!==typeof e)return e;var l=t.protocol+"//"+t.host,n=l+t.pathname.replace(/\/[^\/]*$/,"/");return e.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,(function(e,t){var r,a=t.trim().replace(/^"(.*)"$/,(function(e,t){return t})).replace(/^'(.*)'$/,(function(e,t){return t}));return/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/|\s*$)/i.test(a)?e:(r=0===a.indexOf("//")?a:0===a.indexOf("/")?l+a:n+a.replace(/^\.\//,""),"url("+JSON.stringify(r)+")")}))}},"0b395300b8b4613d112c":function(e,t,l){"use strict";t.__esModule=!0,t.default=function(e,t){var l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=l.whitelist||null,r=l.blacklist||null;function a(e){return!(!n||-1!==n.indexOf(e))||!(!r||-1===r.indexOf(e))}return{in:function(t,l,n){return!a(l)&&e?e(t,l,n):t},out:function(e,l,n){return!a(l)&&t?t(e,l,n):e}}}},"0b840adf88f1446e7778":function(e,t){e.exports="data:image/svg+xml,%3C?xml version='1.0' encoding='utf-8'?%3E %3C!-- Generator: Adobe Illustrator 25.2.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --%3E %3Csvg version='1.1' id='svg4209' inkscape:version='0.48.5 r10040' sodipodi:docname='IconoAlergenoMostaza-Mustard.svg' xmlns:cc='http://creativecommons.org/ns%23' xmlns:dc='http://purl.org/dc/elements/1.1/' xmlns:inkscape='http://www.inkscape.org/namespaces/inkscape' xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns%23' xmlns:sodipodi='http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd' xmlns:svg='http://www.w3.org/2000/svg' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 262.2 372' style='enable-background:new 0 0 262.2 372;' xml:space='preserve'%3E %3Cstyle type='text/css'%3E .st0%7Bfill:%23C09328;stroke:%23C09328;stroke-width:0.4;stroke-linecap:round;stroke-linejoin:round;%7D .st1%7Bfill-opacity:0;stroke:%23000000;stroke-width:0.2742;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:21.9348;stroke-opacity:0;%7D .st2%7Bfill:%23FFFFFF;stroke:%23FFFFFF;stroke-width:0.2742;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:21.9348;%7D .st3%7Bfill:%23C09328;stroke:%23C09328;stroke-width:0.2742;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:21.9348;%7D .st4%7Bfill:%23FEFEFE;stroke:%23FEFEFE;stroke-width:0.2742;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:21.9348;%7D %3C/style%3E %3Csodipodi:namedview bordercolor='%23666666' borderopacity='1.0' id='base' inkscape:current-layer='layer1' inkscape:cx='202.74286' inkscape:cy='380.3158' inkscape:document-units='px' inkscape:pageopacity='0.0' inkscape:pageshadow='2' inkscape:window-height='924' inkscape:window-maximized='1' inkscape:window-width='1280' inkscape:window-x='0' inkscape:window-y='28' inkscape:zoom='0.22265811' pagecolor='%23ffffff' showgrid='false'%3E %3C/sodipodi:namedview%3E %3Cg id='layer1' transform='translate(0,-680.31494)' inkscape:groupmode='layer' inkscape:label='Capa 1'%3E %3Cg id='g5086' transform='matrix(5.4836896,0,0,5.4836896,-1151.2895,-1136.0193)'%3E %3Cg id='g5075' transform='translate(-1.3223836e-5,0)'%3E %3Cpath id='path3230-0-5-2' sodipodi:cx='21.573027' sodipodi:cy='29.287827' sodipodi:rx='18.363815' sodipodi:ry='18.720394' sodipodi:type='arc' class='st0' d=' M254.6,360.4c0,11.5-9.3,20.8-20.8,20.8s-20.8-9.3-20.8-20.8s9.3-20.8,20.8-20.8S254.6,349,254.6,360.4z'/%3E %3Cg id='g5066'%3E %3Cpath id='path4377' inkscape:connector-curvature='0' class='st1' d='M231.2,348.8l7.7,7.7l9.8-9.9l-1.9-1.9l-2.4-1.9l-2.1-1.2 l-1.5-0.7l-1.4-0.4L231.2,348.8z'/%3E %3Cg id='g4371' transform='translate(-189.27023,332.14547)'%3E %3Cg id='g4365'%3E %3Cpath id='path4361' inkscape:connector-curvature='0' sodipodi:nodetypes='ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc' class='st2' d=' M435.1,39.9c-0.1-0.3-0.2-0.6-0.3-0.9l-0.5-0.5l-0.8-0.6l-1-0.4l-1.5-0.4l-1.2-0.2l-1.6-0.1l-1,0.1l-1.2,0.4l-1.4,0.5 l-1.1,0.2l-1.7,0l-1.3-0.2l-1.3-0.2l-1.3-0.2l-1.2-0.1l-1.4-0.2l-1.3,0.1l-0.1-0.4l-0.2-0.8l0.1-0.6l0.2-0.2l0.9-0.6l0.9-0.8 l0.4-0.6l0-0.8l-0.1-0.8l-0.1-0.6l-0.2-0.5v-0.5l0.3-0.3l0.6-0.2l0.6-0.3l0.4-0.4l0.4-0.6l0.2-0.6l0.2-0.4l-0.1-0.3l-0.4-0.4 h-0.4l-0.3,0.2l-0.2,0.5l-0.2,0.6l-0.2,0.4l-0.6,0.3l-0.7,0.3l-0.5,0.5l-0.3,0.6l0,0.7l0.2,0.8l0.2,0.8l0.1,0.6l-0.1,0.3 l-0.6,0.4l-0.5,0.4l-0.5,0.4l-0.4,0.3l-0.3,0.6l-0.2,0.8l0.1,0.9l0.1,0.5l0.1,0.5l-0.7,0.3l-0.7,0.6l-0.4,0.6l-0.2,0.8 l0.2,0.8l0.7,0.8l1.1,1l1.1,0.6l1.3,0.5l1.3,0.3l2,0.2l2.2,0.1l2.5,0.2l2.2-0.1l2.2-0.2l1.7-0.3l1.6-0.4l1.7-0.7l1.2-0.7 l0.9-0.8l0.4-0.7L435.1,39.9'/%3E %3Cpath id='path4363' inkscape:connector-curvature='0' class='st3' d='M428.8,42.4l0.8-0.2l0.6-0.2l0.8-0.3l0.6-0.3l0.4-0.3 l0.3-0.3l0.4-0.3l0.3-0.4l0.2-0.5l0.1-0.4l0-0.3l0-0.1l0.2,0.2l0.1,0.3l0,0.2l0,0.3l-0.1,0.2l-0.1,0.2l-0.2,0.3l-0.2,0.2 l-0.3,0.2l-0.3,0.3l-0.4,0.2l-0.5,0.3l-0.3,0.2l-0.3,0.1l-0.4,0.1l-0.4,0.1l-0.3,0l-0.4,0l-0.4,0l-0.2,0L428.8,42.4z'/%3E %3C/g%3E %3Cpath id='path4369' inkscape:connector-curvature='0' class='st4' d='M419.2,25.3l2.5-3.8l-1.9-1.9l1.3-1.3l5.5,5.5l-1.3,1.3 l-1.9-1.9l-3.6,2.5L419.2,25.3z'/%3E %3C/g%3E %3Cpath id='path4406' inkscape:connector-curvature='0' sodipodi:nodetypes='cccccccc' class='st2' d='M231.3,348.8l7.8,7.8 l10.2-10.4c-0.7-1-1.7-1.7-2.8-2.5c-0.4-0.4-1.1-0.8-1.9-1.3c-0.6-0.7-1.4-1.1-2.5-1.4c-0.3-0.4-1.3-0.5-2.5-0.8L231.3,348.8z' /%3E %3C/g%3E %3C/g%3E %3C/g%3E %3C/g%3E %3C/svg%3E"},"0bf5205b88aba8162eac":function(e,t,l){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=a(l("aec43e730db4baaa2f6a")),r=a(l("9582b203e9cc9cae1aa8"));function a(e){return e&&e.__esModule?e:{default:e}}var o=(0,n.default)("v5",80,r.default);t.default=o,e.exports=t.default},"0bf817924258aa08734c":function(e,t,l){"use strict";t.__esModule=!0;var n,r=l("3ab2e978f88fe5b3f2d5"),a=(n=r)&&n.__esModule?n:{default:n};t.default=function(){function e(e,t){for(var l=0;l=0||Object.prototype.hasOwnProperty.call(e,n)&&(l[n]=e[n]);return l},U=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t},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=q(e,g.TITLE),l=q(e,R);if(l&&t)return l.replace(/%s/g,(function(){return Array.isArray(t)?t.join(""):t}));var n=q(e,A);return t||n||void 0},W=function(e){return q(e,D)||function(){}},Z=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)}),{})},$=function(e,t){return t.filter((function(e){return"undefined"!==typeof e[g.BASE]})).map((function(e){return e[g.BASE]})).reverse().reduce((function(t,l){if(!t.length)for(var n=Object.keys(l),r=0;r=0;l--){var n=e[l];if(n.hasOwnProperty(t))return n[t]}return null},K=(r=Date.now(),function(e){var t=Date.now();t-r>16?(r=t,e(t)):setTimeout((function(){K(e)}),0)}),Y=function(e){return clearTimeout(e)},X="undefined"!==typeof window?window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||K:e.requestAnimationFrame||K,J="undefined"!==typeof window?window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||Y:e.cancelAnimationFrame||Y,Q=function(e){return console&&"function"===typeof console.warn&&console.warn(e)},ee=null,te=function(e,t){var l=e.baseTag,n=e.bodyAttributes,r=e.htmlAttributes,a=e.linkTags,o=e.metaTags,i=e.noscriptTags,s=e.onChangeClientState,c=e.scriptTags,u=e.styleTags,d=e.title,f=e.titleAttributes;re(g.BODY,n),re(g.HTML,r),ne(d,f);var p={baseTag:ae(g.BASE,l),linkTags:ae(g.LINK,a),metaTags:ae(g.META,o),noscriptTags:ae(g.NOSCRIPT,i),scriptTags:ae(g.SCRIPT,c),styleTags:ae(g.STYLE,u)},h={},m={};Object.keys(p).forEach((function(e){var t=p[e],l=t.newTags,n=t.oldTags;l.length&&(h[e]=l),n.length&&(m[e]=p[e].oldTags)})),t&&t(),s(e,h,m)},le=function(e){return Array.isArray(e)?e.join(""):e},ne=function(e,t){"undefined"!==typeof e&&document.title!==e&&(document.title=le(e)),re(g.TITLE,t)},re=function(e,t){var l=document.getElementsByTagName(e)[0];if(l){for(var n=l.getAttribute("data-react-helmet"),r=n?n.split(","):[],a=[].concat(r),o=Object.keys(t),i=0;i=0;d--)l.removeAttribute(a[d]);r.length===a.length?l.removeAttribute("data-react-helmet"):l.getAttribute("data-react-helmet")!==o.join(",")&&l.setAttribute("data-react-helmet",o.join(","))}},ae=function(e,t){var l=document.head||document.querySelector(g.HEAD),n=l.querySelectorAll(e+"[data-react-helmet]"),r=Array.prototype.slice.call(n),a=[],o=void 0;return t&&t.length&&t.forEach((function(t){var l=document.createElement(e);for(var n in t)if(t.hasOwnProperty(n))if(n===x)l.innerHTML=t.innerHTML;else if(n===v)l.styleSheet?l.styleSheet.cssText=t.cssText:l.appendChild(document.createTextNode(t.cssText));else{var i="undefined"===typeof t[n]?"":t[n];l.setAttribute(n,i)}l.setAttribute("data-react-helmet","true"),r.some((function(e,t){return o=t,l.isEqualNode(e)}))?r.splice(o,1):a.push(l)})),r.forEach((function(e){return e.parentNode.removeChild(e)})),a.forEach((function(e){return l.appendChild(e)})),{oldTags:r,newTags:a}},oe=function(e){return Object.keys(e).reduce((function(t,l){var n="undefined"!==typeof e[l]?l+'="'+e[l]+'"':""+l;return t?t+" "+n:n}),"")},ie=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(e).reduce((function(t,l){return t[T[l]||l]=e[l],t}),t)},se=function(e,t,l){switch(e){case g.TITLE:return{toComponent:function(){return e=t.title,l=t.titleAttributes,(n={key:e})["data-react-helmet"]=!0,r=ie(l,n),[d.createElement(g.TITLE,r,e)];var e,l,n,r},toString:function(){return function(e,t,l,n){var r=oe(l),a=le(t);return r?"<"+e+' data-react-helmet="true" '+r+">"+V(a,n)+"":"<"+e+' data-react-helmet="true">'+V(a,n)+""}(e,t.title,t.titleAttributes,l)}};case p:case h:return{toComponent:function(){return ie(t)},toString:function(){return oe(t)}};default:return{toComponent:function(){return function(e,t){return t.map((function(t,l){var n,r=((n={key:l})["data-react-helmet"]=!0,n);return Object.keys(t).forEach((function(e){var l=T[e]||e;if(l===x||l===v){var n=t.innerHTML||t.cssText;r.dangerouslySetInnerHTML={__html:n}}else r[l]=t[e]})),d.createElement(e,r)}))}(e,t)},toString:function(){return function(e,t,l){return t.reduce((function(t,n){var r=Object.keys(n).filter((function(e){return!(e===x||e===v)})).reduce((function(e,t){var r="undefined"===typeof n[t]?t:t+'="'+V(n[t],l)+'"';return e?e+" "+r:r}),""),a=n.innerHTML||n.cssText||"",o=-1===B.indexOf(e);return t+"<"+e+' data-react-helmet="true" '+r+(o?"/>":">"+a+"")}),"")}(e,t,l)}}}},ce=function(e){var t=e.baseTag,l=e.bodyAttributes,n=e.encode,r=e.htmlAttributes,a=e.linkTags,o=e.metaTags,i=e.noscriptTags,s=e.scriptTags,c=e.styleTags,u=e.title,d=void 0===u?"":u,f=e.titleAttributes;return{base:se(g.BASE,t,n),bodyAttributes:se(p,l,n),htmlAttributes:se(h,r,n),link:se(g.LINK,a,n),meta:se(g.META,o,n),noscript:se(g.NOSCRIPT,i,n),script:se(g.SCRIPT,s,n),style:se(g.STYLE,c,n),title:se(g.TITLE,{title:d,titleAttributes:f},n)}},ue=c((function(e){return{baseTag:$([y,O],e),bodyAttributes:Z(p,e),defer:q(e,M),encode:q(e,P),htmlAttributes:Z(h,e),linkTags:G(g.LINK,[_,y],e),metaTags:G(g.META,[C,b,w,k,S],e),noscriptTags:G(g.NOSCRIPT,[x],e),onChangeClientState:W(e),scriptTags:G(g.SCRIPT,[E,x],e),styleTags:G(g.STYLE,[v],e),title:H(e),titleAttributes:Z(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 j(this,t),U(this,e.apply(this,arguments))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.shouldComponentUpdate=function(e){return!u(this.props,e)},t.prototype.mapNestedChildrenToProps=function(e,t){if(!t)return null;switch(e.type){case g.SCRIPT:case g.NOSCRIPT:return{innerHTML:t};case g.STYLE:return{cssText:t}}throw new Error("<"+e.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")},t.prototype.flattenArrayTypeChildren=function(e){var t,l=e.child,n=e.arrayTypeChildren,r=e.newChildProps,a=e.nestedChildren;return F({},n,((t={})[l.type]=[].concat(n[l.type]||[],[F({},r,this.mapNestedChildrenToProps(l,a))]),t))},t.prototype.mapObjectTypeChildren=function(e){var t,l,n=e.child,r=e.newProps,a=e.newChildProps,o=e.nestedChildren;switch(n.type){case g.TITLE:return F({},r,((t={})[n.type]=o,t.titleAttributes=F({},a),t));case g.BODY:return F({},r,{bodyAttributes:F({},a)});case g.HTML:return F({},r,{htmlAttributes:F({},a)})}return F({},r,((l={})[n.type]=F({},a),l))},t.prototype.mapArrayTypeChildrenToProps=function(e,t){var l=F({},t);return Object.keys(e).forEach((function(t){var n;l=F({},l,((n={})[t]=e[t],n))})),l},t.prototype.warnOnInvalidChildren=function(e,t){return!0},t.prototype.mapChildrenToProps=function(e,t){var l=this,n={};return d.Children.forEach(e,(function(e){if(e&&e.props){var r=e.props,a=r.children,o=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(e).reduce((function(t,l){return t[N[l]||l]=e[l],t}),t)}(z(r,["children"]));switch(l.warnOnInvalidChildren(e,a),e.type){case g.LINK:case g.META:case g.NOSCRIPT:case g.SCRIPT:case g.STYLE:n=l.flattenArrayTypeChildren({child:e,arrayTypeChildren:n,newChildProps:o,nestedChildren:a});break;default:t=l.mapObjectTypeChildren({child:e,newProps:t,newChildProps:o,nestedChildren:a})}}})),t=this.mapArrayTypeChildrenToProps(n,t)},t.prototype.render=function(){var e=this.props,t=e.children,l=z(e,["children"]),n=F({},l);return t&&(n=this.mapChildrenToProps(t,n)),d.createElement(a,n)},L(t,null,[{key:"canUseDOM",set:function(e){a.canUseDOM=e}}]),t}(d.Component),o.propTypes={base:s.object,bodyAttributes:s.object,children:s.oneOfType([s.arrayOf(s.node),s.node]),defaultTitle:s.string,defer:s.bool,encodeSpecialCharacters:s.bool,htmlAttributes:s.object,link:s.arrayOf(s.object),meta:s.arrayOf(s.object),noscript:s.arrayOf(s.object),onChangeClientState:s.func,script:s.arrayOf(s.object),style:s.arrayOf(s.object),title:s.string,titleAttributes:s.object,titleTemplate:s.string},o.defaultProps={defer:!0,encodeSpecialCharacters:!0},o.peek=a.peek,o.rewind=function(){var e=a.rewind();return e||(e=ce({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}})),e},i);de.renderStatic=de.rewind,t.Helmet=de}).call(this,l("698d75b157f24ae829cc"))},"0d907c47ec602acfa030":function(e,t,l){"use strict";var n=l("e5a243b0d2e9e9bd500e"),r=l("e16a3cd35c890a9c2059");e.exports=function(e){var t,l,a=e.length,o=[],i=[],s=-1;for(;++s=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.isEdge=parseFloat(a.split(" Edge/")[1])||void 0,t.isAIR=a.indexOf("AdobeAIR")>=0,t.isAndroid=a.indexOf("Android")>=0,t.isChromeOS=a.indexOf(" CrOS ")>=0,t.isIOS=/iPad|iPhone|iPod/.test(a)&&!window.MSStream,t.isIOS&&(t.isMac=!0),t.isMobile=t.isIOS||t.isAndroid})),ace.define("ace/lib/dom",["require","exports","module","ace/lib/useragent"],(function(e,t,l){"use strict";var n,r=e("./useragent");t.buildDom=function e(t,l,n){if("string"==typeof t&&t){var r=document.createTextNode(t);return l&&l.appendChild(r),r}if(!Array.isArray(t))return t&&t.appendChild&&l&&l.appendChild(t),t;if("string"!=typeof t[0]||!t[0]){for(var a=[],o=0;o=1.5,r.isChromeOS&&(t.HI_DPI=!1),"undefined"!==typeof document){var s=document.createElement("div");t.HI_DPI&&void 0!==s.style.transform&&(t.HAS_CSS_TRANSFORMS=!0),r.isEdge||"undefined"===typeof s.style.animationName||(t.HAS_CSS_ANIMATION=!0),s=null}t.HAS_CSS_TRANSFORMS?t.translate=function(e,t,l){e.style.transform="translate("+Math.round(t)+"px, "+Math.round(l)+"px)"}:t.translate=function(e,t,l){e.style.top=Math.round(l)+"px",e.style.left=Math.round(t)+"px"}})),ace.define("ace/lib/oop",["require","exports","module"],(function(e,t,l){"use strict";t.inherits=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})},t.mixin=function(e,t){for(var l in t)e[l]=t[l];return e},t.implement=function(e,l){t.mixin(e,l)}})),ace.define("ace/lib/keys",["require","exports","module","ace/lib/oop"],(function(e,t,l){"use strict";var n=e("./oop"),r=function(){var e,t,l={MODIFIER_KEYS:{16:"Shift",17:"Ctrl",18:"Alt",224:"Meta",91:"MetaLeft",92:"MetaRight",93:"ContextMenu"},KEY_MODS:{ctrl:1,alt:2,option:2,shift:4,super:8,meta:8,command:8,cmd:8,control:1},FUNCTION_KEYS:{8:"Backspace",9:"Tab",13:"Return",19:"Pause",27:"Esc",32:"Space",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"Left",38:"Up",39:"Right",40:"Down",44:"Print",45:"Insert",46:"Delete",96:"Numpad0",97:"Numpad1",98:"Numpad2",99:"Numpad3",100:"Numpad4",101:"Numpad5",102:"Numpad6",103:"Numpad7",104:"Numpad8",105:"Numpad9","-13":"NumpadEnter",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"Numlock",145:"Scrolllock"},PRINTABLE_KEYS:{32:" ",48:"0",49:"1",50:"2",51:"3",52:"4",53:"5",54:"6",55:"7",56:"8",57:"9",59:";",61:"=",65:"a",66:"b",67:"c",68:"d",69:"e",70:"f",71:"g",72:"h",73:"i",74:"j",75:"k",76:"l",77:"m",78:"n",79:"o",80:"p",81:"q",82:"r",83:"s",84:"t",85:"u",86:"v",87:"w",88:"x",89:"y",90:"z",107:"+",109:"-",110:".",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'",111:"/",106:"*"}};for(t in l.FUNCTION_KEYS)e=l.FUNCTION_KEYS[t].toLowerCase(),l[e]=parseInt(t,10);for(t in l.PRINTABLE_KEYS)e=l.PRINTABLE_KEYS[t].toLowerCase(),l[e]=parseInt(t,10);return n.mixin(l,l.MODIFIER_KEYS),n.mixin(l,l.PRINTABLE_KEYS),n.mixin(l,l.FUNCTION_KEYS),l.enter=l.return,l.escape=l.esc,l.del=l.delete,l[173]="-",function(){for(var e=["cmd","ctrl","alt","shift"],t=Math.pow(2,e.length);t--;)l.KEY_MODS[t]=e.filter((function(e){return t&l.KEY_MODS[e]})).join("-")+"-"}(),l.KEY_MODS[0]="",l.KEY_MODS[-1]="input-",l}();n.mixin(t,r),t.keyCodeToString=function(e){var t=r[e];return"string"!=typeof t&&(t=String.fromCharCode(e)),t.toLowerCase()}})),ace.define("ace/lib/event",["require","exports","module","ace/lib/keys","ace/lib/useragent"],(function(e,t,l){"use strict";var n,r=e("./keys"),a=e("./useragent"),o=null,i=0;function s(){return void 0==n&&function(){n=!1;try{document.createComment("").addEventListener("test",(function(){}),{get passive(){n={passive:!1}}})}catch(e){}}(),n}function c(e,t,l){this.elem=e,this.type=t,this.callback=l}c.prototype.destroy=function(){d(this.elem,this.type,this.callback),this.elem=this.type=this.callback=void 0};var u=t.addListener=function(e,t,l,n){e.addEventListener(t,l,s()),n&&n.$toDestroy.push(new c(e,t,l))},d=t.removeListener=function(e,t,l){e.removeEventListener(t,l,s())};t.stopEvent=function(e){return t.stopPropagation(e),t.preventDefault(e),!1},t.stopPropagation=function(e){e.stopPropagation&&e.stopPropagation()},t.preventDefault=function(e){e.preventDefault&&e.preventDefault()},t.getButton=function(e){return"dblclick"==e.type?0:"contextmenu"==e.type||a.isMac&&e.ctrlKey&&!e.altKey&&!e.shiftKey?2:e.button},t.capture=function(e,t,l){var n=e&&e.ownerDocument||document;function r(e){t&&t(e),l&&l(e),d(n,"mousemove",t),d(n,"mouseup",r),d(n,"dragstart",r)}return u(n,"mousemove",t),u(n,"mouseup",r),u(n,"dragstart",r),r},t.addMouseWheelListener=function(e,t,l){"onmousewheel"in e?u(e,"mousewheel",(function(e){void 0!==e.wheelDeltaX?(e.wheelX=-e.wheelDeltaX/8,e.wheelY=-e.wheelDeltaY/8):(e.wheelX=0,e.wheelY=-e.wheelDelta/8),t(e)}),l):"onwheel"in e?u(e,"wheel",(function(e){switch(e.deltaMode){case e.DOM_DELTA_PIXEL:e.wheelX=.35*e.deltaX||0,e.wheelY=.35*e.deltaY||0;break;case e.DOM_DELTA_LINE:case e.DOM_DELTA_PAGE:e.wheelX=5*(e.deltaX||0),e.wheelY=5*(e.deltaY||0)}t(e)}),l):u(e,"DOMMouseScroll",(function(e){e.axis&&e.axis==e.HORIZONTAL_AXIS?(e.wheelX=5*(e.detail||0),e.wheelY=0):(e.wheelX=0,e.wheelY=5*(e.detail||0)),t(e)}),l)},t.addMultiMouseDownListener=function(e,l,n,r,o){var i,s,c,d=0,f={2:"dblclick",3:"tripleclick",4:"quadclick"};function p(e){if(0!==t.getButton(e)?d=0:e.detail>1?++d>4&&(d=1):d=1,a.isIE){var o=Math.abs(e.clientX-i)>5||Math.abs(e.clientY-s)>5;c&&!o||(d=1),c&&clearTimeout(c),c=setTimeout((function(){c=null}),l[d-1]||600),1==d&&(i=e.clientX,s=e.clientY)}if(e._clicks=d,n[r]("mousedown",e),d>4)d=0;else if(d>1)return n[r](f[d],e)}Array.isArray(e)||(e=[e]),e.forEach((function(e){u(e,"mousedown",p,o)}))};var f=function(e){return 0|(e.ctrlKey?1:0)|(e.altKey?2:0)|(e.shiftKey?4:0)|(e.metaKey?8:0)};function p(e,t,l){var n=f(t);if(!a.isMac&&o){if(t.getModifierState&&(t.getModifierState("OS")||t.getModifierState("Win"))&&(n|=8),o.altGr){if(3==(3&n))return;o.altGr=0}if(18===l||17===l){var s="location"in t?t.location:t.keyLocation;if(17===l&&1===s)1==o[l]&&(i=t.timeStamp);else if(18===l&&3===n&&2===s){t.timeStamp-i<50&&(o.altGr=!0)}}}if((l in r.MODIFIER_KEYS&&(l=-1),!n&&13===l)&&(3===(s="location"in t?t.location:t.keyLocation)&&(e(t,n,-l),t.defaultPrevented)))return;if(a.isChromeOS&&8&n){if(e(t,n,l),t.defaultPrevented)return;n&=-9}return!!(n||l in r.FUNCTION_KEYS||l in r.PRINTABLE_KEYS)&&e(t,n,l)}function h(){o=Object.create(null)}if(t.getModifierString=function(e){return r.KEY_MODS[f(e)]},t.addCommandKeyListener=function(e,l,n){if(a.isOldGecko||a.isOpera&&!("KeyboardEvent"in window)){var r=null;u(e,"keydown",(function(e){r=e.keyCode}),n),u(e,"keypress",(function(e){return p(l,e,r)}),n)}else{var i=null;u(e,"keydown",(function(e){o[e.keyCode]=(o[e.keyCode]||0)+1;var t=p(l,e,e.keyCode);return i=e.defaultPrevented,t}),n),u(e,"keypress",(function(e){i&&(e.ctrlKey||e.altKey||e.shiftKey||e.metaKey)&&(t.stopEvent(e),i=null)}),n),u(e,"keyup",(function(e){o[e.keyCode]=null}),n),o||(h(),u(window,"focus",h))}},"object"==typeof window&&window.postMessage&&!a.isOldIE){var m=1;t.nextTick=function(e,l){l=l||window;var n="zero-timeout-message-"+m++,r=function(a){a.data==n&&(t.stopPropagation(a),d(l,"message",r),e())};u(l,"message",r),l.postMessage(n,"*")}}t.$idleBlocked=!1,t.onIdle=function(e,l){return setTimeout((function l(){t.$idleBlocked?setTimeout(l,100):e()}),l)},t.$idleBlockId=null,t.blockIdle=function(e){t.$idleBlockId&&clearTimeout(t.$idleBlockId),t.$idleBlocked=!0,t.$idleBlockId=setTimeout((function(){t.$idleBlocked=!1}),e||100)},t.nextFrame="object"==typeof window&&(window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame||window.oRequestAnimationFrame),t.nextFrame?t.nextFrame=t.nextFrame.bind(window):t.nextFrame=function(e){setTimeout(e,17)}})),ace.define("ace/range",["require","exports","module"],(function(e,t,l){"use strict";var n=function(e,t,l,n){this.start={row:e,column:t},this.end={row:l,column:n}};(function(){this.isEqual=function(e){return this.start.row===e.start.row&&this.end.row===e.end.row&&this.start.column===e.start.column&&this.end.column===e.end.column},this.toString=function(){return"Range: ["+this.start.row+"/"+this.start.column+"] -> ["+this.end.row+"/"+this.end.column+"]"},this.contains=function(e,t){return 0==this.compare(e,t)},this.compareRange=function(e){var t,l=e.end,n=e.start;return 1==(t=this.compare(l.row,l.column))?1==(t=this.compare(n.row,n.column))?2:0==t?1:0:-1==t?-2:-1==(t=this.compare(n.row,n.column))?-1:1==t?42:0},this.comparePoint=function(e){return this.compare(e.row,e.column)},this.containsRange=function(e){return 0==this.comparePoint(e.start)&&0==this.comparePoint(e.end)},this.intersects=function(e){var t=this.compareRange(e);return-1==t||0==t||1==t},this.isEnd=function(e,t){return this.end.row==e&&this.end.column==t},this.isStart=function(e,t){return this.start.row==e&&this.start.column==t},this.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)},this.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)},this.inside=function(e,t){return 0==this.compare(e,t)&&(!this.isEnd(e,t)&&!this.isStart(e,t))},this.insideStart=function(e,t){return 0==this.compare(e,t)&&!this.isEnd(e,t)},this.insideEnd=function(e,t){return 0==this.compare(e,t)&&!this.isStart(e,t)},this.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},this.compareStart=function(e,t){return this.start.row==e&&this.start.column==t?-1:this.compare(e,t)},this.compareEnd=function(e,t){return this.end.row==e&&this.end.column==t?1:this.compare(e,t)},this.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)},this.clipRows=function(e,t){if(this.end.row>t)var l={row:t+1,column:0};else if(this.end.rowt)var r={row:t+1,column:0};else if(this.start.row0;)1&t&&(l+=e),(t>>=1)&&(e+=e);return l};var n=/^\s\s*/,r=/\s\s*$/;t.stringTrimLeft=function(e){return e.replace(n,"")},t.stringTrimRight=function(e){return e.replace(r,"")},t.copyObject=function(e){var t={};for(var l in e)t[l]=e[l];return t},t.copyArray=function(e){for(var t=[],l=0,n=e.length;lDate.now()-50)||(n=!1)},cancel:function(){n=Date.now()}}})),ace.define("ace/keyboard/textinput",["require","exports","module","ace/lib/event","ace/lib/useragent","ace/lib/dom","ace/lib/lang","ace/clipboard","ace/lib/keys"],(function(e,t,l){"use strict";var n=e("../lib/event"),r=e("../lib/useragent"),a=e("../lib/dom"),o=e("../lib/lang"),i=e("../clipboard"),s=r.isChrome<18,c=r.isIE,u=r.isChrome>63,d=e("../lib/keys"),f=d.KEY_MODS,p=r.isIOS,h=p?/\s/:/\n/,m=r.isMobile;t.TextInput=function(e,t){var l=a.createElement("textarea");l.className="ace_text-input",l.setAttribute("wrap","off"),l.setAttribute("autocorrect","off"),l.setAttribute("autocapitalize","off"),l.setAttribute("spellcheck",!1),l.style.opacity="0",e.insertBefore(l,e.firstChild);var g=!1,b=!1,v=!1,y=!1,w="";m||(l.style.fontSize="1px");var x=!1,S=!1,C="",k=0,_=0,E=0;try{var O=document.activeElement===l}catch(e){}n.addListener(l,"blur",(function(e){S||(t.onBlur(e),O=!1)}),t),n.addListener(l,"focus",(function(e){if(!S){if(O=!0,r.isEdge)try{if(!document.hasFocus())return}catch(e){}t.onFocus(e),r.isEdge?setTimeout(T):T()}}),t),this.$focusScroll=!1,this.focus=function(){if(w||u||"browser"==this.$focusScroll)return l.focus({preventScroll:!0});var e=l.style.top;l.style.position="fixed",l.style.top="0px";try{var t=0!=l.getBoundingClientRect().top}catch(e){return}var n=[];if(t)for(var r=l.parentElement;r&&1==r.nodeType;)n.push(r),r.setAttribute("ace_nocontext",!0),r=!r.parentElement&&r.getRootNode?r.getRootNode().host:r.parentElement;l.focus({preventScroll:!0}),t&&n.forEach((function(e){e.removeAttribute("ace_nocontext")})),setTimeout((function(){l.style.position="","0px"==l.style.top&&(l.style.top=e)}),0)},this.blur=function(){l.blur()},this.isFocused=function(){return O},t.on("beforeEndOperation",(function(){var e=t.curOp,n=e&&e.command&&e.command.name;if("insertstring"!=n){var r=n&&(e.docChanged||e.selectionChanged);v&&r&&(C=l.value="",F()),T()}}));var T=p?function(e){if(O&&(!g||e)&&!y){e||(e="");var n="\n ab"+e+"cde fg\n";n!=l.value&&(l.value=C=n);var r=4+(e.length||(t.selection.isEmpty()?0:1));4==k&&_==r||l.setSelectionRange(4,r),k=4,_=r}}:function(){if(!v&&!y&&(O||M)){v=!0;var e=0,n=0,r="";if(t.session){var a=t.selection,o=a.getRange(),i=a.cursor.row;if(e=o.start.column,n=o.end.column,r=t.session.getLine(i),o.start.row!=i){var s=t.session.getLine(i-1);e=o.start.rowi+1?c.length:n,n+=r.length+1,r=r+"\n"+c}else m&&i>0&&(r="\n"+r,n+=1,e+=1);r.length>400&&(e<400&&n<400?r=r.slice(0,400):(r="\n",e==n?e=n=0:(e=0,n=1)))}var u=r+"\n\n";if(u!=C&&(l.value=C=u,k=_=u.length),M&&(k=l.selectionStart,_=l.selectionEnd),_!=n||k!=e||l.selectionEnd!=_)try{l.setSelectionRange(e,n),k=e,_=n}catch(e){}v=!1}};this.resetSelection=T,O&&t.onFocus();var A=null;this.setInputHandler=function(e){A=e},this.getInputHandler=function(){return A};var M=!1,P=function(e,n){if(M&&(M=!1),b)return T(),e&&t.onPaste(e),b=!1,"";for(var a=l.selectionStart,o=l.selectionEnd,i=k,s=C.length-_,c=e,u=e.length-a,d=e.length-o,f=0;i>0&&C[f]==e[f];)f++,i--;for(c=c.slice(f),f=1;s>0&&C.length-f>k-1&&C[C.length-f]==e[e.length-f];)f++,s--;u-=f-1,d-=f-1;var p=c.length-f+1;if(p<0&&(i=-p,p=0),c=c.slice(0,p),!n&&!c&&!u&&!i&&!s&&!d)return"";y=!0;var h=!1;return r.isAndroid&&". "==c&&(c=" ",h=!0),c&&!i&&!s&&!u&&!d||x?t.onTextInput(c):t.onTextInput(c,{extendLeft:i,extendRight:s,restoreStart:u,restoreEnd:d}),y=!1,C=e,k=a,_=o,E=d,h?"\n":c},D=function(e){if(v)return L();if(e&&e.inputType){if("historyUndo"==e.inputType)return t.execCommand("undo");if("historyRedo"==e.inputType)return t.execCommand("redo")}var n=l.value,r=P(n,!0);(n.length>500||h.test(r)||m&&k<1&&k==_)&&T()},R=function(e,t,l){var n=e.clipboardData||window.clipboardData;if(n&&!s){var r=c||l?"Text":"text/plain";try{return t?!1!==n.setData(r,t):n.getData(r)}catch(e){if(!l)return R(e,t,!0)}}},N=function(e,r){var a=t.getCopyText();if(!a)return n.preventDefault(e);R(e,a)?(p&&(T(a),g=a,setTimeout((function(){g=!1}),10)),r?t.onCut():t.onCopy(),n.preventDefault(e)):(g=!0,l.value=a,l.select(),setTimeout((function(){g=!1,T(),r?t.onCut():t.onCopy()})))},B=function(e){N(e,!0)},I=function(e){N(e,!1)},j=function(e){var a=R(e);i.pasteCancelled()||("string"==typeof a?(a&&t.onPaste(a,e),r.isIE&&setTimeout(T),n.preventDefault(e)):(l.value="",b=!0))};n.addCommandKeyListener(l,t.onCommandKey.bind(t),t),n.addListener(l,"select",(function(e){v||(g?g=!1:!function(e){return 0===e.selectionStart&&e.selectionEnd>=C.length&&e.value===C&&C&&e.selectionEnd!==_}(l)?m&&l.selectionStart!=k&&T():(t.selectAll(),T()))}),t),n.addListener(l,"input",D,t),n.addListener(l,"cut",B,t),n.addListener(l,"copy",I,t),n.addListener(l,"paste",j,t),"oncut"in l&&"oncopy"in l&&"onpaste"in l||n.addListener(e,"keydown",(function(e){if((!r.isMac||e.metaKey)&&e.ctrlKey)switch(e.keyCode){case 67:I(e);break;case 86:j(e);break;case 88:B(e)}}),t);var L=function(){if(v&&t.onCompositionUpdate&&!t.$readOnly){if(x)return z();if(v.useTextareaForIME)t.onCompositionUpdate(l.value);else{var e=l.value;P(e),v.markerRange&&(v.context&&(v.markerRange.start.column=v.selectionStart=v.context.compositionStartOffset),v.markerRange.end.column=v.markerRange.start.column+_-v.selectionStart+E)}}},F=function(e){t.onCompositionEnd&&!t.$readOnly&&(v=!1,t.onCompositionEnd(),t.off("mousedown",z),e&&D())};function z(){S=!0,l.blur(),l.focus(),S=!1}var U,V=o.delayedCall(L,50).schedule.bind(null,null);function H(){clearTimeout(U),U=setTimeout((function(){w&&(l.style.cssText=w,w=""),t.renderer.$isMousePressed=!1,t.renderer.$keepTextAreaAtCursor&&t.renderer.$moveTextAreaToCursor()}),0)}n.addListener(l,"compositionstart",(function(e){if(!v&&t.onCompositionStart&&!t.$readOnly&&(v={},!x)){e.data&&(v.useTextareaForIME=!1),setTimeout(L,0),t._signal("compositionStart"),t.on("mousedown",z);var n=t.getSelectionRange();n.end.row=n.start.row,n.end.column=n.start.column,v.markerRange=n,v.selectionStart=k,t.onCompositionStart(v),v.useTextareaForIME?(C=l.value="",k=0,_=0):(l.msGetInputContext&&(v.context=l.msGetInputContext()),l.getInputContext&&(v.context=l.getInputContext()))}}),t),n.addListener(l,"compositionupdate",L,t),n.addListener(l,"keyup",(function(e){27==e.keyCode&&l.value.length_&&"\n"==C[a]?o=d.end:n_&&C.slice(0,a).split("\n").length>2?o=d.down:a>_&&" "==C[a-1]?(o=d.right,i=f.option):(a>_||a==_&&_!=k&&n==a)&&(o=d.right),n!==a&&(i|=f.shift),o){if(!t.onCommandKey({},i,o)&&t.commands){o=d.keyCodeToString(o);var s=t.commands.findKeyCommand(i,o);s&&t.execCommand(s)}k=n,_=a,T("")}}};document.addEventListener("selectionchange",a),t.on("destroy",(function(){document.removeEventListener("selectionchange",a)}))}(0,t,l)},t.$setUserAgentForTests=function(e,t){m=e,p=t}})),ace.define("ace/mouse/default_handlers",["require","exports","module","ace/lib/useragent"],(function(e,t,l){"use strict";var n=e("../lib/useragent");function r(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")}function a(e,t){if(e.start.row==e.end.row)var l=2*t.column-e.start.column-e.end.column;else if(e.start.row!=e.end.row-1||e.start.column||e.end.column)l=2*t.row-e.start.row-e.end.row;else var l=t.column-4;return l<0?{cursor:e.start,anchor:e.end}:{cursor:e.end,anchor:e.start}}(function(){this.onMouseDown=function(e){var t=e.inSelection(),l=e.getDocumentPosition();this.mousedownEvent=e;var r=this.editor,a=e.getButton();return 0!==a?((r.getSelectionRange().isEmpty()||1==a)&&r.selection.moveToPosition(l),void(2==a&&(r.textInput.onContextMenu(e.domEvent),n.isMozilla||e.preventDefault()))):(this.mousedownEvent.time=Date.now(),!t||r.isFocused()||(r.focus(),!this.$focusTimeout||this.$clickSelection||r.inMultiSelectMode)?(this.captureMouse(e),this.startSelect(l,e.domEvent._clicks>1),e.preventDefault()):(this.setState("focusWait"),void this.captureMouse(e)))},this.startSelect=function(e,t){e=e||this.editor.renderer.screenToTextCoordinates(this.x,this.y);var l=this.editor;this.mousedownEvent&&(this.mousedownEvent.getShiftKey()?l.selection.selectToPosition(e):t||l.selection.moveToPosition(e),t||this.select(),l.renderer.scroller.setCapture&&l.renderer.scroller.setCapture(),l.setStyle("ace_selecting"),this.setState("select"))},this.select=function(){var e,t=this.editor,l=t.renderer.screenToTextCoordinates(this.x,this.y);if(this.$clickSelection){var n=this.$clickSelection.comparePoint(l);if(-1==n)e=this.$clickSelection.end;else if(1==n)e=this.$clickSelection.start;else{var r=a(this.$clickSelection,l);l=r.cursor,e=r.anchor}t.selection.setSelectionAnchor(e.row,e.column)}t.selection.selectToPosition(l),t.renderer.scrollCursorIntoView()},this.extendSelectionBy=function(e){var t,l=this.editor,n=l.renderer.screenToTextCoordinates(this.x,this.y),r=l.selection[e](n.row,n.column);if(this.$clickSelection){var o=this.$clickSelection.comparePoint(r.start),i=this.$clickSelection.comparePoint(r.end);if(-1==o&&i<=0)t=this.$clickSelection.end,r.end.row==n.row&&r.end.column==n.column||(n=r.start);else if(1==i&&o>=0)t=this.$clickSelection.start,r.start.row==n.row&&r.start.column==n.column||(n=r.end);else if(-1==o&&1==i)n=r.end,t=r.start;else{var s=a(this.$clickSelection,n);n=s.cursor,t=s.anchor}l.selection.setSelectionAnchor(t.row,t.column)}l.selection.selectToPosition(n),l.renderer.scrollCursorIntoView()},this.selectEnd=this.selectAllEnd=this.selectByWordsEnd=this.selectByLinesEnd=function(){this.$clickSelection=null,this.editor.unsetStyle("ace_selecting"),this.editor.renderer.scroller.releaseCapture&&this.editor.renderer.scroller.releaseCapture()},this.focusWait=function(){var e,t,l,n,r=(e=this.mousedownEvent.x,t=this.mousedownEvent.y,l=this.x,n=this.y,Math.sqrt(Math.pow(l-e,2)+Math.pow(n-t,2))),a=Date.now();(r>0||a-this.mousedownEvent.time>this.$focusTimeout)&&this.startSelect(this.mousedownEvent.getDocumentPosition())},this.onDoubleClick=function(e){var t=e.getDocumentPosition(),l=this.editor,n=l.session.getBracketRange(t);n?(n.isEmpty()&&(n.start.column--,n.end.column++),this.setState("select")):(n=l.selection.getWordRange(t.row,t.column),this.setState("selectByWords")),this.$clickSelection=n,this.select()},this.onTripleClick=function(e){var t=e.getDocumentPosition(),l=this.editor;this.setState("selectByLines");var n=l.getSelectionRange();n.isMultiLine()&&n.contains(t.row,t.column)?(this.$clickSelection=l.selection.getLineRange(n.start.row),this.$clickSelection.end=l.selection.getLineRange(n.end.row).end):this.$clickSelection=l.selection.getLineRange(t.row),this.select()},this.onQuadClick=function(e){var t=this.editor;t.selectAll(),this.$clickSelection=t.getSelectionRange(),this.setState("selectAll")},this.onMouseWheel=function(e){if(!e.getAccelKey()){e.getShiftKey()&&e.wheelY&&!e.wheelX&&(e.wheelX=e.wheelY,e.wheelY=0);var t=this.editor;this.$lastScroll||(this.$lastScroll={t:0,vx:0,vy:0,allowed:0});var l=this.$lastScroll,n=e.domEvent.timeStamp,r=n-l.t,a=r?e.wheelX/r:l.vx,o=r?e.wheelY/r:l.vy;r<550&&(a=(a+l.vx)/2,o=(o+l.vy)/2);var i=Math.abs(a/o),s=!1;if(i>=1&&t.renderer.isScrollableBy(e.wheelX*e.speed,0)&&(s=!0),i<=1&&t.renderer.isScrollableBy(0,e.wheelY*e.speed)&&(s=!0),s)l.allowed=n;else if(n-l.allowed<550){Math.abs(a)<=1.5*Math.abs(l.vx)&&Math.abs(o)<=1.5*Math.abs(l.vy)?(s=!0,l.allowed=n):l.allowed=0}return l.t=n,l.vx=a,l.vy=o,s?(t.renderer.scrollBy(e.wheelX*e.speed,e.wheelY*e.speed),e.stop()):void 0}}}).call(r.prototype),t.DefaultHandlers=r})),ace.define("ace/tooltip",["require","exports","module","ace/lib/oop","ace/lib/dom"],(function(e,t,l){"use strict";e("./lib/oop");var n=e("./lib/dom");function r(e){this.isOpen=!1,this.$element=null,this.$parentNode=e}(function(){this.$init=function(){return this.$element=n.createElement("div"),this.$element.className="ace_tooltip",this.$element.style.display="none",this.$parentNode.appendChild(this.$element),this.$element},this.getElement=function(){return this.$element||this.$init()},this.setText=function(e){this.getElement().textContent=e},this.setHtml=function(e){this.getElement().innerHTML=e},this.setPosition=function(e,t){this.getElement().style.left=e+"px",this.getElement().style.top=t+"px"},this.setClassName=function(e){n.addCssClass(this.getElement(),e)},this.show=function(e,t,l){null!=e&&this.setText(e),null!=t&&null!=l&&this.setPosition(t,l),this.isOpen||(this.getElement().style.display="block",this.isOpen=!0)},this.hide=function(){this.isOpen&&(this.getElement().style.display="none",this.isOpen=!1)},this.getHeight=function(){return this.getElement().offsetHeight},this.getWidth=function(){return this.getElement().offsetWidth},this.destroy=function(){this.isOpen=!1,this.$element&&this.$element.parentNode&&this.$element.parentNode.removeChild(this.$element)}}).call(r.prototype),t.Tooltip=r})),ace.define("ace/mouse/default_gutter_handler",["require","exports","module","ace/lib/dom","ace/lib/oop","ace/lib/event","ace/tooltip"],(function(e,t,l){"use strict";var n=e("../lib/dom"),r=e("../lib/oop"),a=e("../lib/event"),o=e("../tooltip").Tooltip;function i(e){o.call(this,e)}r.inherits(i,o),function(){this.setPosition=function(e,t){var l=window.innerWidth||document.documentElement.clientWidth,n=window.innerHeight||document.documentElement.clientHeight,r=this.getWidth(),a=this.getHeight();(e+=15)+r>l&&(e-=e+r-l),(t+=15)+a>n&&(t-=20+a),o.prototype.setPosition.call(this,e,t)}}.call(i.prototype),t.GutterHandler=function(e){var t,l,r,o=e.editor,s=o.renderer.$gutterLayer,c=new i(o.container);function u(){t&&(t=clearTimeout(t)),r&&(c.hide(),r=null,o._signal("hideGutterTooltip",c),o.off("mousewheel",u))}function d(e){c.setPosition(e.x,e.y)}e.editor.setDefaultHandler("guttermousedown",(function(t){if(o.isFocused()&&0==t.getButton()&&"foldWidgets"!=s.getRegion(t)){var l=t.getDocumentPosition().row,n=o.session.selection;if(t.getShiftKey())n.selectTo(l,0);else{if(2==t.domEvent.detail)return o.selectAll(),t.preventDefault();e.$clickSelection=o.selection.getLineRange(l)}return e.setState("selectByLines"),e.captureMouse(t),t.preventDefault()}})),e.editor.setDefaultHandler("guttermousemove",(function(a){var i=a.domEvent.target||a.domEvent.srcElement;if(n.hasCssClass(i,"ace_fold-widget"))return u();r&&e.$tooltipFollowsMouse&&d(a),l=a,t||(t=setTimeout((function(){t=null,l&&!e.isMousePressed?function(){var t=l.getDocumentPosition().row,n=s.$annotations[t];if(!n)return u();if(t==o.session.getLength()){var a=o.renderer.pixelToScreenCoordinates(0,l.y).row,i=l.$pos;if(a>o.session.documentToScreenRow(i.row,i.column))return u()}if(r!=n)if(r=n.text.join("
"),c.setHtml(r),c.show(),o._signal("showGutterTooltip",c),o.on("mousewheel",u),e.$tooltipFollowsMouse)d(l);else{var f=l.domEvent.target.getBoundingClientRect(),p=c.getElement().style;p.left=f.right+"px",p.top=f.bottom+"px"}}():u()}),50))})),a.addListener(o.renderer.$gutter,"mouseout",(function(e){l=null,r&&!t&&(t=setTimeout((function(){t=null,u()}),50))}),o),o.on("changeSession",u)}})),ace.define("ace/mouse/mouse_event",["require","exports","module","ace/lib/event","ace/lib/useragent"],(function(e,t,l){"use strict";var n=e("../lib/event"),r=e("../lib/useragent"),a=t.MouseEvent=function(e,t){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};(function(){this.stopPropagation=function(){n.stopPropagation(this.domEvent),this.propagationStopped=!0},this.preventDefault=function(){n.preventDefault(this.domEvent),this.defaultPrevented=!0},this.stop=function(){this.stopPropagation(),this.preventDefault()},this.getDocumentPosition=function(){return this.$pos||(this.$pos=this.editor.renderer.screenToTextCoordinates(this.clientX,this.clientY)),this.$pos},this.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},this.getButton=function(){return n.getButton(this.domEvent)},this.getShiftKey=function(){return this.domEvent.shiftKey},this.getAccelKey=r.isMac?function(){return this.domEvent.metaKey}:function(){return this.domEvent.ctrlKey}}).call(a.prototype)})),ace.define("ace/mouse/dragdrop_handler",["require","exports","module","ace/lib/dom","ace/lib/event","ace/lib/useragent"],(function(e,t,l){"use strict";var n=e("../lib/dom"),r=e("../lib/event"),a=e("../lib/useragent");function o(e){var t=e.editor,l=n.createElement("div");l.style.cssText="top:-100px;position:absolute;z-index:2147483647;opacity:0.5",l.textContent="\xa0";["dragWait","dragWaitEnd","startDrag","dragReadyEnd","onMouseDrag"].forEach((function(t){e[t]=this[t]}),this),t.on("mousedown",this.onMouseDown.bind(e));var o,s,c,u,d,f,p,h,m,g,b,v=t.container,y=0;function w(){var e=f;(function(e,l){var n=Date.now(),r=!l||e.row!=l.row,a=!l||e.column!=l.column;!g||r||a?(t.moveCursorToPosition(e),g=n,b={x:s,y:c}):i(b.x,b.y,s,c)>5?g=null:n-g>=200&&(t.renderer.scrollCursorIntoView(),g=null)})(f=t.renderer.screenToTextCoordinates(s,c),e),function(e,l){var n=Date.now(),r=t.renderer.layerConfig.lineHeight,a=t.renderer.layerConfig.characterWidth,o=t.renderer.scroller.getBoundingClientRect(),i={x:{left:s-o.left,right:o.right-s},y:{top:c-o.top,bottom:o.bottom-c}},u=Math.min(i.x.left,i.x.right),d=Math.min(i.y.top,i.y.bottom),f={row:e.row,column:e.column};u/a<=2&&(f.column+=i.x.left=200&&t.renderer.scrollCursorIntoView(f):m=n:m=null}(f,e)}function x(){d=t.selection.toOrientedRange(),o=t.session.addMarker(d,"ace_selection",t.getSelectionStyle()),t.clearSelection(),t.isFocused()&&t.renderer.$cursorLayer.setBlinking(!1),clearInterval(u),w(),u=setInterval(w,20),y=0,r.addListener(document,"mousemove",k)}function S(){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,r.removeListener(document,"mousemove",k)}this.onDragStart=function(e){if(this.cancelDrag||!v.draggable){var n=this;return setTimeout((function(){n.startSelect(),n.captureMouse(e)}),0),e.preventDefault()}d=t.getSelectionRange();var r=e.dataTransfer;r.effectAllowed=t.getReadOnly()?"copy":"copyMove",t.container.appendChild(l),r.setDragImage&&r.setDragImage(l,0,0),setTimeout((function(){t.container.removeChild(l)})),r.clearData(),r.setData("Text",t.session.getTextRange()),h=!0,this.setState("drag")},this.onDragEnd=function(e){if(v.draggable=!1,h=!1,this.setState(null),!t.getReadOnly()){var l=e.dataTransfer.dropEffect;p||"move"!=l||t.session.remove(t.getSelectionRange()),t.$resetCursorStyle()}this.editor.unsetStyle("ace_dragging"),this.editor.renderer.setCursorStyle("")},this.onDragEnter=function(e){if(!t.getReadOnly()&&_(e.dataTransfer))return s=e.clientX,c=e.clientY,o||x(),y++,e.dataTransfer.dropEffect=p=E(e),r.preventDefault(e)},this.onDragOver=function(e){if(!t.getReadOnly()&&_(e.dataTransfer))return s=e.clientX,c=e.clientY,o||(x(),y++),null!==C&&(C=null),e.dataTransfer.dropEffect=p=E(e),r.preventDefault(e)},this.onDragLeave=function(e){if(--y<=0&&o)return S(),p=null,r.preventDefault(e)},this.onDrop=function(e){if(f){var l=e.dataTransfer;if(h)switch(p){case"move":d=d.contains(f.row,f.column)?{start:f,end:f}:t.moveText(d,f);break;case"copy":d=t.moveText(d,f,!0)}else{var n=l.getData("Text");d={start:f,end:t.session.insert(f,n)},t.focus(),p=null}return S(),r.preventDefault(e)}},r.addListener(v,"dragstart",this.onDragStart.bind(e),t),r.addListener(v,"dragend",this.onDragEnd.bind(e),t),r.addListener(v,"dragenter",this.onDragEnter.bind(e),t),r.addListener(v,"dragover",this.onDragOver.bind(e),t),r.addListener(v,"dragleave",this.onDragLeave.bind(e),t),r.addListener(v,"drop",this.onDrop.bind(e),t);var C=null;function k(){null==C&&(C=setTimeout((function(){null!=C&&o&&S()}),20))}function _(e){var t=e.types;return!t||Array.prototype.some.call(t,(function(e){return"text/plain"==e||"Text"==e}))}function E(e){var t=["copy","copymove","all","uninitialized"],l=a.isMac?e.altKey:e.ctrlKey,n="uninitialized";try{n=e.dataTransfer.effectAllowed.toLowerCase()}catch(e){}var r="none";return l&&t.indexOf(n)>=0?r="copy":["move","copymove","linkmove","all","uninitialized"].indexOf(n)>=0?r="move":t.indexOf(n)>=0&&(r="copy"),r}}function i(e,t,l,n){return Math.sqrt(Math.pow(l-e,2)+Math.pow(n-t,2))}(function(){this.dragWait=function(){Date.now()-this.mousedownEvent.time>this.editor.getDragDelay()&&this.startDrag()},this.dragWaitEnd=function(){this.editor.container.draggable=!1,this.startSelect(this.mousedownEvent.getDocumentPosition()),this.selectEnd()},this.dragReadyEnd=function(e){this.editor.$resetCursorStyle(),this.editor.unsetStyle("ace_dragging"),this.editor.renderer.setCursorStyle(""),this.dragWaitEnd()},this.startDrag=function(){this.cancelDrag=!1;var e=this.editor;e.container.draggable=!0,e.renderer.$cursorLayer.setBlinking(!1),e.setStyle("ace_dragging");var t=a.isWin?"default":"move";e.renderer.setCursorStyle(t),this.setState("dragReady")},this.onMouseDrag=function(e){var t=this.editor.container;a.isIE&&"dragReady"==this.state&&(i(this.mousedownEvent.x,this.mousedownEvent.y,this.x,this.y)>3&&t.dragDrop());"dragWait"===this.state&&(i(this.mousedownEvent.x,this.mousedownEvent.y,this.x,this.y)>0&&(t.draggable=!1,this.startSelect(this.mousedownEvent.getDocumentPosition())))},this.onMouseDown=function(e){if(this.$dragEnabled){this.mousedownEvent=e;var t=this.editor,l=e.inSelection(),n=e.getButton();if(1===(e.domEvent.detail||1)&&0===n&&l){if(e.editor.inMultiSelectMode&&(e.getAccelKey()||e.getShiftKey()))return;this.mousedownEvent.time=Date.now();var r=e.domEvent.target||e.domEvent.srcElement;if("unselectable"in r&&(r.unselectable="on"),t.getDragDelay()){if(a.isWebKit)this.cancelDrag=!0,t.container.draggable=!0;this.setState("dragWait")}else this.startDrag();this.captureMouse(e,this.onMouseDrag.bind(this)),e.defaultPrevented=!0}}}}).call(o.prototype),t.DragdropHandler=o})),ace.define("ace/mouse/touch_handler",["require","exports","module","ace/mouse/mouse_event","ace/lib/event","ace/lib/dom"],(function(e,t,l){"use strict";var n=e("./mouse_event").MouseEvent,r=e("../lib/event"),a=e("../lib/dom");t.addTouchListeners=function(e,t){var l,o,i,s,c,u,d,f,p,h="scroll",m=0,g=0,b=0,v=0;function y(){var e=window.navigator&&window.navigator.clipboard,l=!1,n=function(n){var r,o,i=n.target.getAttribute("action");if("more"==i||!l)return l=!l,r=t.getCopyText(),o=t.session.getUndoManager().hasUndo(),void p.replaceChild(a.buildDom(l?["span",!r&&["span",{class:"ace_mobile-button",action:"selectall"},"Select All"],r&&["span",{class:"ace_mobile-button",action:"copy"},"Copy"],r&&["span",{class:"ace_mobile-button",action:"cut"},"Cut"],e&&["span",{class:"ace_mobile-button",action:"paste"},"Paste"],o&&["span",{class:"ace_mobile-button",action:"undo"},"Undo"],["span",{class:"ace_mobile-button",action:"find"},"Find"],["span",{class:"ace_mobile-button",action:"openCommandPallete"},"Pallete"]]:["span"]),p.firstChild);"paste"==i?e.readText().then((function(e){t.execCommand(i,e)})):i&&("cut"!=i&&"copy"!=i||(e?e.writeText(t.getCopyText()):document.execCommand("copy")),t.execCommand(i)),p.firstChild.style.display="none",l=!1,"openCommandPallete"!=i&&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(),n(e)},onclick:n},["span"],["span",{class:"ace_mobile-button",action:"more"},"..."]],t.container)}function w(){p||y();var e=t.selection.cursor,l=t.renderer.textToScreenCoordinates(e.row,e.column),n=t.renderer.textToScreenCoordinates(0,0).pageX,r=t.renderer.scrollLeft,a=t.container.getBoundingClientRect();p.style.top=l.pageY-a.top-3+"px",l.pageX-a.left1)return clearTimeout(c),c=null,i=-1,void(h="zoom");f=t.$mouseHandler.isMousePressed=!0;var a=t.renderer.layerConfig.lineHeight,u=t.renderer.layerConfig.lineHeight,p=e.timeStamp;s=p;var y=r[0],w=y.clientX,x=y.clientY;Math.abs(l-w)+Math.abs(o-x)>a&&(i=-1),l=e.clientX=w,o=e.clientY=x,b=v=0;var C=new n(e,t);if(d=C.getDocumentPosition(),p-i<500&&1==r.length&&!m)g++,e.preventDefault(),e.button=0,function(){c=null,clearTimeout(c),t.selection.moveToPosition(d);var e=g>=2?t.selection.getLineRange(d.row):t.session.getBracketRange(d);e&&!e.isEmpty()?t.selection.setRange(e):t.selection.selectWord(),h="wait"}();else{g=0;var k=t.selection.cursor,_=t.selection.isEmpty()?k:t.selection.anchor,E=t.renderer.$cursorLayer.getPixelPosition(k,!0),O=t.renderer.$cursorLayer.getPixelPosition(_,!0),T=t.renderer.scroller.getBoundingClientRect(),A=t.renderer.layerConfig.offset,M=t.renderer.scrollLeft,P=function(e,t){return(e/=u)*e+(t=t/a-.75)*t};if(e.clientXR?"cursor":"anchor"),h=R<3.5?"anchor":D<3.5?"cursor":"scroll",c=setTimeout(S,450)}i=p}),t),r.addListener(e,"touchend",(function(e){f=t.$mouseHandler.isMousePressed=!1,u&&clearInterval(u),"zoom"==h?(h="",m=0):c?(t.selection.moveToPosition(d),m=0,w()):"scroll"==h?(m+=60,u=setInterval((function(){m--<=0&&(clearInterval(u),u=null),Math.abs(b)<.01&&(b=0),Math.abs(v)<.01&&(v=0),m<20&&(b*=.9),m<20&&(v*=.9);var e=t.session.getScrollTop();t.renderer.scrollBy(10*b,10*v),e==t.session.getScrollTop()&&(m=0)}),10),x()):w(),clearTimeout(c),c=null}),t),r.addListener(e,"touchmove",(function(e){c&&(clearTimeout(c),c=null);var r=e.touches;if(!(r.length>1||"zoom"==h)){var a=r[0],i=l-a.clientX,u=o-a.clientY;if("wait"==h){if(!(i*i+u*u>4))return e.preventDefault();h="cursor"}l=a.clientX,o=a.clientY,e.clientX=a.clientX,e.clientY=a.clientY;var d=e.timeStamp,f=d-s;if(s=d,"scroll"==h){var p=new n(e,t);p.speed=1,p.wheelX=i,p.wheelY=u,10*Math.abs(i)1&&(r=l[l.length-2]);var o=c[t+"Path"];return null==o?o=c.basePath:"/"==n&&(t=n=""),o&&"/"!=o.slice(-1)&&(o+="/"),o+t+n+r+this.get("suffix")},t.setModuleUrl=function(e,t){return c.$moduleUrls[e]=t},t.$loading={},t.loadModule=function(l,n){var r,o;Array.isArray(l)&&(o=l[0],l=l[1]);try{r=e(l)}catch(e){}if(r&&!t.$loading[l])return n&&n(r);if(t.$loading[l]||(t.$loading[l]=[]),t.$loading[l].push(n),!(t.$loading[l].length>1)){var i=function(){e([l],(function(e){t._emit("load.module",{name:l,module:e});var n=t.$loading[l];t.$loading[l]=null,n.forEach((function(t){t&&t(e)}))}))};if(!t.get("packaged"))return i();a.loadScript(t.moduleUrl(l,o),i),u()}};var u=function(){c.basePath||c.workerPath||c.modePath||c.themePath||Object.keys(c.$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"),u=function(){})};function d(r){if(s&&s.document){c.packaged=r||e.packaged||n.packaged||s.define&&l("30d1801ce607fbf6870f").packaged;for(var a,o={},i="",u=document.currentScript||document._currentScript,d=(u&&u.ownerDocument||document).getElementsByTagName("script"),f=0;f=e){for(a=d+1;a=e;)a++;for(i=d,s=a-1;i=t.length||2!=(s=l[r-1])&&3!=s||2!=(c=t[r+1])&&3!=c?4:(a&&(c=3),c==s?c:4);case 10:return 2==(s=r>0?l[r-1]:5)&&r+10&&2==l[r-1])return 2;if(a)return 4;for(d=r+1,u=t.length;d=1425&&p<=2303||64286==p;if(s=t[d],h&&(1==s||7==s))return 1}return r<1||5==(s=t[r-1])?4:l[r-1];case 5:return a=!1,o=!0,n;case 6:return i=!0,4;case 13:case 14:case 16:case 17:case 15:a=!1;case 18:return 4}}function h(e){var t=e.charCodeAt(0),l=t>>8;return 0==l?t>191?0:u[t]:5==l?/[\u0591-\u05f4]/.test(e)?1:0:6==l?/[\u0610-\u061a\u064b-\u065f\u06d6-\u06e4\u06e7-\u06ed]/.test(e)?12:/[\u0660-\u0669\u066b-\u066c]/.test(e)?3:1642==t?11:/[\u06f0-\u06f9]/.test(e)?2:7:32==l&&t<=8287?d[255&t]:254==l&&t>=65136?7:4}t.L=0,t.R=1,t.EN=2,t.ON_R=3,t.AN=4,t.R_H=5,t.B=6,t.RLE=7,t.DOT="\xb7",t.doBidiReorder=function(e,l,u){if(e.length<2)return{};var d=e.split(""),m=new Array(d.length),g=new Array(d.length),b=[];n=u?1:0,function(e,t,l,u){var d=n?c:s,f=null,m=null,g=null,b=0,v=null,y=-1,w=null,x=null,S=[];if(!u)for(w=0,u=[];w0)if(16==v){for(w=y;w-1){for(w=y;w=0&&8==u[C];C--)t[C]=n}}(d,b,d.length,l);for(var v=0;v7&&l[v]<13||4===l[v]||18===l[v])?b[v]=t.ON_R:v>0&&"\u0644"===d[v-1]&&/\u0622|\u0623|\u0625|\u0627/.test(d[v])&&(b[v-1]=b[v]=t.R_H,v++);d[d.length-1]===t.DOT&&(b[d.length-1]=t.B),"\u202b"===d[0]&&(b[0]=t.RLE);for(v=0;v=0&&(e=this.session.$docRowCache[l])}return e},this.getSplitIndex=function(){var e=0,t=this.session.$screenRowCache;if(t.length)for(var l,n=this.session.$getRowCacheIndex(t,this.currentRow);this.currentRow-e>0&&(l=this.session.$getRowCacheIndex(t,this.currentRow-e-1))===n;)n=l,e++;else e=this.currentRow;return e},this.updateRowLine=function(e,t){void 0===e&&(e=this.getDocumentRow());var l=e===this.session.getLength()-1?this.EOF:this.EOL;if(this.wrapIndent=0,this.line=this.session.getLine(e),this.isRtlDir=this.$isRtl||this.line.charAt(0)===this.RLE,this.session.$useWrapMode){var a=this.session.$wrapData[e];a&&(void 0===t&&(t=this.getSplitIndex()),t>0&&a.length?(this.wrapIndent=a.indent,this.wrapOffset=this.wrapIndent*this.charWidths[n.L],this.line=tt?this.session.getOverwrite()?e:e-1:t,r=n.getVisualFromLogicalIdx(l,this.bidiMap),a=this.bidiMap.bidiLevels,o=0;!this.session.getOverwrite()&&e<=t&&a[r]%2!==0&&r++;for(var i=0;it&&a[r]%2===0&&(o+=this.charWidths[a[r]]),this.wrapIndent&&(o+=this.isRtlDir?-1*this.wrapOffset:this.wrapOffset),this.isRtlDir&&(o+=this.rtlLineOffset),o},this.getSelections=function(e,t){var l,n=this.bidiMap,r=n.bidiLevels,a=[],o=0,i=Math.min(e,t)-this.wrapIndent,s=Math.max(e,t)-this.wrapIndent,c=!1,u=!1,d=0;this.wrapIndent&&(o+=this.isRtlDir?-1*this.wrapOffset:this.wrapOffset);for(var f,p=0;p=i&&fl+a/2;){if(l+=a,n===r.length-1){a=0;break}a=this.charWidths[r[++n]]}return n>0&&r[n-1]%2!==0&&r[n]%2===0?(e0&&r[n-1]%2===0&&r[n]%2!==0?t=1+(e>l?this.bidiMap.logicalFromVisual[n]:this.bidiMap.logicalFromVisual[n-1]):this.isRtlDir&&n===r.length-1&&0===a&&r[n-1]%2===0||!this.isRtlDir&&0===n&&r[n]%2!==0?t=1+this.bidiMap.logicalFromVisual[n]:(n>0&&r[n-1]%2!==0&&0!==a&&n--,t=this.bidiMap.logicalFromVisual[n]),0===t&&this.isRtlDir&&t++,t+this.wrapIndent}}).call(o.prototype),t.BidiHandler=o})),ace.define("ace/selection",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/lib/event_emitter","ace/range"],(function(e,t,l){"use strict";var n=e("./lib/oop"),r=e("./lib/lang"),a=e("./lib/event_emitter").EventEmitter,o=e("./range").Range,i=function(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")}))};(function(){n.implement(this,a),this.isEmpty=function(){return this.$isEmpty||this.anchor.row==this.lead.row&&this.anchor.column==this.lead.column},this.isMultiLine=function(){return!this.$isEmpty&&this.anchor.row!=this.cursor.row},this.getCursor=function(){return this.lead.getPosition()},this.setSelectionAnchor=function(e,t){this.$isEmpty=!1,this.anchor.setPosition(e,t)},this.getAnchor=this.getSelectionAnchor=function(){return this.$isEmpty?this.getSelectionLead():this.anchor.getPosition()},this.getSelectionLead=function(){return this.lead.getPosition()},this.isBackwards=function(){var e=this.anchor,t=this.lead;return e.row>t.row||e.row==t.row&&e.column>t.column},this.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)},this.clearSelection=function(){this.$isEmpty||(this.$isEmpty=!0,this._emit("changeSelection"))},this.selectAll=function(){this.$setSelection(0,0,Number.MAX_VALUE,Number.MAX_VALUE)},this.setRange=this.setSelectionRange=function(e,t){var l=t?e.end:e.start,n=t?e.start:e.end;this.$setSelection(l.row,l.column,n.row,n.column)},this.$setSelection=function(e,t,l,n){if(!this.$silent){var r=this.$isEmpty,a=this.inMultiSelectMode;this.$silent=!0,this.$cursorChanged=this.$anchorChanged=!1,this.anchor.setPosition(e,t),this.cursor.setPosition(l,n),this.$isEmpty=!o.comparePoints(this.anchor,this.cursor),this.$silent=!1,this.$cursorChanged&&this._emit("changeCursor"),(this.$cursorChanged||this.$anchorChanged||r!=this.$isEmpty||a)&&this._emit("changeSelection")}},this.$moveSelection=function(e){var t=this.lead;this.$isEmpty&&this.setSelectionAnchor(t.row,t.column),e.call(this)},this.selectTo=function(e,t){this.$moveSelection((function(){this.moveCursorTo(e,t)}))},this.selectToPosition=function(e){this.$moveSelection((function(){this.moveCursorToPosition(e)}))},this.moveTo=function(e,t){this.clearSelection(),this.moveCursorTo(e,t)},this.moveToPosition=function(e){this.clearSelection(),this.moveCursorToPosition(e)},this.selectUp=function(){this.$moveSelection(this.moveCursorUp)},this.selectDown=function(){this.$moveSelection(this.moveCursorDown)},this.selectRight=function(){this.$moveSelection(this.moveCursorRight)},this.selectLeft=function(){this.$moveSelection(this.moveCursorLeft)},this.selectLineStart=function(){this.$moveSelection(this.moveCursorLineStart)},this.selectLineEnd=function(){this.$moveSelection(this.moveCursorLineEnd)},this.selectFileEnd=function(){this.$moveSelection(this.moveCursorFileEnd)},this.selectFileStart=function(){this.$moveSelection(this.moveCursorFileStart)},this.selectWordRight=function(){this.$moveSelection(this.moveCursorWordRight)},this.selectWordLeft=function(){this.$moveSelection(this.moveCursorWordLeft)},this.getWordRange=function(e,t){if("undefined"==typeof t){var l=e||this.lead;e=l.row,t=l.column}return this.session.getWordRange(e,t)},this.selectWord=function(){this.setSelectionRange(this.getWordRange())},this.selectAWord=function(){var e=this.getCursor(),t=this.session.getAWordRange(e.row,e.column);this.setSelectionRange(t)},this.getLineRange=function(e,t){var l,n="number"==typeof e?e:this.lead.row,r=this.session.getFoldLine(n);return r?(n=r.start.row,l=r.end.row):l=n,!0===t?new o(n,0,l,this.session.getLine(l).length):new o(n,0,l+1,0)},this.selectLine=function(){this.setSelectionRange(this.getLineRange())},this.moveCursorUp=function(){this.moveCursorBy(-1,0)},this.moveCursorDown=function(){this.moveCursorBy(1,0)},this.wouldMoveIntoSoftTab=function(e,t,l){var n=e.column,r=e.column+t;return l<0&&(n=e.column-t,r=e.column),this.session.isTabStop(e)&&this.doc.getLine(e.row).slice(n,r).split(" ").length-1==t},this.moveCursorLeft=function(){var e,t=this.lead.getPosition();if(e=this.session.getFoldAt(t.row,t.column,-1))this.moveCursorTo(e.start.row,e.start.column);else if(0===t.column)t.row>0&&this.moveCursorTo(t.row-1,this.doc.getLine(t.row-1).length);else{var l=this.session.getTabSize();this.wouldMoveIntoSoftTab(t,l,-1)&&!this.session.getNavigateWithinSoftTabs()?this.moveCursorBy(0,-l):this.moveCursorBy(0,-1)}},this.moveCursorRight=function(){var e,t=this.lead.getPosition();if(e=this.session.getFoldAt(t.row,t.column,1))this.moveCursorTo(e.end.row,e.end.column);else if(this.lead.column==this.doc.getLine(this.lead.row).length)this.lead.row0&&(t.column=n)}}this.moveCursorTo(t.row,t.column)},this.moveCursorFileEnd=function(){var e=this.doc.getLength()-1,t=this.doc.getLine(e).length;this.moveCursorTo(e,t)},this.moveCursorFileStart=function(){this.moveCursorTo(0,0)},this.moveCursorLongWordRight=function(){var e=this.lead.row,t=this.lead.column,l=this.doc.getLine(e),n=l.substring(t);this.session.nonTokenRe.lastIndex=0,this.session.tokenRe.lastIndex=0;var r=this.session.getFoldAt(e,t,1);if(r)this.moveCursorTo(r.end.row,r.end.column);else{if(this.session.nonTokenRe.exec(n)&&(t+=this.session.nonTokenRe.lastIndex,this.session.nonTokenRe.lastIndex=0,n=l.substring(t)),t>=l.length)return this.moveCursorTo(e,l.length),this.moveCursorRight(),void(e0&&this.moveCursorWordLeft());this.session.tokenRe.exec(a)&&(l-=this.session.tokenRe.lastIndex,this.session.tokenRe.lastIndex=0),this.moveCursorTo(t,l)}},this.$shortWordEndIndex=function(e){var t,l=0,n=/\s/,r=this.session.tokenRe;if(r.lastIndex=0,this.session.tokenRe.exec(e))l=this.session.tokenRe.lastIndex;else{for(;(t=e[l])&&n.test(t);)l++;if(l<1)for(r.lastIndex=0;(t=e[l])&&!r.test(t);)if(r.lastIndex=0,l++,n.test(t)){if(l>2){l--;break}for(;(t=e[l])&&n.test(t);)l++;if(l>2)break}}return r.lastIndex=0,l},this.moveCursorShortWordRight=function(){var e=this.lead.row,t=this.lead.column,l=this.doc.getLine(e),n=l.substring(t),r=this.session.getFoldAt(e,t,1);if(r)return this.moveCursorTo(r.end.row,r.end.column);if(t==l.length){var a=this.doc.getLength();do{e++,n=this.doc.getLine(e)}while(e0&&/^\s*$/.test(n));l=n.length,/\s+$/.test(n)||(n="")}var a=r.stringReverse(n),o=this.$shortWordEndIndex(a);return this.moveCursorTo(t,l-o)},this.moveCursorWordRight=function(){this.session.$selectLongWords?this.moveCursorLongWordRight():this.moveCursorShortWordRight()},this.moveCursorWordLeft=function(){this.session.$selectLongWords?this.moveCursorLongWordLeft():this.moveCursorShortWordLeft()},this.moveCursorBy=function(e,t){var l,n=this.session.documentToScreenPosition(this.lead.row,this.lead.column);if(0===t&&(0!==e&&(this.session.$bidiHandler.isBidiRow(n.row,this.lead.row)?(l=this.session.$bidiHandler.getPosLeft(n.column),n.column=Math.round(l/this.session.$bidiHandler.charWidths[0])):l=n.column*this.session.$bidiHandler.charWidths[0]),this.$desiredColumn?n.column=this.$desiredColumn:this.$desiredColumn=n.column),0!=e&&this.session.lineWidgets&&this.session.lineWidgets[this.lead.row]){var r=this.session.lineWidgets[this.lead.row];e<0?e-=r.rowsAbove||0:e>0&&(e+=r.rowCount-(r.rowsAbove||0))}var a=this.session.screenToDocumentPosition(n.row+e,n.column,l);0!==e&&0===t&&a.row===this.lead.row&&(a.column,this.lead.column),this.moveCursorTo(a.row,a.column+t,0===t)},this.moveCursorToPosition=function(e){this.moveCursorTo(e.row,e.column)},this.moveCursorTo=function(e,t,l){var n=this.session.getFoldAt(e,t,1);n&&(e=n.start.row,t=n.start.column),this.$keepDesiredColumnOnChange=!0;var r=this.session.getLine(e);/[\uDC00-\uDFFF]/.test(r.charAt(t))&&r.charAt(t-1)&&(this.lead.row==e&&this.lead.column==t+1?t-=1:t+=1),this.lead.setPosition(e,t),this.$keepDesiredColumnOnChange=!1,l||(this.$desiredColumn=null)},this.moveCursorToScreen=function(e,t,l){var n=this.session.screenToDocumentPosition(e,t);this.moveCursorTo(n.row,n.column,l)},this.detach=function(){this.lead.detach(),this.anchor.detach()},this.fromOrientedRange=function(e){this.setSelectionRange(e,e.cursor==e.start),this.$desiredColumn=e.desiredColumn||this.$desiredColumn},this.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},this.getRangeOfMovements=function(e){var t=this.getCursor();try{e(this);var l=this.getCursor();return o.fromPoints(t,l)}catch(e){return o.fromPoints(t,t)}finally{this.moveCursorToPosition(t)}},this.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},this.fromJSON=function(e){if(void 0==e.start){if(this.rangeList&&e.length>1){this.toSingleRange(e[0]);for(var t=e.length;t--;){var l=o.fromPoints(e[t].start,e[t].end);e[t].isBackwards&&(l.cursor=l.start),this.addRange(l,!0)}return}e=e[0]}this.rangeList&&this.toSingleRange(e),this.setSelectionRange(e,e.isBackwards)},this.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}}).call(i.prototype),t.Selection=i})),ace.define("ace/tokenizer",["require","exports","module","ace/config"],(function(e,t,l){"use strict";var n=e("./config"),r=2e3,a=function(e){for(var t in this.states=e,this.regExps={},this.matchMappings={},this.states){for(var l=this.states[t],n=[],r=0,a=this.matchMappings[t]={defaultToken:"text"},o="g",i=[],s=0;s1?this.$applyToken:c.token),d>1&&(/\\\d/.test(c.regex)?u=c.regex.replace(/\\([0-9]+)/g,(function(e,t){return"\\"+(parseInt(t,10)+r+1)})):(d=1,u=this.removeCapturingGroups(c.regex)),c.splitRegex||"string"==typeof c.token||i.push(c)),a[r]=s,r+=d,n.push(u),c.onMatch||(c.onMatch=null)}}n.length||(a[0]=0,n.push("$")),i.forEach((function(e){e.splitRegex=this.createSplitterRegexp(e.regex,o)}),this),this.regExps[t]=new RegExp("("+n.join(")|(")+")|($)",o)}};(function(){this.$setMaxTokenCount=function(e){r=0|e},this.$applyToken=function(e){var t=this.splitRegex.exec(e).slice(1),l=this.token.apply(this,t);if("string"===typeof l)return[{type:l,value:e}];for(var n=[],r=0,a=l.length;ru){var b=e.substring(u,g-m.length);f.type==p?f.value+=b:(f.type&&c.push(f),f={type:p,value:b})}for(var v=0;vr){for(d>2*e.length&&this.reportError("infinite loop with in ace tokenizer",{startState:t,line:e});u1&&l[0]!==n&&l.unshift("#tmp",n),{tokens:c,state:l.length?l:n}},this.reportError=n.reportError}).call(a.prototype),t.Tokenizer=a})),ace.define("ace/mode/text_highlight_rules",["require","exports","module","ace/lib/lang"],(function(e,t,l){"use strict";var n=e("../lib/lang"),r=function(){this.$rules={start:[{token:"empty_line",regex:"^$"},{defaultToken:"text"}]}};(function(){this.addRules=function(e,t){if(t)for(var l in e){for(var n=e[l],r=0;r=this.$rowTokens.length;){if(this.$row+=1,e||(e=this.$session.getLength()),this.$row>=e)return this.$row=e-1,null;this.$rowTokens=this.$session.getTokens(this.$row),this.$tokenIndex=0}return this.$rowTokens[this.$tokenIndex]},this.getCurrentToken=function(){return this.$rowTokens[this.$tokenIndex]},this.getCurrentTokenRow=function(){return this.$row},this.getCurrentTokenColumn=function(){var e=this.$rowTokens,t=this.$tokenIndex,l=e[t].start;if(void 0!==l)return l;for(l=0;t>0;)l+=e[t-=1].value.length;return l},this.getCurrentTokenPosition=function(){return{row:this.$row,column:this.getCurrentTokenColumn()}},this.getCurrentTokenRange=function(){var e=this.$rowTokens[this.$tokenIndex],t=this.getCurrentTokenColumn();return new n(this.$row,t,this.$row,t+e.value.length)}}).call(r.prototype),t.TokenIterator=r})),ace.define("ace/mode/behaviour/cstyle",["require","exports","module","ace/lib/oop","ace/mode/behaviour","ace/token_iterator","ace/lib/lang"],(function(e,t,l){"use strict";var n,r=e("../../lib/oop"),a=e("../behaviour").Behaviour,o=e("../../token_iterator").TokenIterator,i=e("../../lib/lang"),s=["text","paren.rparen","rparen","paren","punctuation.operator"],c=["text","paren.rparen","rparen","paren","punctuation.operator","comment"],u={},d={'"':'"',"'":"'"},f=function(e){var t=-1;if(e.multiSelect&&(t=e.selection.index,u.rangeCount!=e.multiSelect.rangeCount&&(u={rangeCount:e.multiSelect.rangeCount})),u[t])return n=u[t];n=u[t]={autoInsertedBrackets:0,autoInsertedRow:-1,autoInsertedLineEnd:"",maybeInsertedBrackets:0,maybeInsertedRow:-1,maybeInsertedLineStart:"",maybeInsertedLineEnd:""}},p=function(e,t,l,n){var r=e.end.row-e.start.row;return{text:l+t+n,selection:[0,e.start.column+1,r,e.end.column+(r?0:1)]}},h=function(e){this.add("braces","insertion",(function(t,l,r,a,o){var s=r.getCursorPosition(),c=a.doc.getLine(s.row);if("{"==o){f(r);var u=r.getSelectionRange(),d=a.doc.getTextRange(u);if(""!==d&&"{"!==d&&r.getWrapBehavioursEnabled())return p(u,d,"{","}");if(h.isSaneInsertion(r,a))return/[\]\}\)]/.test(c[s.column])||r.inMultiSelectMode||e&&e.braces?(h.recordAutoInsert(r,a,"}"),{text:"{}",selection:[1,1]}):(h.recordMaybeInsert(r,a,"{"),{text:"{",selection:[1,1]})}else if("}"==o){if(f(r),"}"==c.substring(s.column,s.column+1))if(null!==a.$findOpeningBracket("}",{column:s.column+1,row:s.row})&&h.isAutoInsertedClosing(s,c,o))return h.popAutoInsertedClosing(),{text:"",selection:[1,1]}}else{if("\n"==o||"\r\n"==o){f(r);var m="";if(h.isMaybeInsertedClosing(s,c)&&(m=i.stringRepeat("}",n.maybeInsertedBrackets),h.clearMaybeInsertedClosing()),"}"===c.substring(s.column,s.column+1)){var g=a.findMatchingBracket({row:s.row,column:s.column+1},"}");if(!g)return null;var b=this.$getIndent(a.getLine(g.row))}else{if(!m)return void h.clearMaybeInsertedClosing();b=this.$getIndent(c)}var v=b+a.getTabString();return{text:"\n"+v+"\n"+b+m,selection:[1,v.length,1,v.length]}}h.clearMaybeInsertedClosing()}})),this.add("braces","deletion",(function(e,t,l,r,a){var o=r.doc.getTextRange(a);if(!a.isMultiLine()&&"{"==o){if(f(l),"}"==r.doc.getLine(a.start.row).substring(a.end.column,a.end.column+1))return a.end.column++,a;n.maybeInsertedBrackets--}})),this.add("parens","insertion",(function(e,t,l,n,r){if("("==r){f(l);var a=l.getSelectionRange(),o=n.doc.getTextRange(a);if(""!==o&&l.getWrapBehavioursEnabled())return p(a,o,"(",")");if(h.isSaneInsertion(l,n))return h.recordAutoInsert(l,n,")"),{text:"()",selection:[1,1]}}else if(")"==r){f(l);var i=l.getCursorPosition(),s=n.doc.getLine(i.row);if(")"==s.substring(i.column,i.column+1))if(null!==n.$findOpeningBracket(")",{column:i.column+1,row:i.row})&&h.isAutoInsertedClosing(i,s,r))return h.popAutoInsertedClosing(),{text:"",selection:[1,1]}}})),this.add("parens","deletion",(function(e,t,l,n,r){var a=n.doc.getTextRange(r);if(!r.isMultiLine()&&"("==a&&(f(l),")"==n.doc.getLine(r.start.row).substring(r.start.column+1,r.start.column+2)))return r.end.column++,r})),this.add("brackets","insertion",(function(e,t,l,n,r){if("["==r){f(l);var a=l.getSelectionRange(),o=n.doc.getTextRange(a);if(""!==o&&l.getWrapBehavioursEnabled())return p(a,o,"[","]");if(h.isSaneInsertion(l,n))return h.recordAutoInsert(l,n,"]"),{text:"[]",selection:[1,1]}}else if("]"==r){f(l);var i=l.getCursorPosition(),s=n.doc.getLine(i.row);if("]"==s.substring(i.column,i.column+1))if(null!==n.$findOpeningBracket("]",{column:i.column+1,row:i.row})&&h.isAutoInsertedClosing(i,s,r))return h.popAutoInsertedClosing(),{text:"",selection:[1,1]}}})),this.add("brackets","deletion",(function(e,t,l,n,r){var a=n.doc.getTextRange(r);if(!r.isMultiLine()&&"["==a&&(f(l),"]"==n.doc.getLine(r.start.row).substring(r.start.column+1,r.start.column+2)))return r.end.column++,r})),this.add("string_dquotes","insertion",(function(e,t,l,n,r){var a=n.$mode.$quotes||d;if(1==r.length&&a[r]){if(this.lineCommentStart&&-1!=this.lineCommentStart.indexOf(r))return;f(l);var o=r,i=l.getSelectionRange(),s=n.doc.getTextRange(i);if(!(""===s||1==s.length&&a[s])&&l.getWrapBehavioursEnabled())return p(i,s,o,o);if(!s){var c=l.getCursorPosition(),u=n.doc.getLine(c.row),h=u.substring(c.column-1,c.column),m=u.substring(c.column,c.column+1),g=n.getTokenAt(c.row,c.column),b=n.getTokenAt(c.row,c.column+1);if("\\"==h&&g&&/escape/.test(g.type))return null;var v,y=g&&/string|escape/.test(g.type),w=!b||/string|escape/.test(b.type);if(m==o)(v=y!==w)&&/string\.end/.test(b.type)&&(v=!1);else{if(y&&!w)return null;if(y&&w)return null;var x=n.$mode.tokenRe;x.lastIndex=0;var S=x.test(h);x.lastIndex=0;var C=x.test(h);if(S||C)return null;if(m&&!/[\s;,.})\]\\]/.test(m))return null;var k=u[c.column-2];if(h==o&&(k==o||x.test(k)))return null;v=!0}return{text:v?o+o:"",selection:[1,1]}}}})),this.add("string_dquotes","deletion",(function(e,t,l,n,r){var a=n.$mode.$quotes||d,o=n.doc.getTextRange(r);if(!r.isMultiLine()&&a.hasOwnProperty(o)&&(f(l),n.doc.getLine(r.start.row).substring(r.start.column+1,r.start.column+2)==o))return r.end.column++,r}))};h.isSaneInsertion=function(e,t){var l=e.getCursorPosition(),n=new o(t,l.row,l.column);if(!this.$matchTokenType(n.getCurrentToken()||"text",s)){if(/[)}\]]/.test(e.session.getLine(l.row)[l.column]))return!0;var r=new o(t,l.row,l.column+1);if(!this.$matchTokenType(r.getCurrentToken()||"text",s))return!1}return n.stepForward(),n.getCurrentTokenRow()!==l.row||this.$matchTokenType(n.getCurrentToken()||"text",c)},h.$matchTokenType=function(e,t){return t.indexOf(e.type||e)>-1},h.recordAutoInsert=function(e,t,l){var r=e.getCursorPosition(),a=t.doc.getLine(r.row);this.isAutoInsertedClosing(r,a,n.autoInsertedLineEnd[0])||(n.autoInsertedBrackets=0),n.autoInsertedRow=r.row,n.autoInsertedLineEnd=l+a.substr(r.column),n.autoInsertedBrackets++},h.recordMaybeInsert=function(e,t,l){var r=e.getCursorPosition(),a=t.doc.getLine(r.row);this.isMaybeInsertedClosing(r,a)||(n.maybeInsertedBrackets=0),n.maybeInsertedRow=r.row,n.maybeInsertedLineStart=a.substr(0,r.column)+l,n.maybeInsertedLineEnd=a.substr(r.column),n.maybeInsertedBrackets++},h.isAutoInsertedClosing=function(e,t,l){return n.autoInsertedBrackets>0&&e.row===n.autoInsertedRow&&l===n.autoInsertedLineEnd[0]&&t.substr(e.column)===n.autoInsertedLineEnd},h.isMaybeInsertedClosing=function(e,t){return n.maybeInsertedBrackets>0&&e.row===n.maybeInsertedRow&&t.substr(e.column)===n.maybeInsertedLineEnd&&t.substr(0,e.column)==n.maybeInsertedLineStart},h.popAutoInsertedClosing=function(){n.autoInsertedLineEnd=n.autoInsertedLineEnd.substr(1),n.autoInsertedBrackets--},h.clearMaybeInsertedClosing=function(){n&&(n.maybeInsertedBrackets=0,n.maybeInsertedRow=-1)},r.inherits(h,a),t.CstyleBehaviour=h})),ace.define("ace/unicode",["require","exports","module"],(function(e,t,l){"use strict";for(var n=[48,9,8,25,5,0,2,25,48,0,11,0,5,0,6,22,2,30,2,457,5,11,15,4,8,0,2,0,18,116,2,1,3,3,9,0,2,2,2,0,2,19,2,82,2,138,2,4,3,155,12,37,3,0,8,38,10,44,2,0,2,1,2,1,2,0,9,26,6,2,30,10,7,61,2,9,5,101,2,7,3,9,2,18,3,0,17,58,3,100,15,53,5,0,6,45,211,57,3,18,2,5,3,11,3,9,2,1,7,6,2,2,2,7,3,1,3,21,2,6,2,0,4,3,3,8,3,1,3,3,9,0,5,1,2,4,3,11,16,2,2,5,5,1,3,21,2,6,2,1,2,1,2,1,3,0,2,4,5,1,3,2,4,0,8,3,2,0,8,15,12,2,2,8,2,2,2,21,2,6,2,1,2,4,3,9,2,2,2,2,3,0,16,3,3,9,18,2,2,7,3,1,3,21,2,6,2,1,2,4,3,8,3,1,3,2,9,1,5,1,2,4,3,9,2,0,17,1,2,5,4,2,2,3,4,1,2,0,2,1,4,1,4,2,4,11,5,4,4,2,2,3,3,0,7,0,15,9,18,2,2,7,2,2,2,22,2,9,2,4,4,7,2,2,2,3,8,1,2,1,7,3,3,9,19,1,2,7,2,2,2,22,2,9,2,4,3,8,2,2,2,3,8,1,8,0,2,3,3,9,19,1,2,7,2,2,2,22,2,15,4,7,2,2,2,3,10,0,9,3,3,9,11,5,3,1,2,17,4,23,2,8,2,0,3,6,4,0,5,5,2,0,2,7,19,1,14,57,6,14,2,9,40,1,2,0,3,1,2,0,3,0,7,3,2,6,2,2,2,0,2,0,3,1,2,12,2,2,3,4,2,0,2,5,3,9,3,1,35,0,24,1,7,9,12,0,2,0,2,0,5,9,2,35,5,19,2,5,5,7,2,35,10,0,58,73,7,77,3,37,11,42,2,0,4,328,2,3,3,6,2,0,2,3,3,40,2,3,3,32,2,3,3,6,2,0,2,3,3,14,2,56,2,3,3,66,5,0,33,15,17,84,13,619,3,16,2,25,6,74,22,12,2,6,12,20,12,19,13,12,2,2,2,1,13,51,3,29,4,0,5,1,3,9,34,2,3,9,7,87,9,42,6,69,11,28,4,11,5,11,11,39,3,4,12,43,5,25,7,10,38,27,5,62,2,28,3,10,7,9,14,0,89,75,5,9,18,8,13,42,4,11,71,55,9,9,4,48,83,2,2,30,14,230,23,280,3,5,3,37,3,5,3,7,2,0,2,0,2,0,2,30,3,52,2,6,2,0,4,2,2,6,4,3,3,5,5,12,6,2,2,6,67,1,20,0,29,0,14,0,17,4,60,12,5,0,4,11,18,0,5,0,3,9,2,0,4,4,7,0,2,0,2,0,2,3,2,10,3,3,6,4,5,0,53,1,2684,46,2,46,2,132,7,6,15,37,11,53,10,0,17,22,10,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,31,48,0,470,1,36,5,2,4,6,1,5,85,3,1,3,2,2,89,2,3,6,40,4,93,18,23,57,15,513,6581,75,20939,53,1164,68,45,3,268,4,27,21,31,3,13,13,1,2,24,9,69,11,1,38,8,3,102,3,1,111,44,25,51,13,68,12,9,7,23,4,0,5,45,3,35,13,28,4,64,15,10,39,54,10,13,3,9,7,22,4,1,5,66,25,2,227,42,2,1,3,9,7,11171,13,22,5,48,8453,301,3,61,3,105,39,6,13,4,6,11,2,12,2,4,2,0,2,1,2,1,2,107,34,362,19,63,3,53,41,11,5,15,17,6,13,1,25,2,33,4,2,134,20,9,8,25,5,0,2,25,12,88,4,5,3,5,3,5,3,2],r=0,a=[],o=0;o2?n%c!=c-1:n%c==0})}else{if(!this.blockComment)return!1;var p=this.blockComment.start,h=this.blockComment.end,m=new RegExp("^(\\s*)(?:"+s.escapeRegExp(p)+")"),g=new RegExp("(?:"+s.escapeRegExp(h)+")\\s*$"),b=function(e,t){y(e,t)||a&&!/\S/.test(e)||(r.insertInLine({row:t,column:e.length},h),r.insertInLine({row:t,column:i},p))},v=function(e,t){var l;(l=e.match(g))&&r.removeInLine(t,e.length-l[0].length,e.length),(l=e.match(m))&&r.removeInLine(t,l[1].length,l[0].length)},y=function(e,l){if(m.test(e))return!0;for(var n=t.getTokens(l),r=0;re.length&&(x=e.length)})),i==1/0&&(i=x,a=!1,o=!1),u&&i%c!=0&&(i=Math.floor(i/c)*c),w(o?v:b)},this.toggleBlockComment=function(e,t,l,n){var r=this.blockComment;if(r){!r.start&&r[0]&&(r=r[0]);var a,o,i=(m=new c(t,n.row,n.column)).getCurrentToken(),s=(t.selection,t.selection.toOrientedRange());if(i&&/comment/.test(i.type)){for(var d,f;i&&/comment/.test(i.type);){if(-1!=(g=i.value.indexOf(r.start))){var p=m.getCurrentTokenRow(),h=m.getCurrentTokenColumn()+g;d=new u(p,h,p,h+r.start.length);break}i=m.stepBackward()}var m;for(i=(m=new c(t,n.row,n.column)).getCurrentToken();i&&/comment/.test(i.type);){var g;if(-1!=(g=i.value.indexOf(r.end))){p=m.getCurrentTokenRow(),h=m.getCurrentTokenColumn()+g;f=new u(p,h,p,h+r.end.length);break}i=m.stepForward()}f&&t.remove(f),d&&(t.remove(d),a=d.start.row,o=-r.start.length)}else o=r.start.length,a=l.start.row,t.insert(l.end,r.end),t.insert(l.start,r.start);s.start.row==a&&(s.start.column+=o),s.end.row==a&&(s.end.column+=o),t.selection.fromOrientedRange(s)}},this.getNextLineIndent=function(e,t,l){return this.$getIndent(t)},this.checkOutdent=function(e,t,l){return!1},this.autoOutdent=function(e,t,l){},this.$getIndent=function(e){return e.match(/^\s*/)[0]},this.createWorker=function(e){return null},this.createModeDelegates=function(e){for(var t in this.$embeds=[],this.$modes={},e)if(e[t]){var l=e[t],r=l.prototype.$id,a=n.$modes[r];a||(n.$modes[r]=a=new l),n.$modes[t]||(n.$modes[t]=a),this.$embeds.push(t),this.$modes[t]=a}var o=["toggleBlockComment","toggleCommentLines","getNextLineIndent","checkOutdent","autoOutdent","transformAction","getCompletions"];for(t=0;tthis.row)){var l=function(t,l,n){var r="insert"==t.action,a=(r?1:-1)*(t.end.row-t.start.row),o=(r?1:-1)*(t.end.column-t.start.column),i=t.start,s=r?i:t.end;if(e(l,i,n))return{row:l.row,column:l.column};if(e(s,l,!n))return{row:l.row+a,column:l.column+(l.row==s.row?o:0)};return{row:i.row,column:i.column}}(t,{row:this.row,column:this.column},this.$insertRight);this.setPosition(l.row,l.column,!0)}},this.setPosition=function(e,t,l){var n;if(n=l?{row:e,column:t}:this.$clipPositionToDocument(e,t),this.row!=n.row||this.column!=n.column){var r={row:this.row,column:this.column};this.row=n.row,this.column=n.column,this._signal("change",{old:r,value:n})}},this.detach=function(){this.document.off("change",this.$onChange)},this.attach=function(e){this.document=e||this.document,this.document.on("change",this.$onChange)},this.$clipPositionToDocument=function(e,t){var l={};return e>=this.document.getLength()?(l.row=Math.max(0,this.document.getLength()-1),l.column=this.document.getLine(l.row).length):e<0?(l.row=0,l.column=0):(l.row=e,l.column=Math.min(this.document.getLine(l.row).length,Math.max(0,t))),t<0&&(l.column=0),l}}).call(a.prototype)})),ace.define("ace/document",["require","exports","module","ace/lib/oop","ace/apply_delta","ace/lib/event_emitter","ace/range","ace/anchor"],(function(e,t,l){"use strict";var n=e("./lib/oop"),r=e("./apply_delta").applyDelta,a=e("./lib/event_emitter").EventEmitter,o=e("./range").Range,i=e("./anchor").Anchor,s=function(e){this.$lines=[""],0===e.length?this.$lines=[""]:Array.isArray(e)?this.insertMergedLines({row:0,column:0},e):this.insert({row:0,column:0},e)};(function(){n.implement(this,a),this.setValue=function(e){var t=this.getLength()-1;this.remove(new o(0,0,t,this.getLine(t).length)),this.insert({row:0,column:0},e)},this.getValue=function(){return this.getAllLines().join(this.getNewLineCharacter())},this.createAnchor=function(e,t){return new i(this,e,t)},0==="aaa".split(/a/).length?this.$split=function(e){return e.replace(/\r\n|\r/g,"\n").split("\n")}:this.$split=function(e){return e.split(/\r\n|\r|\n/)},this.$detectNewLine=function(e){var t=e.match(/^.*?(\r\n|\r|\n)/m);this.$autoNewLine=t?t[1]:"\n",this._signal("changeNewLineMode")},this.getNewLineCharacter=function(){switch(this.$newLineMode){case"windows":return"\r\n";case"unix":return"\n";default:return this.$autoNewLine||"\n"}},this.$autoNewLine="",this.$newLineMode="auto",this.setNewLineMode=function(e){this.$newLineMode!==e&&(this.$newLineMode=e,this._signal("changeNewLineMode"))},this.getNewLineMode=function(){return this.$newLineMode},this.isNewLine=function(e){return"\r\n"==e||"\r"==e||"\n"==e},this.getLine=function(e){return this.$lines[e]||""},this.getLines=function(e,t){return this.$lines.slice(e,t+1)},this.getAllLines=function(){return this.getLines(0,this.getLength())},this.getLength=function(){return this.$lines.length},this.getTextRange=function(e){return this.getLinesForRange(e).join(this.getNewLineCharacter())},this.getLinesForRange=function(e){var t;if(e.start.row===e.end.row)t=[this.getLine(e.start.row).substring(e.start.column,e.end.column)];else{(t=this.getLines(e.start.row,e.end.row))[0]=(t[0]||"").substring(e.start.column);var l=t.length-1;e.end.row-e.start.row==l&&(t[l]=t[l].substring(0,e.end.column))}return t},this.insertLines=function(e,t){return console.warn("Use of document.insertLines is deprecated. Use the insertFullLines method instead."),this.insertFullLines(e,t)},this.removeLines=function(e,t){return console.warn("Use of document.removeLines is deprecated. Use the removeFullLines method instead."),this.removeFullLines(e,t)},this.insertNewLine=function(e){return console.warn("Use of document.insertNewLine is deprecated. Use insertMergedLines(position, ['', '']) instead."),this.insertMergedLines(e,["",""])},this.insert=function(e,t){return this.getLength()<=1&&this.$detectNewLine(t),this.insertMergedLines(e,this.$split(t))},this.insertInLine=function(e,t){var l=this.clippedPos(e.row,e.column),n=this.pos(e.row,e.column+t.length);return this.applyDelta({start:l,end:n,action:"insert",lines:[t]},!0),this.clonePos(n)},this.clippedPos=function(e,t){var l=this.getLength();void 0===e?e=l:e<0?e=0:e>=l&&(e=l-1,t=void 0);var n=this.getLine(e);return void 0==t&&(t=n.length),{row:e,column:t=Math.min(Math.max(t,0),n.length)}},this.clonePos=function(e){return{row:e.row,column:e.column}},this.pos=function(e,t){return{row:e,column:t}},this.$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},this.insertFullLines=function(e,t){var l=0;(e=Math.min(Math.max(e,0),this.getLength()))0,n=t=0&&this.applyDelta({start:this.pos(e,this.getLine(e).length),end:this.pos(e+1,0),action:"remove",lines:["",""]})},this.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)},this.applyDeltas=function(e){for(var t=0;t=0;t--)this.revertDelta(e[t])},this.applyDelta=function(e,t){var l="insert"==e.action;(l?e.lines.length<=1&&!e.lines[0]:!o.comparePoints(e.start,e.end))||(l&&e.lines.length>2e4?this.$splitAndapplyLargeDelta(e,2e4):(r(this.$lines,e,t),this._signal("change",e)))},this.$safeApplyDelta=function(e){var t=this.$lines.length;("remove"==e.action&&e.start.row20){l.running=setTimeout(l.$worker,20);break}}l.currentLine=t,-1==n&&(n=t),a<=n&&l.fireUpdateEvent(a,n)}}};(function(){n.implement(this,r),this.setTokenizer=function(e){this.tokenizer=e,this.lines=[],this.states=[],this.start(0)},this.setDocument=function(e){this.doc=e,this.lines=[],this.states=[],this.stop()},this.fireUpdateEvent=function(e,t){var l={first:e,last:t};this._signal("update",{data:l})},this.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)},this.scheduleStart=function(){this.running||(this.running=setTimeout(this.$worker,700))},this.$updateOnChange=function(e){var t=e.start.row,l=e.end.row-t;if(0===l)this.lines[t]=null;else if("remove"==e.action)this.lines.splice(t,l+1,null),this.states.splice(t,l+1,null);else{var n=Array(l+1);n.unshift(t,1),this.lines.splice.apply(this.lines,n),this.states.splice.apply(this.states,n)}this.currentLine=Math.min(t,this.currentLine,this.doc.getLength()),this.stop()},this.stop=function(){this.running&&clearTimeout(this.running),this.running=!1},this.getTokens=function(e){return this.lines[e]||this.$tokenizeRow(e)},this.getState=function(e){return this.currentLine==e&&this.$tokenizeRow(e),this.states[e]||"start"},this.$tokenizeRow=function(e){var t=this.doc.getLine(e),l=this.states[e-1],n=this.tokenizer.getLineTokens(t,l,e);return this.states[e]+""!==n.state+""?(this.states[e]=n.state,this.lines[e+1]=null,this.currentLine>e+1&&(this.currentLine=e+1)):this.currentLine==e&&(this.currentLine=e+1),this.lines[e]=n.tokens}}).call(a.prototype),t.BackgroundTokenizer=a})),ace.define("ace/search_highlight",["require","exports","module","ace/lib/lang","ace/lib/oop","ace/range"],(function(e,t,l){"use strict";var n=e("./lib/lang"),r=(e("./lib/oop"),e("./range").Range),a=function(e,t,l){this.setRegexp(e),this.clazz=t,this.type=l||"text"};(function(){this.MAX_RANGES=500,this.setRegexp=function(e){this.regExp+""!=e+""&&(this.regExp=e,this.cache=[])},this.update=function(e,t,l,a){if(this.regExp)for(var o=a.firstRow,i=a.lastRow,s=o;s<=i;s++){var c=this.cache[s];null==c&&((c=n.getMatchOffsets(l.getLine(s),this.regExp)).length>this.MAX_RANGES&&(c=c.slice(0,this.MAX_RANGES)),c=c.map((function(e){return new r(s,e.offset,s,e.offset+e.length)})),this.cache[s]=c.length?c:"");for(var u=c.length;u--;)t.drawSingleLineMarker(e,c[u].toScreenRange(l),this.clazz,a)}}}).call(a.prototype),t.SearchHighlight=a})),ace.define("ace/edit_session/fold_line",["require","exports","module","ace/range"],(function(e,t,l){"use strict";var n=e("../range").Range;function r(e,t){this.foldData=e,Array.isArray(t)?this.folds=t:t=this.folds=[t];var l=t[t.length-1];this.range=new n(t[0].start.row,t[0].start.column,l.end.row,l.end.column),this.start=this.range.start,this.end=this.range.end,this.folds.forEach((function(e){e.setFoldLine(this)}),this)}(function(){this.shiftRow=function(e){this.start.row+=e,this.end.row+=e,this.folds.forEach((function(t){t.start.row+=e,t.end.row+=e}))},this.addFold=function(e){if(e.sameRow){if(e.start.rowthis.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},this.containsRow=function(e){return e>=this.start.row&&e<=this.end.row},this.walk=function(e,t,l){var n,r,a=0,o=this.folds,i=!0;null==t&&(t=this.end.row,l=this.end.column);for(var s=0;s0)){var s=n(e,o.start);return 0===i?t&&0!==s?-a-2:a:s>0||0===s&&!t?a:-a-1}}return-a-1},this.add=function(e){var t=!e.isEmpty(),l=this.pointIndex(e.start,t);l<0&&(l=-l-1);var n=this.pointIndex(e.end,t,l);return n<0?n=-n-1:n++,this.ranges.splice(l,n-l,e)},this.addList=function(e){for(var t=[],l=e.length;l--;)t.push.apply(t,this.add(e[l]));return t},this.substractPoint=function(e){var t=this.pointIndex(e);if(t>=0)return this.ranges.splice(t,1)},this.merge=function(){for(var e,t=[],l=this.ranges,r=(l=l.sort((function(e,t){return n(e.start,t.start)})))[0],a=1;a=0},this.containsPoint=function(e){return this.pointIndex(e)>=0},this.rangeAtPoint=function(e){var t=this.pointIndex(e);if(t>=0)return this.ranges[t]},this.clipRows=function(e,t){var l=this.ranges;if(l[0].start.row>t||l[l.length-1].start.row=n)break}if("insert"==e.action)for(var s=r-n,c=-t.column+l.column;on)break;if(u.start.row==n&&u.start.column>=t.column&&(u.start.column==t.column&&this.$bias<=0||(u.start.column+=c,u.start.row+=s)),u.end.row==n&&u.end.column>=t.column){if(u.end.column==t.column&&this.$bias<0)continue;u.end.column==t.column&&c>0&&ou.start.column&&u.end.column==a[o+1].start.column&&(u.end.column-=c),u.end.column+=c,u.end.row+=s}}else for(s=n-r,c=t.column-l.column;or)break;u.end.rowt.column)&&(u.end.column=t.column,u.end.row=t.row):(u.end.column+=c,u.end.row+=s):u.end.row>r&&(u.end.row+=s),u.start.rowt.column)&&(u.start.column=t.column,u.start.row=t.row):(u.start.column+=c,u.start.row+=s):u.start.row>r&&(u.start.row+=s)}if(0!=s&&o=e)return r;if(r.end.row>e)return null}return null},this.getNextFoldLine=function(e,t){var l=this.$foldData,n=0;for(t&&(n=l.indexOf(t)),-1==n&&(n=0);n=e)return r}return null},this.getFoldedRowCount=function(e,t){for(var l=this.$foldData,n=t-e+1,r=0;r=t){i=e?n-=t-i:n=0);break}o>=e&&(n-=i>=e?o-i:o-e+1)}return n},this.$addFoldLine=function(e){return this.$foldData.push(e),this.$foldData.sort((function(e,t){return e.start.row-t.start.row})),e},this.addFold=function(e,t){var l,n=this.$foldData,o=!1;e instanceof a?l=e:(l=new a(t,e)).collapseChildren=t.collapseChildren,this.$clipRangeToDocument(l.range);var i=l.start.row,s=l.start.column,c=l.end.row,u=l.end.column,d=this.getFoldAt(i,s,1),f=this.getFoldAt(c,u,-1);if(d&&f==d)return d.addSubFold(l);d&&!d.range.isStart(i,s)&&this.removeFold(d),f&&!f.range.isEnd(c,u)&&this.removeFold(f);var p=this.getFoldsInRange(l.range);p.length>0&&(this.removeFolds(p),l.collapseChildren||p.forEach((function(e){l.addSubFold(e)})));for(var h=0;h0&&this.foldAll(e.start.row+1,e.end.row,e.collapseChildren-1),e.subFolds=[]},this.expandFolds=function(e){e.forEach((function(e){this.expandFold(e)}),this)},this.unfold=function(e,t){var l,r;if(null==e)l=new n(0,0,this.getLength(),0),null==t&&(t=!0);else if("number"==typeof e)l=new n(e,0,e,this.getLine(e).length);else if("row"in e)l=n.fromPoints(e,e);else{if(Array.isArray(e))return r=[],e.forEach((function(e){r=r.concat(this.unfold(e))}),this),r;l=e}for(var a=r=this.getFoldsInRangeList(l);1==r.length&&n.comparePoints(r[0].start,l.start)<0&&n.comparePoints(r[0].end,l.end)>0;)this.expandFolds(r),r=this.getFoldsInRangeList(l);if(0!=t?this.removeFolds(r):this.expandFolds(r),a.length)return a},this.isRowFolded=function(e,t){return!!this.getFoldLine(e,t)},this.getRowFoldEnd=function(e,t){var l=this.getFoldLine(e,t);return l?l.end.row:e},this.getRowFoldStart=function(e,t){var l=this.getFoldLine(e,t);return l?l.start.row:e},this.getFoldDisplayLine=function(e,t,l,n,r){null==n&&(n=e.start.row),null==r&&(r=0),null==t&&(t=e.end.row),null==l&&(l=this.getLine(t).length);var a=this.doc,o="";return e.walk((function(e,t,l,i){if(!(tu)break}while(a&&s.test(a.type));a=r.stepBackward()}else a=r.getCurrentToken();return c.end.row=r.getCurrentTokenRow(),c.end.column=r.getCurrentTokenColumn()+a.value.length-2,c}},this.foldAll=function(e,t,l,n){void 0==l&&(l=1e5);var r=this.foldWidgets;if(r){t=t||this.getLength();for(var a=e=e||0;a=e&&(a=o.end.row,o.collapseChildren=l,this.addFold("...",o))}}},this.foldToLevel=function(e){for(this.foldAll();e-- >0;)this.unfold(null,!1)},this.foldAllComments=function(){var e=this;this.foldAll(null,null,null,(function(t){for(var l=e.getTokens(t),n=0;n=0;){var a=l[r];if(null==a&&(a=l[r]=this.getFoldWidget(r)),"start"==a){var o=this.getFoldWidgetRange(r);if(n||(n=o),o&&o.end.row>=e)break}r--}return{range:-1!==r&&o,firstRange:n}},this.onFoldWidgetClick=function(e,t){var l={children:(t=t.domEvent).shiftKey,all:t.ctrlKey||t.metaKey,siblings:t.altKey};if(!this.$toggleFoldWidget(e,l)){var n=t.target||t.srcElement;n&&/ace_fold-widget/.test(n.className)&&(n.className+=" ace_invalid")}},this.$toggleFoldWidget=function(e,t){if(this.getFoldWidget){var l=this.getFoldWidget(e),n=this.getLine(e),r="end"===l?-1:1,a=this.getFoldAt(e,-1===r?0:n.length,r);if(a)return t.children||t.all?this.removeFold(a):this.expandFold(a),a;var o=this.getFoldWidgetRange(e,!0);if(o&&!o.isMultiLine()&&(a=this.getFoldAt(o.start.row,o.start.column,1))&&o.isEqual(a.range))return this.removeFold(a),a;if(t.siblings){var i=this.getParentFoldRangeData(e);if(i.range)var s=i.range.start.row+1,c=i.range.end.row;this.foldAll(s,c,t.all?1e4:0)}else t.children?(c=o?o.end.row:this.getLength(),this.foldAll(e+1,c,t.all?1e4:0)):o&&(t.all&&(o.collapseChildren=1e4),this.addFold("...",o));return o}},this.toggleFoldWidget=function(e){var t=this.selection.getCursor().row;t=this.getRowFoldStart(t);var l=this.$toggleFoldWidget(t,{});if(!l){var n=this.getParentFoldRangeData(t,!0);if(l=n.range||n.firstRange){t=l.start.row;var r=this.getFoldAt(t,this.getLine(t).length,1);r?this.removeFold(r):this.addFold("...",l)}}},this.updateFoldWidgets=function(e){var t=e.start.row,l=e.end.row-t;if(0===l)this.foldWidgets[t]=null;else if("remove"==e.action)this.foldWidgets.splice(t,l+1,null);else{var n=Array(l+1);n.unshift(t,1),this.foldWidgets.splice.apply(this.foldWidgets,n)}},this.tokenizerUpdateFoldWidgets=function(e){var t=e.data;t.first!=t.last&&this.foldWidgets.length>t.first&&this.foldWidgets.splice(t.first,this.foldWidgets.length)}}})),ace.define("ace/edit_session/bracket_match",["require","exports","module","ace/token_iterator","ace/range"],(function(e,t,l){"use strict";var n=e("../token_iterator").TokenIterator,r=e("../range").Range;t.BracketMatch=function(){this.findMatchingBracket=function(e,t){if(0==e.column)return null;var l=t||this.getLine(e.row).charAt(e.column-1);if(""==l)return null;var n=l.match(/([\(\[\{])|([\)\]\}])/);return n?n[1]?this.$findClosingBracket(n[1],e):this.$findOpeningBracket(n[2],e):null},this.getBracketRange=function(e){var t,l=this.getLine(e.row),n=!0,a=l.charAt(e.column-1),o=a&&a.match(/([\(\[\{])|([\)\]\}])/);if(o||(a=l.charAt(e.column),e={row:e.row,column:e.column+1},o=a&&a.match(/([\(\[\{])|([\)\]\}])/),n=!1),!o)return null;if(o[1]){if(!(i=this.$findClosingBracket(o[1],e)))return null;t=r.fromPoints(e,i),n||(t.end.column++,t.start.column--),t.cursor=t.end}else{var i;if(!(i=this.$findOpeningBracket(o[2],e)))return null;t=r.fromPoints(i,e),n||(t.start.column++,t.end.column--),t.cursor=t.start}return t},this.getMatchingBracketRanges=function(e){var t=this.getLine(e.row),l=t.charAt(e.column-1),n=l&&l.match(/([\(\[\{])|([\)\]\}])/);if(n||(l=t.charAt(e.column),e={row:e.row,column:e.column+1},n=l&&l.match(/([\(\[\{])|([\)\]\}])/)),!n)return null;var a=new r(e.row,e.column-1,e.row,e.column),o=n[1]?this.$findClosingBracket(n[1],e):this.$findOpeningBracket(n[2],e);return o?[a,new r(o.row,o.column,o.row,o.column+1)]:[a]},this.$brackets={")":"(","(":")","]":"[","[":"]","{":"}","}":"{","<":">",">":"<"},this.$findOpeningBracket=function(e,t,l){var r=this.$brackets[e],a=1,o=new n(this,t.row,t.column),i=o.getCurrentToken();if(i||(i=o.stepForward()),i){l||(l=new RegExp("(\\.?"+i.type.replace(".","\\.").replace("rparen",".paren").replace(/\b(?:end)\b/,"(?:start|begin|end)")+")+"));for(var s=t.column-o.getCurrentTokenColumn()-2,c=i.value;;){for(;s>=0;){var u=c.charAt(s);if(u==r){if(0==(a-=1))return{row:o.getCurrentTokenRow(),column:s+o.getCurrentTokenColumn()}}else u==e&&(a+=1);s-=1}do{i=o.stepBackward()}while(i&&!l.test(i.type));if(null==i)break;s=(c=i.value).length-1}return null}},this.$findClosingBracket=function(e,t,l){var r=this.$brackets[e],a=1,o=new n(this,t.row,t.column),i=o.getCurrentToken();if(i||(i=o.stepForward()),i){l||(l=new RegExp("(\\.?"+i.type.replace(".","\\.").replace("lparen",".paren").replace(/\b(?:start|begin)\b/,"(?:start|begin|end)")+")+"));for(var s=t.column-o.getCurrentTokenColumn();;){for(var c=i.value,u=c.length;sl&&(this.$docRowCache.splice(l,t),this.$screenRowCache.splice(l,t))},this.$getRowCacheIndex=function(e,t){for(var l=0,n=e.length-1;l<=n;){var r=l+n>>1,a=e[r];if(t>a)l=r+1;else{if(!(t=t);a++);return(l=n[a])?(l.index=a,l.start=r-l.value.length,l):null},this.setUndoManager=function(e){if(this.$undoManager=e,this.$informUndoManager&&this.$informUndoManager.cancel(),e){var t=this;e.addSession(this),this.$syncInformUndoManager=function(){t.$informUndoManager.cancel(),t.mergeUndoDeltas=!1},this.$informUndoManager=r.delayedCall(this.$syncInformUndoManager)}else this.$syncInformUndoManager=function(){}},this.markUndoGroup=function(){this.$syncInformUndoManager&&this.$syncInformUndoManager()},this.$defaultUndoManager={undo:function(){},redo:function(){},hasUndo:function(){},hasRedo:function(){},reset:function(){},add:function(){},addSelection:function(){},startNewGroup:function(){},addSession:function(){}},this.getUndoManager=function(){return this.$undoManager||this.$defaultUndoManager},this.getTabString=function(){return this.getUseSoftTabs()?r.stringRepeat(" ",this.getTabSize()):"\t"},this.setUseSoftTabs=function(e){this.setOption("useSoftTabs",e)},this.getUseSoftTabs=function(){return this.$useSoftTabs&&!this.$mode.$indentWithTabs},this.setTabSize=function(e){this.setOption("tabSize",e)},this.getTabSize=function(){return this.$tabSize},this.isTabStop=function(e){return this.$useSoftTabs&&e.column%this.$tabSize===0},this.setNavigateWithinSoftTabs=function(e){this.setOption("navigateWithinSoftTabs",e)},this.getNavigateWithinSoftTabs=function(){return this.$navigateWithinSoftTabs},this.$overwrite=!1,this.setOverwrite=function(e){this.setOption("overwrite",e)},this.getOverwrite=function(){return this.$overwrite},this.toggleOverwrite=function(){this.setOverwrite(!this.$overwrite)},this.addGutterDecoration=function(e,t){this.$decorations[e]||(this.$decorations[e]=""),this.$decorations[e]+=" "+t,this._signal("changeBreakpoint",{})},this.removeGutterDecoration=function(e,t){this.$decorations[e]=(this.$decorations[e]||"").replace(" "+t,""),this._signal("changeBreakpoint",{})},this.getBreakpoints=function(){return this.$breakpoints},this.setBreakpoints=function(e){this.$breakpoints=[];for(var t=0;t0&&(n=!!l.charAt(t-1).match(this.tokenRe)),n||(n=!!l.charAt(t).match(this.tokenRe)),n)var r=this.tokenRe;else if(/^\s+$/.test(l.slice(t-1,t+1)))r=/\s/;else r=this.nonTokenRe;var a=t;if(a>0){do{a--}while(a>=0&&l.charAt(a).match(r));a++}for(var o=t;oe&&(e=t.screenWidth)})),this.lineWidgetWidth=e},this.$computeWidth=function(e){if(this.$modified||e){if(this.$modified=!1,this.$useWrapMode)return this.screenWidth=this.$wrapLimit;for(var t=this.doc.getAllLines(),l=this.$rowLengthCache,n=0,r=0,a=this.$foldData[r],o=a?a.start.row:1/0,i=t.length,s=0;so){if((s=a.end.row+1)>=i)break;o=(a=this.$foldData[r++])?a.start.row:1/0}null==l[s]&&(l[s]=this.$getStringScreenWidth(t[s])[0]),l[s]>n&&(n=l[s])}this.screenWidth=n}},this.getLine=function(e){return this.doc.getLine(e)},this.getLines=function(e,t){return this.doc.getLines(e,t)},this.getLength=function(){return this.doc.getLength()},this.getTextRange=function(e){return this.doc.getTextRange(e||this.selection.getRange())},this.insert=function(e,t){return this.doc.insert(e,t)},this.remove=function(e){return this.doc.remove(e)},this.removeFullLines=function(e,t){return this.doc.removeFullLines(e,t)},this.undoChanges=function(e,t){if(e.length){this.$fromUndo=!0;for(var l=e.length-1;-1!=l;l--){var n=e[l];"insert"==n.action||"remove"==n.action?this.doc.revertDelta(n):n.folds&&this.addFolds(n.folds)}!t&&this.$undoSelect&&(e.selectionBefore?this.selection.fromJSON(e.selectionBefore):this.selection.setRange(this.$getUndoSelection(e,!0))),this.$fromUndo=!1}},this.redoChanges=function(e,t){if(e.length){this.$fromUndo=!0;for(var l=0;le.end.column&&(a.start.column+=c),a.end.row==e.end.row&&a.end.column>e.end.column&&(a.end.column+=c)),o&&a.start.row>=e.end.row&&(a.start.row+=o,a.end.row+=o)}if(a.end=this.insert(a.start,n),r.length){var i=e.start,s=a.start,c=(o=s.row-i.row,s.column-i.column);this.addFolds(r.map((function(e){return(e=e.clone()).start.row==i.row&&(e.start.column+=c),e.end.row==i.row&&(e.end.column+=c),e.start.row+=o,e.end.row+=o,e})))}return a},this.indentRows=function(e,t,l){l=l.replace(/\t/g,this.getTabString());for(var n=e;n<=t;n++)this.doc.insertInLine({row:n,column:0},l)},this.outdentRows=function(e){for(var t=e.collapseRows(),l=new u(0,0,0,0),n=this.getTabSize(),r=t.start.row;r<=t.end.row;++r){var a=this.getLine(r);l.start.row=r,l.end.row=r;for(var o=0;o0){var r;if((r=this.getRowFoldEnd(t+l))>this.doc.getLength()-1)return 0;n=r-t}else{e=this.$clipRowToDocument(e);n=(t=this.$clipRowToDocument(t))-e+1}var a=new u(e,0,t,Number.MAX_VALUE),o=this.getFoldsInRange(a).map((function(e){return(e=e.clone()).start.row+=n,e.end.row+=n,e})),i=0==l?this.doc.getLines(e,t):this.doc.removeFullLines(e,t);return this.doc.insertFullLines(e+n,i),o.length&&this.addFolds(o),n},this.moveLinesUp=function(e,t){return this.$moveLines(e,t,-1)},this.moveLinesDown=function(e,t){return this.$moveLines(e,t,1)},this.duplicateLines=function(e,t){return this.$moveLines(e,t,0)},this.$clipRowToDocument=function(e){return Math.max(0,Math.min(e,this.doc.getLength()-1))},this.$clipColumnToRow=function(e,t){return t<0?0:Math.min(this.doc.getLine(e).length,t)},this.$clipPositionToDocument=function(e,t){if(t=Math.max(0,t),e<0)e=0,t=0;else{var l=this.doc.getLength();e>=l?(e=l-1,t=this.doc.getLine(l-1).length):t=Math.min(this.doc.getLine(e).length,t)}return{row:e,column:t}},this.$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},this.$wrapLimit=80,this.$useWrapMode=!1,this.$wrapLimitRange={min:null,max:null},this.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")}},this.getUseWrapMode=function(){return this.$useWrapMode},this.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"))},this.adjustWrapLimit=function(e,t){var l=this.$wrapLimitRange;l.max<0&&(l={min:t,max:t});var n=this.$constrainWrapLimit(e,l.min,l.max);return n!=this.$wrapLimit&&n>1&&(this.$wrapLimit=n,this.$modified=!0,this.$useWrapMode&&(this.$updateWrapData(0,this.getLength()-1),this.$resetRowCache(0),this._signal("changeWrapLimit")),!0)},this.$constrainWrapLimit=function(e,t,l){return t&&(e=Math.max(t,e)),l&&(e=Math.min(l,e)),e},this.getWrapLimit=function(){return this.$wrapLimit},this.setWrapLimit=function(e){this.setWrapLimitRange(e,e)},this.getWrapLimitRange=function(){return{min:this.$wrapLimitRange.min,max:this.$wrapLimitRange.max}},this.$updateInternalDataOnChange=function(e){var t=this.$useWrapMode,l=e.action,n=e.start,r=e.end,a=n.row,o=r.row,i=o-a,s=null;if(this.$updating=!0,0!=i)if("remove"===l){this[t?"$wrapData":"$rowLengthCache"].splice(a,i);var c=this.$foldData;s=this.getFoldsInRange(e),this.removeFolds(s);var u=0;if(m=this.getFoldLine(r.row)){m.addRemoveChars(r.row,r.column,n.column-r.column),m.shiftRow(-i);var d=this.getFoldLine(a);d&&d!==m&&(d.merge(m),m=d),u=c.indexOf(m)+1}for(;u=r.row&&m.shiftRow(-i)}o=a}else{var f=Array(i);f.unshift(a,0);var p=t?this.$wrapData:this.$rowLengthCache;p.splice.apply(p,f);c=this.$foldData,u=0;if(m=this.getFoldLine(a)){var h=m.range.compareInside(n.row,n.column);0==h?(m=m.split(n.row,n.column))&&(m.shiftRow(i),m.addRemoveChars(o,0,r.column-n.column)):-1==h&&(m.addRemoveChars(a,0,r.column-n.column),m.shiftRow(i)),u=c.indexOf(m)+1}for(;u=a&&m.shiftRow(i)}}else i=Math.abs(e.start.column-e.end.column),"remove"===l&&(s=this.getFoldsInRange(e),this.removeFolds(s),i=-i),(m=this.getFoldLine(a))&&m.addRemoveChars(a,n.column,i);return t&&this.$wrapData.length!=this.doc.getLength()&&console.error("doc.getLength() and $wrapData.length have to be the same!"),this.$updating=!1,t?this.$updateWrapData(a,o):this.$updateRowLengthCache(a,o),s},this.$updateRowLengthCache=function(e,t,l){this.$rowLengthCache[e]=null,this.$rowLengthCache[t]=null},this.$updateWrapData=function(l,n){var r,a,o=this.doc.getAllLines(),i=this.getTabSize(),s=this.$wrapData,c=this.$wrapLimit,u=l;for(n=Math.min(n,o.length-1);u<=n;)(a=this.getFoldLine(u,a))?(r=[],a.walk(function(l,n,a,i){var s;if(null!=l){(s=this.$getDisplayTokens(l,r.length))[0]=e;for(var c=1;c=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)}this.$computeWrapSplits=function(l,n,r){if(0==l.length)return[];var a=[],o=l.length,i=0,s=0,c=this.$wrapAsCode,u=this.$indentedSoftWrap,d=n<=Math.max(2*r,8)||!1===u?0:Math.floor(n/2);function f(e){for(var t=e-i,n=i;nn-p;){var h=i+n-p;if(l[h-1]>=10&&l[h]>=10)f(h);else if(l[h]!=e&&l[h]!=t){for(var m=Math.max(h-(n-(n>>2)),i-1);h>m&&l[h]m&&l[h]m&&9==l[h];)h--}else for(;h>m&&l[h]<10;)h--;h>m?f(++h):(2==l[h=i+n]&&h--,f(h-p))}else{for(;h!=i-1&&l[h]!=e;h--);if(h>i){f(h);continue}for(h=i+n;h39&&o<48||o>57&&o<64?r.push(9):o>=4352&&l(o)?r.push(1,2):r.push(1)}return r},this.$getStringScreenWidth=function(e,t,n){if(0==t)return[0,0];var r,a;for(null==t&&(t=1/0),n=n||0,a=0;a=4352&&l(r)?n+=2:n+=1,!(n>t));a++);return[n,a]},this.lineWidgets=null,this.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},this.getRowLineCount=function(e){return this.$useWrapMode&&this.$wrapData[e]?this.$wrapData[e].length+1:1},this.getRowWrapIndent=function(e){if(this.$useWrapMode){var t=this.screenToDocumentPosition(e,Number.MAX_VALUE),l=this.$wrapData[t.row];return l.length&&l[0]=0){i=c[u],a=this.$docRowCache[u];var f=e>c[d-1]}else f=!d;for(var p=this.getLength()-1,h=this.getNextFoldLine(a),m=h?h.start.row:1/0;i<=e&&!(i+(s=this.getRowLength(a))>e||a>=p);)i+=s,++a>m&&(a=h.end.row+1,m=(h=this.getNextFoldLine(a,h))?h.start.row:1/0),f&&(this.$docRowCache.push(a),this.$screenRowCache.push(i));if(h&&h.start.row<=a)n=this.getFoldDisplayLine(h),a=h.start.row;else{if(i+s<=e||a>p)return{row:p,column:this.getLine(p).length};n=this.getLine(a),h=null}var g=0,b=Math.floor(e-i);if(this.$useWrapMode){var v=this.$wrapData[a];v&&(r=v[b],b>0&&v.length&&(g=v.indent,o=v[b-1]||v[v.length-1],n=n.substring(o)))}return void 0!==l&&this.$bidiHandler.isBidiRow(i+b,a,b)&&(t=this.$bidiHandler.offsetToCol(l)),o+=this.$getStringScreenWidth(n,t-g)[1],this.$useWrapMode&&o>=r&&(o=r-1),h?h.idxToPosition(o):{row:a,column:o}},this.documentToScreenPosition=function(e,t){if("undefined"===typeof t)var l=this.$clipPositionToDocument(e.row,e.column);else l=this.$clipPositionToDocument(e,t);e=l.row,t=l.column;var n,r=0,a=null;(n=this.getFoldAt(e,t,1))&&(e=n.start.row,t=n.start.column);var o,i=0,s=this.$docRowCache,c=this.$getRowCacheIndex(s,e),u=s.length;if(u&&c>=0){i=s[c],r=this.$screenRowCache[c];var d=e>s[u-1]}else d=!u;for(var f=this.getNextFoldLine(i),p=f?f.start.row:1/0;i=p){if((o=f.end.row+1)>e)break;p=(f=this.getNextFoldLine(o,f))?f.start.row:1/0}else o=i+1;r+=this.getRowLength(i),i=o,d&&(this.$docRowCache.push(i),this.$screenRowCache.push(r))}var h="";f&&i>=p?(h=this.getFoldDisplayLine(f,e,t),a=f.start.row):(h=this.getLine(e).substring(0,t),a=e);var m=0;if(this.$useWrapMode){var g=this.$wrapData[a];if(g){for(var b=0;h.length>=g[b];)r++,b++;h=h.substring(g[b-1]||0,h.length),m=b>0?g.indent:0}}return this.lineWidgets&&this.lineWidgets[i]&&this.lineWidgets[i].rowsAbove&&(r+=this.lineWidgets[i].rowsAbove),{row:r,column:m+this.$getStringScreenWidth(h)[0]}},this.documentToScreenColumn=function(e,t){return this.documentToScreenPosition(e,t).column},this.documentToScreenRow=function(e,t){return this.documentToScreenPosition(e,t).row},this.getScreenLength=function(){var e=0,t=null;if(this.$useWrapMode)for(var l=this.$wrapData.length,n=0,r=(i=0,(t=this.$foldData[i++])?t.start.row:1/0);nr&&(n=t.end.row+1,r=(t=this.$foldData[i++])?t.start.row:1/0)}else{e=this.getLength();for(var o=this.$foldData,i=0;il);a++);return[n,a]})},this.destroy=function(){this.bgTokenizer&&(this.bgTokenizer.setDocument(null),this.bgTokenizer=null),this.$stopWorker(),this.removeAllListeners(),this.doc&&this.doc.off("change",this.$onChange),this.selection.detach()},this.isFullWidth=l}.call(h.prototype),e("./edit_session/folding").Folding.call(h.prototype),e("./edit_session/bracket_match").BracketMatch.call(h.prototype),o.defineOptions(h.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=h})),ace.define("ace/search",["require","exports","module","ace/lib/lang","ace/lib/oop","ace/range"],(function(e,t,l){"use strict";var n=e("./lib/lang"),r=e("./lib/oop"),a=e("./range").Range,o=function(){this.$options={}};(function(){this.set=function(e){return r.mixin(this.$options,e),this},this.getOptions=function(){return n.copyObject(this.$options)},this.setOptions=function(e){this.$options=e},this.find=function(e){var t=this.$options,l=this.$matchIterator(e,t);if(!l)return!1;var n=null;return l.forEach((function(e,l,r,o){return n=new a(e,l,r,o),!(l==o&&t.start&&t.start.start&&0!=t.skipCurrent&&n.isEqual(t.start))||(n=null,!1)})),n},this.findAll=function(e){var t=this.$options;if(!t.needle)return[];this.$assembleRegExp(t);var l=t.range,r=l?e.getLines(l.start.row,l.end.row):e.doc.getAllLines(),o=[],i=t.re;if(t.$isMultiLine){var s,c=i.length,u=r.length-c;e:for(var d=i.offset||0;d<=u;d++){for(var f=0;fm||(o.push(s=new a(d,m,d+c-1,g)),c>2&&(d=d+c-2))}}else for(var b=0;bx&&o[f].end.row==l.end.row;)f--;for(o=o.slice(b,f+1),b=0,f=o.length;b=i;l--)if(d(l,Number.MAX_VALUE,e))return;if(0!=t.wrap)for(l=s,i=o.row;l>=i;l--)if(d(l,Number.MAX_VALUE,e))return}};else c=function(e){var l=o.row;if(!d(l,o.column,e)){for(l+=1;l<=s;l++)if(d(l,0,e))return;if(0!=t.wrap)for(l=i,s=o.row;l<=s;l++)if(d(l,0,e))return}};if(t.$isMultiLine)var u=l.length,d=function(t,r,a){var o=n?t-u+1:t;if(!(o<0||o+u>e.getLength())){var i=e.getLine(o),s=i.search(l[0]);if(!(!n&&sr))return!!a(o,s,o+u-1,d)||void 0}}};else if(n)d=function(t,n,r){var a,o=e.getLine(t),i=[],s=0;for(l.lastIndex=0;a=l.exec(o);){var c=a[0].length;if(s=a.index,!c){if(s>=o.length)break;l.lastIndex=s+=1}if(a.index+c>n)break;i.push(a.index,c)}for(var u=i.length-1;u>=0;u-=2){var d=i[u-1];if(r(t,d,t,d+(c=i[u])))return!0}};else d=function(t,n,r){var a,o,i=e.getLine(t);for(l.lastIndex=n;o=l.exec(i);){var s=o[0].length;if(r(t,a=o.index,t,a+s))return!0;if(!s&&(l.lastIndex=a+=1,a>=i.length))return!1}};return{forEach:c}}}).call(o.prototype),t.Search=o})),ace.define("ace/keyboard/hash_handler",["require","exports","module","ace/lib/keys","ace/lib/useragent"],(function(e,t,l){"use strict";var n=e("../lib/keys"),r=e("../lib/useragent"),a=n.KEY_MODS;function o(e,t){this.platform=t||(r.isMac?"mac":"win"),this.commands={},this.commandKeyBinding={},this.addCommands(e),this.$singleCommand=!0}function i(e,t){o.call(this,e,t),this.$singleCommand=!1}i.prototype=o.prototype,function(){function e(e){return"object"==typeof e&&e.bindKey&&e.bindKey.position||(e.isDefault?-100:0)}this.addCommand=function(e){this.commands[e.name]&&this.removeCommand(e),this.commands[e.name]=e,e.bindKey&&this._buildKeyHash(e)},this.removeCommand=function(e,t){var l=e&&("string"===typeof e?e:e.name);e=this.commands[l],t||delete this.commands[l];var n=this.commandKeyBinding;for(var r in n){var a=n[r];if(a==e)delete n[r];else if(Array.isArray(a)){var o=a.indexOf(e);-1!=o&&(a.splice(o,1),1==a.length&&(n[r]=a[0]))}}},this.bindKey=function(e,t,l){if("object"==typeof e&&e&&(void 0==l&&(l=e.position),e=e[this.platform]),e)return"function"==typeof t?this.addCommand({exec:t,bindKey:e,name:t.name||e}):void e.split("|").forEach((function(e){var n="";if(-1!=e.indexOf(" ")){var r=e.split(/\s+/);e=r.pop(),r.forEach((function(e){var t=this.parseKeys(e),l=a[t.hashId]+t.key;n+=(n?" ":"")+l,this._addCommandToBinding(n,"chainKeys")}),this),n+=" "}var o=this.parseKeys(e),i=a[o.hashId]+o.key;this._addCommandToBinding(n+i,t,l)}),this)},this._addCommandToBinding=function(t,l,n){var r,a=this.commandKeyBinding;if(l)if(!a[t]||this.$singleCommand)a[t]=l;else{Array.isArray(a[t])?-1!=(r=a[t].indexOf(l))&&a[t].splice(r,1):a[t]=[a[t]],"number"!=typeof n&&(n=e(l));var o=a[t];for(r=0;rn)break}o.splice(r,0,l)}else delete a[t]},this.addCommands=function(e){e&&Object.keys(e).forEach((function(t){var l=e[t];if(l){if("string"===typeof l)return this.bindKey(l,t);"function"===typeof l&&(l={exec:l}),"object"===typeof l&&(l.name||(l.name=t),this.addCommand(l))}}),this)},this.removeCommands=function(e){Object.keys(e).forEach((function(t){this.removeCommand(e[t])}),this)},this.bindKeys=function(e){Object.keys(e).forEach((function(t){this.bindKey(t,e[t])}),this)},this._buildKeyHash=function(e){this.bindKey(e.bindKey,e)},this.parseKeys=function(e){var t=e.toLowerCase().split(/[\-\+]([\-\+])?/).filter((function(e){return e})),l=t.pop(),r=n[l];if(n.FUNCTION_KEYS[r])l=n.FUNCTION_KEYS[r].toLowerCase();else{if(!t.length)return{key:l,hashId:-1};if(1==t.length&&"shift"==t[0])return{key:l.toUpperCase(),hashId:-1}}for(var a=0,o=t.length;o--;){var i=n.KEY_MODS[t[o]];if(null==i)return"undefined"!=typeof console&&console.error("invalid modifier "+t[o]+" in "+e),!1;a|=i}return{key:l,hashId:a}},this.findKeyCommand=function(e,t){var l=a[e]+t;return this.commandKeyBinding[l]},this.handleKeyboard=function(e,t,l,n){if(!(n<0)){var r=a[t]+l,o=this.commandKeyBinding[r];return e.$keyChain&&(e.$keyChain+=" "+r,o=this.commandKeyBinding[e.$keyChain]||o),!o||"chainKeys"!=o&&"chainKeys"!=o[o.length-1]?(e.$keyChain&&(t&&4!=t||1!=l.length?(-1==t||n>0)&&(e.$keyChain=""):e.$keyChain=e.$keyChain.slice(0,-r.length-1)),{command:o}):(e.$keyChain=e.$keyChain||r,{command:"null"})}},this.getStatusText=function(e,t){return t.$keyChain||""}}.call(o.prototype),t.HashHandler=o,t.MultiHashHandler=i})),ace.define("ace/commands/command_manager",["require","exports","module","ace/lib/oop","ace/keyboard/hash_handler","ace/lib/event_emitter"],(function(e,t,l){"use strict";var n=e("../lib/oop"),r=e("../keyboard/hash_handler").MultiHashHandler,a=e("../lib/event_emitter").EventEmitter,o=function(e,t){r.call(this,t,e),this.byName=this.commands,this.setDefaultHandler("exec",(function(e){return e.command.exec(e.editor,e.args||{})}))};n.inherits(o,r),function(){n.implement(this,a),this.exec=function(e,t,l){if(Array.isArray(e)){for(var n=e.length;n--;)if(this.exec(e[n],t,l))return!0;return!1}if("string"===typeof e&&(e=this.commands[e]),!e)return!1;if(t&&t.$readOnly&&!e.readOnly)return!1;if(0!=this.$checkCommandState&&e.isAvailable&&!e.isAvailable(t))return!1;var r={editor:t,command:e,args:l};return r.returnValue=this._emit("exec",r),this._signal("afterExec",r),!1!==r.returnValue},this.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)},this.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}}},this.trimMacro=function(e){return e.map((function(e){return"string"!=typeof e[0]&&(e[0]=e[0].name),e[1]||(e=e[0]),e}))}}.call(o.prototype),t.CommandManager=o})),ace.define("ace/commands/default_commands",["require","exports","module","ace/lib/lang","ace/config","ace/range"],(function(e,t,l){"use strict";var n=e("../lib/lang"),r=e("../config"),a=e("../range").Range;function o(e,t){return{win:e,mac:t}}t.commands=[{name:"showSettingsMenu",description:"Show settings menu",bindKey:o("Ctrl-,","Command-,"),exec:function(e){r.loadModule("ace/ext/settings_menu",(function(t){t.init(e),e.showSettingsMenu()}))},readOnly:!0},{name:"goToNextError",description:"Go to next error",bindKey:o("Alt-E","F4"),exec:function(e){r.loadModule("./ext/error_marker",(function(t){t.showErrorMarker(e,1)}))},scrollIntoView:"animate",readOnly:!0},{name:"goToPreviousError",description:"Go to previous error",bindKey:o("Alt-Shift-E","Shift-F4"),exec:function(e){r.loadModule("./ext/error_marker",(function(t){t.showErrorMarker(e,-1)}))},scrollIntoView:"animate",readOnly:!0},{name:"selectall",description:"Select all",bindKey:o("Ctrl-A","Command-A"),exec:function(e){e.selectAll()},readOnly:!0},{name:"centerselection",description:"Center selection",bindKey:o(null,"Ctrl-L"),exec:function(e){e.centerSelection()},readOnly:!0},{name:"gotoline",description:"Go to line...",bindKey:o("Ctrl-L","Command-L"),exec:function(e,t){"number"!==typeof t||isNaN(t)||e.gotoLine(t),e.prompt({$type:"gotoLine"})},readOnly:!0},{name:"fold",bindKey:o("Alt-L|Ctrl-F1","Command-Alt-L|Command-F1"),exec:function(e){e.session.toggleFold(!1)},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"unfold",bindKey:o("Alt-Shift-L|Ctrl-Shift-F1","Command-Alt-Shift-L|Command-Shift-F1"),exec:function(e){e.session.toggleFold(!0)},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"toggleFoldWidget",description:"Toggle fold widget",bindKey:o("F2","F2"),exec:function(e){e.session.toggleFoldWidget()},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"toggleParentFoldWidget",description:"Toggle parent fold widget",bindKey:o("Alt-F2","Alt-F2"),exec:function(e){e.session.toggleFoldWidget(!0)},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"foldall",description:"Fold all",bindKey:o(null,"Ctrl-Command-Option-0"),exec:function(e){e.session.foldAll()},scrollIntoView:"center",readOnly:!0},{name:"foldAllComments",description:"Fold all comments",bindKey:o(null,"Ctrl-Command-Option-0"),exec:function(e){e.session.foldAllComments()},scrollIntoView:"center",readOnly:!0},{name:"foldOther",description:"Fold other",bindKey:o("Alt-0","Command-Option-0"),exec:function(e){e.session.foldAll(),e.session.unfold(e.selection.getAllRanges())},scrollIntoView:"center",readOnly:!0},{name:"unfoldall",description:"Unfold all",bindKey:o("Alt-Shift-0","Command-Option-Shift-0"),exec:function(e){e.session.unfold()},scrollIntoView:"center",readOnly:!0},{name:"findnext",description:"Find next",bindKey:o("Ctrl-K","Command-G"),exec:function(e){e.findNext()},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"findprevious",description:"Find previous",bindKey:o("Ctrl-Shift-K","Command-Shift-G"),exec:function(e){e.findPrevious()},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"selectOrFindNext",description:"Select or find next",bindKey:o("Alt-K","Ctrl-G"),exec:function(e){e.selection.isEmpty()?e.selection.selectWord():e.findNext()},readOnly:!0},{name:"selectOrFindPrevious",description:"Select or find previous",bindKey:o("Alt-Shift-K","Ctrl-Shift-G"),exec:function(e){e.selection.isEmpty()?e.selection.selectWord():e.findPrevious()},readOnly:!0},{name:"find",description:"Find",bindKey:o("Ctrl-F","Command-F"),exec:function(e){r.loadModule("ace/ext/searchbox",(function(t){t.Search(e)}))},readOnly:!0},{name:"overwrite",description:"Overwrite",bindKey:"Insert",exec:function(e){e.toggleOverwrite()},readOnly:!0},{name:"selecttostart",description:"Select to start",bindKey:o("Ctrl-Shift-Home","Command-Shift-Home|Command-Shift-Up"),exec:function(e){e.getSelection().selectFileStart()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"gotostart",description:"Go to start",bindKey:o("Ctrl-Home","Command-Home|Command-Up"),exec:function(e){e.navigateFileStart()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"selectup",description:"Select up",bindKey:o("Shift-Up","Shift-Up|Ctrl-Shift-P"),exec:function(e){e.getSelection().selectUp()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"golineup",description:"Go line up",bindKey:o("Up","Up|Ctrl-P"),exec:function(e,t){e.navigateUp(t.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selecttoend",description:"Select to end",bindKey:o("Ctrl-Shift-End","Command-Shift-End|Command-Shift-Down"),exec:function(e){e.getSelection().selectFileEnd()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"gotoend",description:"Go to end",bindKey:o("Ctrl-End","Command-End|Command-Down"),exec:function(e){e.navigateFileEnd()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"selectdown",description:"Select down",bindKey:o("Shift-Down","Shift-Down|Ctrl-Shift-N"),exec:function(e){e.getSelection().selectDown()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"golinedown",description:"Go line down",bindKey:o("Down","Down|Ctrl-N"),exec:function(e,t){e.navigateDown(t.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectwordleft",description:"Select word left",bindKey:o("Ctrl-Shift-Left","Option-Shift-Left"),exec:function(e){e.getSelection().selectWordLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotowordleft",description:"Go to word left",bindKey:o("Ctrl-Left","Option-Left"),exec:function(e){e.navigateWordLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selecttolinestart",description:"Select to line start",bindKey:o("Alt-Shift-Left","Command-Shift-Left|Ctrl-Shift-A"),exec:function(e){e.getSelection().selectLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotolinestart",description:"Go to line start",bindKey:o("Alt-Left|Home","Command-Left|Home|Ctrl-A"),exec:function(e){e.navigateLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectleft",description:"Select left",bindKey:o("Shift-Left","Shift-Left|Ctrl-Shift-B"),exec:function(e){e.getSelection().selectLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotoleft",description:"Go to left",bindKey:o("Left","Left|Ctrl-B"),exec:function(e,t){e.navigateLeft(t.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectwordright",description:"Select word right",bindKey:o("Ctrl-Shift-Right","Option-Shift-Right"),exec:function(e){e.getSelection().selectWordRight()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotowordright",description:"Go to word right",bindKey:o("Ctrl-Right","Option-Right"),exec:function(e){e.navigateWordRight()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selecttolineend",description:"Select to line end",bindKey:o("Alt-Shift-Right","Command-Shift-Right|Shift-End|Ctrl-Shift-E"),exec:function(e){e.getSelection().selectLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotolineend",description:"Go to line end",bindKey:o("Alt-Right|End","Command-Right|End|Ctrl-E"),exec:function(e){e.navigateLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectright",description:"Select right",bindKey:o("Shift-Right","Shift-Right"),exec:function(e){e.getSelection().selectRight()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotoright",description:"Go to right",bindKey:o("Right","Right|Ctrl-F"),exec:function(e,t){e.navigateRight(t.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectpagedown",description:"Select page down",bindKey:"Shift-PageDown",exec:function(e){e.selectPageDown()},readOnly:!0},{name:"pagedown",description:"Page down",bindKey:o(null,"Option-PageDown"),exec:function(e){e.scrollPageDown()},readOnly:!0},{name:"gotopagedown",description:"Go to page down",bindKey:o("PageDown","PageDown|Ctrl-V"),exec:function(e){e.gotoPageDown()},readOnly:!0},{name:"selectpageup",description:"Select page up",bindKey:"Shift-PageUp",exec:function(e){e.selectPageUp()},readOnly:!0},{name:"pageup",description:"Page up",bindKey:o(null,"Option-PageUp"),exec:function(e){e.scrollPageUp()},readOnly:!0},{name:"gotopageup",description:"Go to page up",bindKey:"PageUp",exec:function(e){e.gotoPageUp()},readOnly:!0},{name:"scrollup",description:"Scroll up",bindKey:o("Ctrl-Up",null),exec:function(e){e.renderer.scrollBy(0,-2*e.renderer.layerConfig.lineHeight)},readOnly:!0},{name:"scrolldown",description:"Scroll down",bindKey:o("Ctrl-Down",null),exec:function(e){e.renderer.scrollBy(0,2*e.renderer.layerConfig.lineHeight)},readOnly:!0},{name:"selectlinestart",description:"Select line start",bindKey:"Shift-Home",exec:function(e){e.getSelection().selectLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectlineend",description:"Select line end",bindKey:"Shift-End",exec:function(e){e.getSelection().selectLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"togglerecording",description:"Toggle recording",bindKey:o("Ctrl-Alt-E","Command-Option-E"),exec:function(e){e.commands.toggleRecording(e)},readOnly:!0},{name:"replaymacro",description:"Replay macro",bindKey:o("Ctrl-Shift-E","Command-Shift-E"),exec:function(e){e.commands.replay(e)},readOnly:!0},{name:"jumptomatching",description:"Jump to matching",bindKey:o("Ctrl-\\|Ctrl-P","Command-\\"),exec:function(e){e.jumpToMatching()},multiSelectAction:"forEach",scrollIntoView:"animate",readOnly:!0},{name:"selecttomatching",description:"Select to matching",bindKey:o("Ctrl-Shift-\\|Ctrl-Shift-P","Command-Shift-\\"),exec:function(e){e.jumpToMatching(!0)},multiSelectAction:"forEach",scrollIntoView:"animate",readOnly:!0},{name:"expandToMatching",description:"Expand to matching",bindKey:o("Ctrl-Shift-M","Ctrl-Shift-M"),exec:function(e){e.jumpToMatching(!0,!0)},multiSelectAction:"forEach",scrollIntoView:"animate",readOnly:!0},{name:"passKeysToBrowser",description:"Pass keys to browser",bindKey:o(null,null),exec:function(){},passEvent:!0,readOnly:!0},{name:"copy",description:"Copy",exec:function(e){},readOnly:!0},{name:"cut",description:"Cut",exec:function(e){var t=e.$copyWithEmptySelection&&e.selection.isEmpty()?e.selection.getLineRange():e.selection.getRange();e._emit("cut",t),t.isEmpty()||e.session.remove(t),e.clearSelection()},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"paste",description:"Paste",exec:function(e,t){e.$handlePaste(t)},scrollIntoView:"cursor"},{name:"removeline",description:"Remove line",bindKey:o("Ctrl-D","Command-D"),exec:function(e){e.removeLines()},scrollIntoView:"cursor",multiSelectAction:"forEachLine"},{name:"duplicateSelection",description:"Duplicate selection",bindKey:o("Ctrl-Shift-D","Command-Shift-D"),exec:function(e){e.duplicateSelection()},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"sortlines",description:"Sort lines",bindKey:o("Ctrl-Alt-S","Command-Alt-S"),exec:function(e){e.sortLines()},scrollIntoView:"selection",multiSelectAction:"forEachLine"},{name:"togglecomment",description:"Toggle comment",bindKey:o("Ctrl-/","Command-/"),exec:function(e){e.toggleCommentLines()},multiSelectAction:"forEachLine",scrollIntoView:"selectionPart"},{name:"toggleBlockComment",description:"Toggle block comment",bindKey:o("Ctrl-Shift-/","Command-Shift-/"),exec:function(e){e.toggleBlockComment()},multiSelectAction:"forEach",scrollIntoView:"selectionPart"},{name:"modifyNumberUp",description:"Modify number up",bindKey:o("Ctrl-Shift-Up","Alt-Shift-Up"),exec:function(e){e.modifyNumber(1)},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"modifyNumberDown",description:"Modify number down",bindKey:o("Ctrl-Shift-Down","Alt-Shift-Down"),exec:function(e){e.modifyNumber(-1)},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"replace",description:"Replace",bindKey:o("Ctrl-H","Command-Option-F"),exec:function(e){r.loadModule("ace/ext/searchbox",(function(t){t.Search(e,!0)}))}},{name:"undo",description:"Undo",bindKey:o("Ctrl-Z","Command-Z"),exec:function(e){e.undo()}},{name:"redo",description:"Redo",bindKey:o("Ctrl-Shift-Z|Ctrl-Y","Command-Shift-Z|Command-Y"),exec:function(e){e.redo()}},{name:"copylinesup",description:"Copy lines up",bindKey:o("Alt-Shift-Up","Command-Option-Up"),exec:function(e){e.copyLinesUp()},scrollIntoView:"cursor"},{name:"movelinesup",description:"Move lines up",bindKey:o("Alt-Up","Option-Up"),exec:function(e){e.moveLinesUp()},scrollIntoView:"cursor"},{name:"copylinesdown",description:"Copy lines down",bindKey:o("Alt-Shift-Down","Command-Option-Down"),exec:function(e){e.copyLinesDown()},scrollIntoView:"cursor"},{name:"movelinesdown",description:"Move lines down",bindKey:o("Alt-Down","Option-Down"),exec:function(e){e.moveLinesDown()},scrollIntoView:"cursor"},{name:"del",description:"Delete",bindKey:o("Delete","Delete|Ctrl-D|Shift-Delete"),exec:function(e){e.remove("right")},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"backspace",description:"Backspace",bindKey:o("Shift-Backspace|Backspace","Ctrl-Backspace|Shift-Backspace|Backspace|Ctrl-H"),exec:function(e){e.remove("left")},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"cut_or_delete",description:"Cut or delete",bindKey:o("Shift-Delete",null),exec:function(e){if(!e.selection.isEmpty())return!1;e.remove("left")},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolinestart",description:"Remove to line start",bindKey:o("Alt-Backspace","Command-Backspace"),exec:function(e){e.removeToLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolineend",description:"Remove to line end",bindKey:o("Alt-Delete","Ctrl-K|Command-Delete"),exec:function(e){e.removeToLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolinestarthard",description:"Remove to line start hard",bindKey:o("Ctrl-Shift-Backspace",null),exec:function(e){var t=e.selection.getRange();t.start.column=0,e.session.remove(t)},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolineendhard",description:"Remove to line end hard",bindKey:o("Ctrl-Shift-Delete",null),exec:function(e){var t=e.selection.getRange();t.end.column=Number.MAX_VALUE,e.session.remove(t)},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removewordleft",description:"Remove word left",bindKey:o("Ctrl-Backspace","Alt-Backspace|Ctrl-Alt-Backspace"),exec:function(e){e.removeWordLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removewordright",description:"Remove word right",bindKey:o("Ctrl-Delete","Alt-Delete"),exec:function(e){e.removeWordRight()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"outdent",description:"Outdent",bindKey:o("Shift-Tab","Shift-Tab"),exec:function(e){e.blockOutdent()},multiSelectAction:"forEach",scrollIntoView:"selectionPart"},{name:"indent",description:"Indent",bindKey:o("Tab","Tab"),exec:function(e){e.indent()},multiSelectAction:"forEach",scrollIntoView:"selectionPart"},{name:"blockoutdent",description:"Block outdent",bindKey:o("Ctrl-[","Ctrl-["),exec:function(e){e.blockOutdent()},multiSelectAction:"forEachLine",scrollIntoView:"selectionPart"},{name:"blockindent",description:"Block indent",bindKey:o("Ctrl-]","Ctrl-]"),exec:function(e){e.blockIndent()},multiSelectAction:"forEachLine",scrollIntoView:"selectionPart"},{name:"insertstring",description:"Insert string",exec:function(e,t){e.insert(t)},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"inserttext",description:"Insert text",exec:function(e,t){e.insert(n.stringRepeat(t.text||"",t.times||1))},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"splitline",description:"Split line",bindKey:o(null,"Ctrl-O"),exec:function(e){e.splitLine()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"transposeletters",description:"Transpose letters",bindKey:o("Alt-Shift-X","Ctrl-T"),exec:function(e){e.transposeLetters()},multiSelectAction:function(e){e.transposeSelections(1)},scrollIntoView:"cursor"},{name:"touppercase",description:"To uppercase",bindKey:o("Ctrl-U","Ctrl-U"),exec:function(e){e.toUpperCase()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"tolowercase",description:"To lowercase",bindKey:o("Ctrl-Shift-U","Ctrl-Shift-U"),exec:function(e){e.toLowerCase()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"autoindent",description:"Auto Indent",bindKey:o(null,null),exec:function(e){e.autoIndent()},multiSelectAction:"forEachLine",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:"joinlines",description:"Join lines",bindKey:o(null,null),exec:function(e){for(var t=e.selection.isBackwards(),l=t?e.selection.getSelectionLead():e.selection.getSelectionAnchor(),r=t?e.selection.getSelectionAnchor():e.selection.getSelectionLead(),o=e.session.doc.getLine(l.row).length,i=e.session.doc.getTextRange(e.selection.getRange()).replace(/\n\s*/," ").length,s=e.session.doc.getLine(l.row),c=l.row+1;c<=r.row+1;c++){var u=n.stringTrimLeft(n.stringTrimRight(e.session.doc.getLine(c)));0!==u.length&&(u=" "+u),s+=u}r.row+10?(e.selection.moveCursorTo(l.row,l.column),e.selection.selectTo(l.row,l.column+i)):(o=e.session.doc.getLine(l.row).length>o?o+1:o,e.selection.moveCursorTo(l.row,o))},multiSelectAction:"forEach",readOnly:!0},{name:"invertSelection",description:"Invert selection",bindKey:o(null,null),exec:function(e){var t=e.session.doc.getLength()-1,l=e.session.doc.getLine(t).length,n=e.selection.rangeList.ranges,r=[];n.length<1&&(n=[e.selection.getRange()]);for(var o=0;o=r.lastRow||n.end.row<=r.firstRow)&&this.renderer.scrollSelectionIntoView(this.selection.anchor,this.selection.lead)}"animate"==l&&this.renderer.animateScrolling(this.curOp.scrollTop)}var a=this.selection.toJSON();this.curOp.selectionAfter=a,this.$lastSel=this.selection.toJSON(),this.session.getUndoManager().addSelection(a),this.prevOp=this.curOp,this.curOp=null}},this.$mergeableCommands=["backspace","del","insertstring"],this.$historyTracker=function(e){if(this.$mergeUndoDeltas){var t=this.prevOp,l=this.$mergeableCommands,n=t.command&&e.command.name==t.command.name;if("insertstring"==e.command.name){var r=e.args;void 0===this.mergeNextCommand&&(this.mergeNextCommand=!0),n=n&&this.mergeNextCommand&&(!/\s/.test(r)||/\s/.test(t.args)),this.mergeNextCommand=!0}else n=n&&-1!==l.indexOf(e.command.name);"always"!=this.$mergeUndoDeltas&&Date.now()-this.sequenceStartTime>2e3&&(n=!1),n?this.session.mergeUndoDeltas=!0:-1!==l.indexOf(e.command.name)&&(this.sequenceStartTime=Date.now())}},this.setKeyboardHandler=function(e,t){if(e&&"string"===typeof e&&"ace"!=e){this.$keybindingId=e;var l=this;b.loadModule(["keybinding",e],(function(n){l.$keybindingId==e&&l.keyBinding.setKeyboardHandler(n&&n.handler),t&&t()}))}else this.$keybindingId=null,this.keyBinding.setKeyboardHandler(e),t&&t()},this.getKeyboardHandler=function(){return this.keyBinding.getKeyboardHandler()},this.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);var l=this.session.getSelection();l.off("changeCursor",this.$onCursorChange),l.off("changeSelection",this.$onSelectionChange)}this.session=e,e?(this.$onDocumentChange=this.onDocumentChange.bind(this),e.on("change",this.$onDocumentChange),this.renderer.setSession(e),this.$onChangeMode=this.onChangeMode.bind(this),e.on("changeMode",this.$onChangeMode),this.$onTokenizerUpdate=this.onTokenizerUpdate.bind(this),e.on("tokenizerUpdate",this.$onTokenizerUpdate),this.$onChangeTabSize=this.renderer.onChangeTabSize.bind(this.renderer),e.on("changeTabSize",this.$onChangeTabSize),this.$onChangeWrapLimit=this.onChangeWrapLimit.bind(this),e.on("changeWrapLimit",this.$onChangeWrapLimit),this.$onChangeWrapMode=this.onChangeWrapMode.bind(this),e.on("changeWrapMode",this.$onChangeWrapMode),this.$onChangeFold=this.onChangeFold.bind(this),e.on("changeFold",this.$onChangeFold),this.$onChangeFrontMarker=this.onChangeFrontMarker.bind(this),this.session.on("changeFrontMarker",this.$onChangeFrontMarker),this.$onChangeBackMarker=this.onChangeBackMarker.bind(this),this.session.on("changeBackMarker",this.$onChangeBackMarker),this.$onChangeBreakpoint=this.onChangeBreakpoint.bind(this),this.session.on("changeBreakpoint",this.$onChangeBreakpoint),this.$onChangeAnnotation=this.onChangeAnnotation.bind(this),this.session.on("changeAnnotation",this.$onChangeAnnotation),this.$onCursorChange=this.onCursorChange.bind(this),this.session.on("changeOverwrite",this.$onCursorChange),this.$onScrollTopChange=this.onScrollTopChange.bind(this),this.session.on("changeScrollTop",this.$onScrollTopChange),this.$onScrollLeftChange=this.onScrollLeftChange.bind(this),this.session.on("changeScrollLeft",this.$onScrollLeftChange),this.selection=e.getSelection(),this.selection.on("changeCursor",this.$onCursorChange),this.$onSelectionChange=this.onSelectionChange.bind(this),this.selection.on("changeSelection",this.$onSelectionChange),this.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}),e&&e._signal("changeEditor",{editor:this}),e&&e.bgTokenizer&&e.bgTokenizer.scheduleStart()}},this.getSession=function(){return this.session},this.setValue=function(e,t){return this.session.doc.setValue(e),t?1==t?this.navigateFileEnd():-1==t&&this.navigateFileStart():this.selectAll(),e},this.getValue=function(){return this.session.getValue()},this.getSelection=function(){return this.selection},this.resize=function(e){this.renderer.onResize(e)},this.setTheme=function(e,t){this.renderer.setTheme(e,t)},this.getTheme=function(){return this.renderer.getTheme()},this.setStyle=function(e){this.renderer.setStyle(e)},this.unsetStyle=function(e){this.renderer.unsetStyle(e)},this.getFontSize=function(){return this.getOption("fontSize")||r.computedStyle(this.container).fontSize},this.setFontSize=function(e){this.setOption("fontSize",e)},this.$highlightBrackets=function(){if(!this.$highlightPending){var e=this;this.$highlightPending=!0,setTimeout((function(){e.$highlightPending=!1;var t=e.session;if(t&&t.bgTokenizer){t.$bracketHighlight&&(t.$bracketHighlight.markerIds.forEach((function(e){t.removeMarker(e)})),t.$bracketHighlight=null);var l=t.getMatchingBracketRanges(e.getCursorPosition());if(!l&&t.$mode.getMatching&&(l=t.$mode.getMatching(e.session)),l){var n="ace_bracket";Array.isArray(l)?1==l.length&&(n="ace_error_bracket"):l=[l],2==l.length&&(0==p.comparePoints(l[0].end,l[1].start)?l=[p.fromPoints(l[0].start,l[1].end)]:0==p.comparePoints(l[0].start,l[1].end)&&(l=[p.fromPoints(l[1].start,l[0].end)])),t.$bracketHighlight={ranges:l,markerIds:l.map((function(e){return t.addMarker(e,n,"text")}))}}}}),50)}},this.$highlightTags=function(){if(!this.$highlightTagPending){var e=this;this.$highlightTagPending=!0,setTimeout((function(){e.$highlightTagPending=!1;var t=e.session;if(t&&t.bgTokenizer){var l=e.getCursorPosition(),n=new v(e.session,l.row,l.column),r=n.getCurrentToken();if(!r||!/\b(?:tag-open|tag-name)/.test(r.type))return t.removeMarker(t.$tagHighlight),void(t.$tagHighlight=null);if(-1===r.type.indexOf("tag-open")||(r=n.stepForward())){var a=r.value,o=r.value,i=0,s=n.stepBackward();if("<"===s.value)do{s=r,(r=n.stepForward())&&(-1!==r.type.indexOf("tag-name")?a===(o=r.value)&&("<"===s.value?i++:""===r.value&&i--)}while(r&&i>=0);else{do{if(r=s,s=n.stepBackward(),r)if(-1!==r.type.indexOf("tag-name"))a===r.value&&("<"===s.value?i++:""===r.value){for(var c=0,u=s;u;){if(-1!==u.type.indexOf("tag-name")&&u.value===a){i--;break}if("<"===u.value)break;u=n.stepBackward(),c++}for(var d=0;d1||(e=!1)),t.$highlightLineMarker&&!e)t.removeMarker(t.$highlightLineMarker.id),t.$highlightLineMarker=null;else if(!t.$highlightLineMarker&&e){var l=new p(e.row,e.column,e.row,1/0);l.id=t.addMarker(l,"ace_active-line","screenLine"),t.$highlightLineMarker=l}else e&&(t.$highlightLineMarker.start.row=e.row,t.$highlightLineMarker.end.row=e.row,t.$highlightLineMarker.start.column=e.column,t._signal("changeBackMarker"))},this.onSelectionChange=function(e){var t=this.session;if(t.$selectionMarker&&t.removeMarker(t.$selectionMarker),t.$selectionMarker=null,this.selection.isEmpty())this.$updateHighlightActiveLine();else{var l=this.selection.getRange(),n=this.getSelectionStyle();t.$selectionMarker=t.addMarker(l,"ace_selection",n)}var r=this.$highlightSelectedWord&&this.$getSelectionHighLightRegexp();this.session.highlight(r),this._signal("changeSelection")},this.$getSelectionHighLightRegexp=function(){var e=this.session,t=this.getSelectionRange();if(!t.isEmpty()&&!t.isMultiLine()){var l=t.start.column,n=t.end.column,r=e.getLine(t.start.row),a=r.substring(l,n);if(!(a.length>5e3)&&/[\w\d]/.test(a)){var o=this.$search.$assembleRegExp({wholeWord:!0,caseSensitive:!0,needle:a}),i=r.substring(l-1,n+1);if(o.test(i))return o}}},this.onChangeFrontMarker=function(){this.renderer.updateFrontMarkers()},this.onChangeBackMarker=function(){this.renderer.updateBackMarkers()},this.onChangeBreakpoint=function(){this.renderer.updateBreakpoints()},this.onChangeAnnotation=function(){this.renderer.setAnnotations(this.session.getAnnotations())},this.onChangeMode=function(e){this.renderer.updateText(),this._emit("changeMode",e)},this.onChangeWrapLimit=function(){this.renderer.updateFull()},this.onChangeWrapMode=function(){this.renderer.onResize(!0)},this.onChangeFold=function(){this.$updateHighlightActiveLine(),this.renderer.updateFull()},this.getSelectedText=function(){return this.session.getTextRange(this.getSelectionRange())},this.getCopyText=function(){var e=this.getSelectedText(),t=this.session.doc.getNewLineCharacter(),l=!1;if(!e&&this.$copyWithEmptySelection){l=!0;for(var n=this.selection.getAllRanges(),r=0;ri.search(/\S|$/)){var s=i.substr(r.column).search(/\S|$/);l.doc.removeInLine(r.row,r.column,r.column+s)}}this.clearSelection();var c=r.column,u=l.getState(r.row),d=(i=l.getLine(r.row),n.checkOutdent(u,i,e));if(l.insert(r,e),a&&a.selection&&(2==a.selection.length?this.selection.setSelectionRange(new p(r.row,c+a.selection[0],r.row,c+a.selection[1])):this.selection.setSelectionRange(new p(r.row+a.selection[0],a.selection[1],r.row+a.selection[2],a.selection[3]))),this.$enableAutoIndent){if(l.getDocument().isNewLine(e)){var f=n.getNextLineIndent(u,i.slice(0,r.column),l.getTabString());l.insert({row:r.row+1,column:0},f)}d&&n.autoOutdent(u,l,r.row)}},this.autoIndent=function(){var e,t,l=this.session,n=l.getMode();if(this.selection.isEmpty())e=0,t=l.doc.getLength()-1;else{var r=this.getSelectionRange();e=r.start.row,t=r.end.row}for(var a,o,i,s="",c="",u="",d=l.getTabString(),f=e;f<=t;f++)f>0&&(s=l.getState(f-1),c=l.getLine(f-1),u=n.getNextLineIndent(s,c,d)),a=l.getLine(f),u!==(o=n.$getIndent(a))&&(o.length>0&&(i=new p(f,0,f,o.length),l.remove(i)),u.length>0&&l.insert({row:f,column:0},u)),n.autoOutdent(s,l,f)},this.onTextInput=function(e,t){if(!t)return this.keyBinding.onTextInput(e);this.startOperation({command:{name:"insertstring"}});var l=this.applyComposition.bind(this,e,t);this.selection.rangeCount?this.forEachSelection(l):l(),this.endOperation()},this.applyComposition=function(e,t){var l;(t.extendLeft||t.extendRight)&&((l=this.selection.getRange()).start.column-=t.extendLeft,l.end.column+=t.extendRight,l.start.column<0&&(l.start.row--,l.start.column+=this.session.getLine(l.start.row).length+1),this.selection.setRange(l),e||l.isEmpty()||this.remove());(!e&&this.selection.isEmpty()||this.insert(e,!0),t.restoreStart||t.restoreEnd)&&((l=this.selection.getRange()).start.column-=t.restoreStart,l.end.column-=t.restoreEnd,this.selection.setRange(l))},this.onCommandKey=function(e,t,l){return this.keyBinding.onCommandKey(e,t,l)},this.setOverwrite=function(e){this.session.setOverwrite(e)},this.getOverwrite=function(){return this.session.getOverwrite()},this.toggleOverwrite=function(){this.session.toggleOverwrite()},this.setScrollSpeed=function(e){this.setOption("scrollSpeed",e)},this.getScrollSpeed=function(){return this.getOption("scrollSpeed")},this.setDragDelay=function(e){this.setOption("dragDelay",e)},this.getDragDelay=function(){return this.getOption("dragDelay")},this.setSelectionStyle=function(e){this.setOption("selectionStyle",e)},this.getSelectionStyle=function(){return this.getOption("selectionStyle")},this.setHighlightActiveLine=function(e){this.setOption("highlightActiveLine",e)},this.getHighlightActiveLine=function(){return this.getOption("highlightActiveLine")},this.setHighlightGutterLine=function(e){this.setOption("highlightGutterLine",e)},this.getHighlightGutterLine=function(){return this.getOption("highlightGutterLine")},this.setHighlightSelectedWord=function(e){this.setOption("highlightSelectedWord",e)},this.getHighlightSelectedWord=function(){return this.$highlightSelectedWord},this.setAnimatedScroll=function(e){this.renderer.setAnimatedScroll(e)},this.getAnimatedScroll=function(){return this.renderer.getAnimatedScroll()},this.setShowInvisibles=function(e){this.renderer.setShowInvisibles(e)},this.getShowInvisibles=function(){return this.renderer.getShowInvisibles()},this.setDisplayIndentGuides=function(e){this.renderer.setDisplayIndentGuides(e)},this.getDisplayIndentGuides=function(){return this.renderer.getDisplayIndentGuides()},this.setShowPrintMargin=function(e){this.renderer.setShowPrintMargin(e)},this.getShowPrintMargin=function(){return this.renderer.getShowPrintMargin()},this.setPrintMarginColumn=function(e){this.renderer.setPrintMarginColumn(e)},this.getPrintMarginColumn=function(){return this.renderer.getPrintMarginColumn()},this.setReadOnly=function(e){this.setOption("readOnly",e)},this.getReadOnly=function(){return this.getOption("readOnly")},this.setBehavioursEnabled=function(e){this.setOption("behavioursEnabled",e)},this.getBehavioursEnabled=function(){return this.getOption("behavioursEnabled")},this.setWrapBehavioursEnabled=function(e){this.setOption("wrapBehavioursEnabled",e)},this.getWrapBehavioursEnabled=function(){return this.getOption("wrapBehavioursEnabled")},this.setShowFoldWidgets=function(e){this.setOption("showFoldWidgets",e)},this.getShowFoldWidgets=function(){return this.getOption("showFoldWidgets")},this.setFadeFoldWidgets=function(e){this.setOption("fadeFoldWidgets",e)},this.getFadeFoldWidgets=function(){return this.getOption("fadeFoldWidgets")},this.remove=function(e){this.selection.isEmpty()&&("left"==e?this.selection.selectLeft():this.selection.selectRight());var t=this.getSelectionRange();if(this.getBehavioursEnabled()){var l=this.session,n=l.getState(t.start.row),r=l.getMode().transformAction(n,"deletion",this,l,t);if(0===t.end.column){var a=l.getTextRange(t);if("\n"==a[a.length-1]){var o=l.getLine(t.end.row);/^\s+$/.test(o)&&(t.end.column=o.length)}}r&&(t=r)}this.session.remove(t),this.clearSelection()},this.removeWordRight=function(){this.selection.isEmpty()&&this.selection.selectWordRight(),this.session.remove(this.getSelectionRange()),this.clearSelection()},this.removeWordLeft=function(){this.selection.isEmpty()&&this.selection.selectWordLeft(),this.session.remove(this.getSelectionRange()),this.clearSelection()},this.removeToLineStart=function(){this.selection.isEmpty()&&this.selection.selectLineStart(),this.selection.isEmpty()&&this.selection.selectLeft(),this.session.remove(this.getSelectionRange()),this.clearSelection()},this.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()},this.splitLine=function(){this.selection.isEmpty()||(this.session.remove(this.getSelectionRange()),this.clearSelection());var e=this.getCursorPosition();this.insert("\n"),this.moveCursorToPosition(e)},this.transposeLetters=function(){if(this.selection.isEmpty()){var e=this.getCursorPosition(),t=e.column;if(0!==t){var l,n,r=this.session.getLine(e.row);tt.toLowerCase()?1:0}));var r=new p(0,0,0,0);for(n=e.first;n<=e.last;n++){var a=t.getLine(n);r.start.row=n,r.end.row=n,r.end.column=a.length,t.replace(r,l[n-e.first])}},this.toggleCommentLines=function(){var e=this.session.getState(this.getCursorPosition().row),t=this.$getSelectedRows();this.session.getMode().toggleCommentLines(e,this.session,t.first,t.last)},this.toggleBlockComment=function(){var e=this.getCursorPosition(),t=this.session.getState(e.row),l=this.getSelectionRange();this.session.getMode().toggleBlockComment(t,this.session,l,e)},this.getNumberAt=function(e,t){var l=/[\-]?[0-9]+(?:\.[0-9]+)?/g;l.lastIndex=0;for(var n=this.session.getLine(e);l.lastIndex=t)return{value:r[0],start:r.index,end:r.index+r[0].length}}return null},this.modifyNumber=function(e){var t=this.selection.getCursor().row,l=this.selection.getCursor().column,n=new p(t,l-1,t,l),r=this.session.getTextRange(n);if(!isNaN(parseFloat(r))&&isFinite(r)){var a=this.getNumberAt(t,l);if(a){var o=a.value.indexOf(".")>=0?a.start+a.value.indexOf(".")+1:a.end,i=a.start+a.value.length-o,s=parseFloat(a.value);s*=Math.pow(10,i),o!==a.end&&l=i&&o<=s&&(l=t,c.selection.clearSelection(),c.moveCursorTo(e,i+n),c.selection.selectTo(e,s+n)),i=s}));for(var u,d=this.$toggleWordPairs,f=0;fp+1)break;p=h.last}for(u--,i=this.session.$moveLines(f,p,t?0:e),t&&-1==e&&(d=u+1);d<=u;)o[d].moveBy(i,0),d++;t||(i=0),s+=i}r.fromOrientedRange(r.ranges[0]),r.rangeList.attach(this.session),this.inVirtualSelectionMode=!1}},this.$getSelectedRows=function(e){return e=(e||this.getSelectionRange()).collapseRows(),{first:this.session.getRowFoldStart(e.start.row),last:this.session.getRowFoldEnd(e.end.row)}},this.onCompositionStart=function(e){this.renderer.showComposition(e)},this.onCompositionUpdate=function(e){this.renderer.setCompositionText(e)},this.onCompositionEnd=function(){this.renderer.hideComposition()},this.getFirstVisibleRow=function(){return this.renderer.getFirstVisibleRow()},this.getLastVisibleRow=function(){return this.renderer.getLastVisibleRow()},this.isRowVisible=function(e){return e>=this.getFirstVisibleRow()&&e<=this.getLastVisibleRow()},this.isRowFullyVisible=function(e){return e>=this.renderer.getFirstFullyVisibleRow()&&e<=this.renderer.getLastFullyVisibleRow()},this.$getVisibleRowCount=function(){return this.renderer.getScrollBottomRow()-this.renderer.getScrollTopRow()+1},this.$moveByPage=function(e,t){var l=this.renderer,n=this.renderer.layerConfig,r=e*Math.floor(n.height/n.lineHeight);!0===t?this.selection.$moveSelection((function(){this.moveCursorBy(r,0)})):!1===t&&(this.selection.moveCursorBy(r,0),this.selection.clearSelection());var a=l.scrollTop;l.scrollBy(0,r*n.lineHeight),null!=t&&l.scrollCursorIntoView(null,.5),l.animateScrolling(a)},this.selectPageDown=function(){this.$moveByPage(1,!0)},this.selectPageUp=function(){this.$moveByPage(-1,!0)},this.gotoPageDown=function(){this.$moveByPage(1,!1)},this.gotoPageUp=function(){this.$moveByPage(-1,!1)},this.scrollPageDown=function(){this.$moveByPage(1)},this.scrollPageUp=function(){this.$moveByPage(-1)},this.scrollToRow=function(e){this.renderer.scrollToRow(e)},this.scrollToLine=function(e,t,l,n){this.renderer.scrollToLine(e,t,l,n)},this.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)},this.getCursorPosition=function(){return this.selection.getCursor()},this.getCursorPositionScreen=function(){return this.session.documentToScreenPosition(this.getCursorPosition())},this.getSelectionRange=function(){return this.selection.getRange()},this.selectAll=function(){this.selection.selectAll()},this.clearSelection=function(){this.selection.clearSelection()},this.moveCursorTo=function(e,t){this.selection.moveCursorTo(e,t)},this.moveCursorToPosition=function(e){this.selection.moveCursorToPosition(e)},this.jumpToMatching=function(e,t){var l=this.getCursorPosition(),n=new v(this.session,l.row,l.column),r=n.getCurrentToken(),a=r||n.stepForward();if(a){var o,i,s=!1,c={},u=l.column-a.start,d={")":"(","(":"(","]":"[","[":"[","{":"{","}":"{"};do{if(a.value.match(/[{}()\[\]]/g)){for(;u=0;--a)this.$tryReplace(l[a],e)&&n++;return this.selection.setSelectionRange(r),n},this.$tryReplace=function(e,t){var l=this.session.getTextRange(e);return null!==(t=this.$search.replace(l,t))?(e.end=this.session.replace(e,t),e):null},this.getLastSearchOptions=function(){return this.$search.getOptions()},this.find=function(e,t,l){t||(t={}),"string"==typeof e||e instanceof RegExp?t.needle=e:"object"==typeof e&&n.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,l),a):(t.backwards?r.start=r.end:r.end=r.start,void this.selection.setRange(r))},this.findNext=function(e,t){this.find({skipCurrent:!0,backwards:!1},e,t)},this.findPrevious=function(e,t){this.find(e,{skipCurrent:!0,backwards:!0},t)},this.revealRange=function(e,t){this.session.unfold(e),this.selection.setSelectionRange(e);var l=this.renderer.scrollTop;this.renderer.scrollSelectionIntoView(e.start,e.end,.5),!1!==t&&this.renderer.animateScrolling(l)},this.undo=function(){this.session.getUndoManager().undo(this.session),this.renderer.scrollCursorIntoView(null,.5)},this.redo=function(){this.session.getUndoManager().redo(this.session),this.renderer.scrollCursorIntoView(null,.5)},this.destroy=function(){this.$toDestroy&&(this.$toDestroy.forEach((function(e){e.destroy()})),this.$toDestroy=null),this.$mouseHandler&&this.$mouseHandler.destroy(),this.renderer.destroy(),this._signal("destroy",this),this.session&&this.session.destroy(),this._$emitInputEvent&&this._$emitInputEvent.cancel(),this.removeAllListeners()},this.setAutoScrollEditorIntoView=function(e){if(e){var t,l=this,n=!1;this.$scrollAnchor||(this.$scrollAnchor=document.createElement("div"));var r=this.$scrollAnchor;r.style.cssText="position:absolute",this.container.insertBefore(r,this.container.firstChild);var a=this.on("changeSelection",(function(){n=!0})),o=this.renderer.on("beforeRender",(function(){n&&(t=l.renderer.container.getBoundingClientRect())})),i=this.renderer.on("afterRender",(function(){if(n&&t&&(l.isFocused()||l.searchBox&&l.searchBox.isFocused())){var e=l.renderer,a=e.$cursorLayer.$pixelPos,o=e.layerConfig,i=a.top-o.offset;null!=(n=a.top>=0&&i+t.top<0||!(a.topwindow.innerHeight)&&null)&&(r.style.top=i+"px",r.style.left=a.left+"px",r.style.height=o.lineHeight+"px",r.scrollIntoView(n)),n=t=null}}));this.setAutoScrollEditorIntoView=function(e){e||(delete this.setAutoScrollEditorIntoView,this.off("changeSelection",a),this.renderer.off("afterRender",i),this.renderer.off("beforeRender",o))}}},this.$resetCursorStyle=function(){var e=this.$cursorStyle||"ace",t=this.renderer.$cursorLayer;t&&(t.setSmoothBlinking(/smooth/.test(e)),t.isBlinking=!this.$readOnly&&"wide"!=e,r.setCssClass(t.element,"ace_slim-cursors",/slim/.test(e)))},this.prompt=function(e,t,l){var n=this;b.loadModule("./ext/prompt",(function(r){r.prompt(n,e,t,l)}))}}.call(w.prototype),b.defineOptions(w.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){this.textInput.setReadOnly(e),this.$resetCursorStyle()},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?x.attach(this):x.detach(this)},initialValue:!0},relativeLineNumbers:{set:function(e){this.$showLineNumbers&&e?x.attach(this):x.detach(this)}},placeholder:{set:function(e){this.$updatePlaceholder||(this.$updatePlaceholder=function(){var e=this.session&&(this.renderer.$composition||this.getValue());if(e&&this.renderer.placeholderNode)this.renderer.off("afterRender",this.$updatePlaceholder),r.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),r.addCssClass(this.container,"ace_hasPlaceholder");var t=r.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()}},hScrollBarAlwaysVisible:"renderer",vScrollBarAlwaysVisible:"renderer",highlightGutterLine:"renderer",animatedScroll:"renderer",showInvisibles:"renderer",showPrintMargin:"renderer",printMarginColumn:"renderer",printMargin:"renderer",fadeFoldWidgets:"renderer",showFoldWidgets:"renderer",displayIndentGuides:"renderer",showGutter:"renderer",fontSize:"renderer",fontFamily:"renderer",maxLines:"renderer",minLines:"renderer",scrollPastEnd:"renderer",fixedWidthGutter:"renderer",theme:"renderer",hasCssTransforms:"renderer",maxPixelHeight:"renderer",useTextareaForIME:"renderer",scrollSpeed:"$mouseHandler",dragDelay:"$mouseHandler",dragEnabled:"$mouseHandler",focusTimeout:"$mouseHandler",tooltipFollowsMouse:"$mouseHandler",firstLineNumber:"session",overwrite:"session",newLineMode:"session",useWorker:"session",useSoftTabs:"session",navigateWithinSoftTabs:"session",tabSize:"session",wrap:"session",indentedSoftWrap:"session",foldStyle:"session",mode:"session"});var x={getText:function(e,t){return(Math.abs(e.selection.lead.row-t)||t+1+(t<9?"\xb7":""))+""},getWidth:function(e,t,l){return Math.max(t.toString().length,(l.lastRow+1).toString().length,2)*l.characterWidth},update:function(e,t){t.renderer.$loop.schedule(t.renderer.CHANGE_GUTTER)},attach:function(e){e.renderer.$gutterLayer.$renderer=this,e.on("changeSelection",this.update),this.update(null,e)},detach:function(e){e.renderer.$gutterLayer.$renderer==this&&(e.renderer.$gutterLayer.$renderer=null),e.off("changeSelection",this.update),this.update(null,e)}};t.Editor=w})),ace.define("ace/undomanager",["require","exports","module","ace/range"],(function(e,t,l){"use strict";var n=function(){this.$maxRev=0,this.$fromUndo=!1,this.reset()};(function(){this.addSession=function(e){this.$session=e},this.add=function(e,t,l){this.$fromUndo||e!=this.$lastDelta&&(this.$keepRedoStack||(this.$redoStack.length=0),!1!==t&&this.lastDeltas||(this.lastDeltas=[],this.$undoStack.push(this.lastDeltas),e.id=this.$rev=++this.$maxRev),"remove"!=e.action&&"insert"!=e.action||(this.$lastDelta=e),this.lastDeltas.push(e))},this.addSelection=function(e,t){this.selections.push({value:e,rev:t||this.$rev})},this.startNewGroup=function(){return this.lastDeltas=null,this.$rev},this.markIgnored=function(e,t){null==t&&(t=this.$rev+1);for(var l=this.$undoStack,n=l.length;n--;){var r=l[n][0];if(r.id<=e)break;r.id0},this.canRedo=function(){return this.$redoStack.length>0},this.bookmark=function(e){void 0==e&&(e=this.$rev),this.mark=e},this.isAtBookmark=function(){return this.$rev===this.mark},this.toJSON=function(){},this.fromJSON=function(){},this.hasUndo=this.canUndo,this.hasRedo=this.canRedo,this.isClean=this.isAtBookmark,this.markClean=this.bookmark,this.$prettyPrint=function(e){return e?i(e):i(this.$undoStack)+"\n---\n"+i(this.$redoStack)}}).call(n.prototype);var r=e("./range").Range,a=r.comparePoints;r.comparePoints;function o(e){return{row:e.row,column:e.column}}function i(e){if(e=e||this,Array.isArray(e))return e.map(i).join("\n");var t="";return e.action?(t="insert"==e.action?"+":"-",t+="["+e.lines+"]"):e.value&&(t=Array.isArray(e.value)?e.value.map(s).join("\n"):s(e.value)),e.start&&(t+=s(e)),(e.id||e.rev)&&(t+="\t("+(e.id||e.rev)+")"),t}function s(e){return e.start.row+":"+e.start.column+"=>"+e.end.row+":"+e.end.column}function c(e,t){var l="insert"==e.action,n="insert"==t.action;if(l&&n)if(a(t.start,e.end)>=0)f(t,e,-1);else{if(!(a(t.start,e.start)<=0))return null;f(e,t,1)}else if(l&&!n)if(a(t.start,e.end)>=0)f(t,e,-1);else{if(!(a(t.end,e.start)<=0))return null;f(e,t,-1)}else if(!l&&n)if(a(t.start,e.start)>=0)f(t,e,1);else{if(!(a(t.start,e.start)<=0))return null;f(e,t,1)}else if(!l&&!n)if(a(t.start,e.start)>=0)f(t,e,1);else{if(!(a(t.end,e.start)<=0))return null;f(e,t,-1)}return[t,e]}function u(e,t){for(var l=e.length;l--;)for(var n=0;n=0?f(e,t,-1):(a(e.start,t.start)<=0||f(e,r.fromPoints(t.start,e.start),-1),f(t,e,1));else if(!l&&n)a(t.start,e.end)>=0?f(t,e,-1):(a(t.start,e.start)<=0||f(t,r.fromPoints(e.start,t.start),-1),f(e,t,1));else if(!l&&!n)if(a(t.start,e.end)>=0)f(t,e,-1);else{var o,i;if(!(a(t.end,e.start)<=0))return a(e.start,t.start)<0&&(o=e,e=h(e,t.start)),a(e.end,t.end)>0&&(i=h(e,t.end)),p(t.end,e.start,e.end,-1),i&&!o&&(e.lines=i.lines,e.start=i.start,e.end=i.end,i=e),[t,o,i].filter(Boolean);f(e,t,-1)}return[t,e]}function f(e,t,l){p(e.start,t.start,t.end,l),p(e.end,t.start,t.end,l)}function p(e,t,l,n){e.row==(1==n?t:l).row&&(e.column+=n*(l.column-t.column)),e.row+=n*(l.row-t.row)}function h(e,t){var l=e.lines,n=e.end;e.end=o(t);var r=e.end.row-e.start.row,a=l.splice(r,l.length),i=r?t.column:t.column-e.start.column;return l.push(a[0].substring(0,i)),a[0]=a[0].substr(i),{start:o(t),end:n,lines:a,action:e.action}}function m(e,t){t=function(e){return{start:o(e.start),end:o(e.end),action:e.action,lines:e.lines.slice()}}(t);for(var l=e.length;l--;){for(var n=e[l],r=0;ra&&(s=r.end.row+1,a=(r=t.getNextFoldLine(s,r))?r.start.row:1/0),s>n){for(;this.$lines.getLength()>i+1;)this.$lines.pop();break}(o=this.$lines.get(++i))?o.row=s:(o=this.$lines.createCell(s,e,this.session,c),this.$lines.push(o)),this.$renderCell(o,e,r,s),s++}this._signal("afterRender"),this.$updateGutterWidth(e)},this.$updateGutterWidth=function(e){var t=this.session,l=t.gutterRenderer||this.$renderer,n=t.$firstLineNumber,r=this.$lines.last()?this.$lines.last().text:"";(this.$fixedWidth||t.$useWrapMode)&&(r=t.getLength()+n-1);var a=l?l.getWidth(t,r,e):r.toString().length*e.characterWidth,o=this.$padding||this.$computePadding();(a+=o.left+o.right)===this.gutterWidth||isNaN(a)||(this.gutterWidth=a,this.element.parentNode.style.width=this.element.style.width=Math.ceil(this.gutterWidth)+"px",this._signal("changeGutterWidth",a))},this.$updateCursorRow=function(){if(this.$highlightGutterLine){var e=this.session.selection.getCursor();this.$cursorRow!==e.row&&(this.$cursorRow=e.row)}},this.updateLineHighlight=function(){if(this.$highlightGutterLine){var e=this.session.selection.cursor.row;if(this.$cursorRow=e,!this.$cursorCell||this.$cursorCell.row!=e){this.$cursorCell&&(this.$cursorCell.element.className=this.$cursorCell.element.className.replace("ace_gutter-active-line ",""));var t=this.$lines.cells;this.$cursorCell=null;for(var l=0;l=this.$cursorRow){if(n.row>this.$cursorRow){var r=this.session.getFoldLine(this.$cursorRow);if(!(l>0&&r&&r.start.row==t[l-1].row))break;n=t[l-1]}n.element.className="ace_gutter-active-line "+n.element.className,this.$cursorCell=n;break}}}}},this.scrollLines=function(e){var t=this.config;if(this.config=e,this.$updateCursorRow(),this.$lines.pageChanged(t,e))return this.update(e);this.$lines.moveContainer(e);var l=Math.min(e.lastRow+e.gutterOffset,this.session.getLength()-1),n=this.oldLastRow;if(this.oldLastRow=l,!t||n0;r--)this.$lines.shift();if(n>l)for(r=this.session.getFoldedRowCount(l+1,n);r>0;r--)this.$lines.pop();e.firstRown&&this.$lines.push(this.$renderLines(e,n+1,l)),this.updateLineHighlight(),this._signal("afterRender"),this.$updateGutterWidth(e)},this.$renderLines=function(e,t,l){for(var n=[],r=t,a=this.session.getNextFoldLine(r),o=a?a.start.row:1/0;r>o&&(r=a.end.row+1,o=(a=this.session.getNextFoldLine(r,a))?a.start.row:1/0),!(r>l);){var i=this.$lines.createCell(r,e,this.session,c);this.$renderCell(i,e,a,r),n.push(i),r++}return n},this.$renderCell=function(e,t,l,r){var a=e.element,o=this.session,i=a.childNodes[0],s=a.childNodes[1],c=o.$firstLineNumber,u=o.$breakpoints,d=o.$decorations,f=o.gutterRenderer||this.$renderer,p=this.$showFoldWidgets&&o.foldWidgets,h=l?l.start.row:Number.MAX_VALUE,m="ace_gutter-cell ";if(this.$highlightGutterLine&&(r==this.$cursorRow||l&&r=h&&this.$cursorRow<=l.end.row)&&(m+="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)),u[r]&&(m+=u[r]),d[r]&&(m+=d[r]),this.$annotations[r]&&(m+=this.$annotations[r].className),a.className!=m&&(a.className=m),p){var g=p[r];null==g&&(g=p[r]=o.getFoldWidget(r))}if(g){m="ace_fold-widget ace_"+g;"start"==g&&r==h&&rl.right-t.right?"foldWidgets":void 0}}).call(s.prototype),t.Gutter=s})),ace.define("ace/layer/marker",["require","exports","module","ace/range","ace/lib/dom"],(function(e,t,l){"use strict";var n=e("../range").Range,r=e("../lib/dom"),a=function(e){this.element=r.createElement("div"),this.element.className="ace_layer ace_marker-layer",e.appendChild(this.element)};(function(){this.$padding=0,this.setPadding=function(e){this.$padding=e},this.setSession=function(e){this.session=e},this.setMarkers=function(e){this.markers=e},this.elt=function(e,t){var l=-1!=this.i&&this.element.childNodes[this.i];l?this.i++:(l=document.createElement("div"),this.element.appendChild(l),this.i=-1),l.style.cssText=t,l.className=e},this.update=function(e){if(e){var t;for(var l in this.config=e,this.i=0,this.markers){var n=this.markers[l];if(n.range){var r=n.range.clipRows(e.firstRow,e.lastRow);if(!r.isEmpty())if(r=r.toScreenRange(this.session),n.renderer){var a=this.$getTop(r.start.row,e),o=this.$padding+r.start.column*e.characterWidth;n.renderer(t,r,o,a,e)}else"fullLine"==n.type?this.drawFullLineMarker(t,r,n.clazz,e):"screenLine"==n.type?this.drawScreenLineMarker(t,r,n.clazz,e):r.isMultiLine()?"text"==n.type?this.drawTextMarker(t,r,n.clazz,e):this.drawMultiLineMarker(t,r,n.clazz,e):this.drawSingleLineMarker(t,r,n.clazz+" ace_start ace_br15",e)}else n.update(t,this,this.session,e)}if(-1!=this.i)for(;this.if?4:0)|(c==s?8:0)),r,c==s?0:1,a)},this.drawMultiLineMarker=function(e,t,l,n,r){var a=this.$padding,o=n.lineHeight,i=this.$getTop(t.start.row,n),s=a+t.start.column*n.characterWidth;(r=r||"",this.session.$bidiHandler.isBidiRow(t.start.row))?((c=t.clone()).end.row=c.start.row,c.end.column=this.session.getLine(c.start.row).length,this.drawBidiSingleLineMarker(e,c,l+" ace_br1 ace_start",n,null,r)):this.elt(l+" ace_br1 ace_start","height:"+o+"px;right:0;top:"+i+"px;left:"+s+"px;"+(r||""));if(this.session.$bidiHandler.isBidiRow(t.end.row)){var c;(c=t.clone()).start.row=c.end.row,c.start.column=0,this.drawBidiSingleLineMarker(e,c,l+" ace_br12",n,null,r)}else{i=this.$getTop(t.end.row,n);var u=t.end.column*n.characterWidth;this.elt(l+" ace_br12","height:"+o+"px;width:"+u+"px;top:"+i+"px;left:"+a+"px;"+(r||""))}if(!((o=(t.end.row-t.start.row-1)*n.lineHeight)<=0)){i=this.$getTop(t.start.row+1,n);var d=(t.start.column?1:0)|(t.end.column?0:8);this.elt(l+(d?" ace_br"+d:""),"height:"+o+"px;right:0;top:"+i+"px;left:"+a+"px;"+(r||""))}},this.drawSingleLineMarker=function(e,t,l,n,r,a){if(this.session.$bidiHandler.isBidiRow(t.start.row))return this.drawBidiSingleLineMarker(e,t,l,n,r,a);var o=n.lineHeight,i=(t.end.column+(r||0)-t.start.column)*n.characterWidth,s=this.$getTop(t.start.row,n),c=this.$padding+t.start.column*n.characterWidth;this.elt(l,"height:"+o+"px;width:"+i+"px;top:"+s+"px;left:"+c+"px;"+(a||""))},this.drawBidiSingleLineMarker=function(e,t,l,n,r,a){var o=n.lineHeight,i=this.$getTop(t.start.row,n),s=this.$padding;this.session.$bidiHandler.getSelections(t.start.column,t.end.column).forEach((function(e){this.elt(l,"height:"+o+"px;width:"+e.width+(r||0)+"px;top:"+i+"px;left:"+(s+e.left)+"px;"+(a||""))}),this)},this.drawFullLineMarker=function(e,t,l,n,r){var a=this.$getTop(t.start.row,n),o=n.lineHeight;t.start.row!=t.end.row&&(o+=this.$getTop(t.end.row,n)-a),this.elt(l,"height:"+o+"px;top:"+a+"px;left:0;right:0;"+(r||""))},this.drawScreenLineMarker=function(e,t,l,n,r){var a=this.$getTop(t.start.row,n),o=n.lineHeight;this.elt(l,"height:"+o+"px;top:"+a+"px;left:0;right:0;"+(r||""))}}).call(a.prototype),t.Marker=a})),ace.define("ace/layer/text",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/lang","ace/layer/lines","ace/lib/event_emitter"],(function(e,t,l){"use strict";var n=e("../lib/oop"),r=e("../lib/dom"),a=e("../lib/lang"),o=e("./lines").Lines,i=e("../lib/event_emitter").EventEmitter,s=function(e){this.dom=r,this.element=this.dom.createElement("div"),this.element.className="ace_layer ace_text-layer",e.appendChild(this.element),this.$updateEolChar=this.$updateEolChar.bind(this),this.$lines=new o(this.element)};(function(){n.implement(this,i),this.EOF_CHAR="\xb6",this.EOL_CHAR_LF="\xac",this.EOL_CHAR_CRLF="\xa4",this.EOL_CHAR=this.EOL_CHAR_LF,this.TAB_CHAR="\u2014",this.SPACE_CHAR="\xb7",this.$padding=0,this.MAX_LINE_LENGTH=1e4,this.$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},this.setPadding=function(e){this.$padding=e,this.element.style.margin="0 "+e+"px"},this.getLineHeight=function(){return this.$fontMetrics.$characterSize.height||0},this.getCharacterWidth=function(){return this.$fontMetrics.$characterSize.width||0},this.$setFontMetrics=function(e){this.$fontMetrics=e,this.$fontMetrics.on("changeCharacterSize",function(e){this._signal("changeCharacterSize",e)}.bind(this)),this.$pollSizeChanges()},this.checkForSizeChanges=function(){this.$fontMetrics.checkForSizeChanges()},this.$pollSizeChanges=function(){return this.$pollSizeChangesTimer=this.$fontMetrics.$pollSizeChanges()},this.setSession=function(e){this.session=e,e&&this.$computeTabString()},this.showInvisibles=!1,this.showSpaces=!1,this.showTabs=!1,this.showEOL=!1,this.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)},this.displayIndentGuides=!0,this.setDisplayIndentGuides=function(e){return this.displayIndentGuides!=e&&(this.displayIndentGuides=e,this.$computeTabString(),!0)},this.$tabStrings=[],this.onChangeTabSize=this.$computeTabString=function(){var e=this.session.getTabSize();this.tabSize=e;for(var t=this.$tabStrings=[0],l=1;lu&&(i=s.end.row+1,u=(s=this.session.getNextFoldLine(i,s))?s.start.row:1/0),!(i>r);){var d=a[o++];if(d){this.dom.removeChildren(d),this.$renderLine(d,i,i==u&&s),c&&(d.style.top=this.$lines.computeLineTop(i,e,this.session)+"px");var f=e.lineHeight*this.session.getRowLength(i)+"px";d.style.height!=f&&(c=!0,d.style.height=f)}i++}if(c)for(;o0;r--)this.$lines.shift();if(t.lastRow>e.lastRow)for(r=this.session.getFoldedRowCount(e.lastRow+1,t.lastRow);r>0;r--)this.$lines.pop();e.firstRowt.lastRow&&this.$lines.push(this.$renderLinesFragment(e,t.lastRow+1,e.lastRow))},this.$renderLinesFragment=function(e,t,l){for(var n=[],a=t,o=this.session.getNextFoldLine(a),i=o?o.start.row:1/0;a>i&&(a=o.end.row+1,i=(o=this.session.getNextFoldLine(a,o))?o.start.row:1/0),!(a>l);){var s=this.$lines.createCell(a,e,this.session),c=s.element;this.dom.removeChildren(c),r.setStyle(c.style,"height",this.$lines.computeLineHeight(a,e,this.session)+"px"),r.setStyle(c.style,"top",this.$lines.computeLineTop(a,e,this.session)+"px"),this.$renderLine(c,a,a==i&&o),this.$useLineGroups()?c.className="ace_line_group":c.className="ace_line",n.push(s),a++}return n},this.update=function(e){this.$lines.moveContainer(e),this.config=e;for(var t=e.firstRow,l=e.lastRow,n=this.$lines;n.getLength();)n.pop();n.push(this.$renderLinesFragment(e,t,l))},this.$textToken={text:!0,rparen:!0,lparen:!0},this.$renderToken=function(e,t,l,n){for(var r,o=/(\t)|( +)|([\x00-\x1f\x80-\xa0\xad\u1680\u180E\u2000-\u200f\u2028\u2029\u202F\u205F\uFEFF\uFFF9-\uFFFC]+)|(\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),s=0;r=o.exec(n);){var c=r[1],u=r[2],d=r[3],f=r[4],p=r[5];if(this.showSpaces||!u){var h=s!=r.index?n.slice(s,r.index):"";if(s=r.index+r[0].length,h&&i.appendChild(this.dom.createTextNode(h,this.element)),c){var m=this.session.getScreenTabSize(t+r.index);i.appendChild(this.$tabStrings[m].cloneNode(!0)),t+=m-1}else if(u){if(this.showSpaces)(b=this.dom.createElement("span")).className="ace_invisible ace_invisible_space",b.textContent=a.stringRepeat(this.SPACE_CHAR,u.length),i.appendChild(b);else i.appendChild(this.com.createTextNode(u,this.element))}else if(d){(b=this.dom.createElement("span")).className="ace_invisible ace_invisible_space ace_invalid",b.textContent=a.stringRepeat(this.SPACE_CHAR,d.length),i.appendChild(b)}else if(f){t+=1,(b=this.dom.createElement("span")).style.width=2*this.config.characterWidth+"px",b.className=this.showSpaces?"ace_cjk ace_invisible ace_invisible_space":"ace_cjk",b.textContent=this.showSpaces?this.SPACE_CHAR:f,i.appendChild(b)}else if(p){t+=1,(b=this.dom.createElement("span")).style.width=2*this.config.characterWidth+"px",b.className="ace_cjk",b.textContent=p,i.appendChild(b)}}}if(i.appendChild(this.dom.createTextNode(s?n.slice(s):n,this.element)),this.$textToken[l.type])e.appendChild(i);else{var g="ace_"+l.type.replace(/\./g," ace_"),b=this.dom.createElement("span");"fold"==l.type&&(b.style.width=l.value.length*this.config.characterWidth+"px"),b.className=g,b.appendChild(i),e.appendChild(b)}return t+n.length},this.renderIndentGuide=function(e,t,l){var n=t.search(this.$indentGuideRe);if(n<=0||n>=l)return t;if(" "==t[0]){for(var r=(n-=n%this.tabSize)/this.tabSize,a=0;a=o;)i=this.$renderToken(s,i,u,d.substring(0,o-n)),d=d.substring(o-n),n=o,s=this.$createLineElement(),e.appendChild(s),s.appendChild(this.dom.createTextNode(a.stringRepeat("\xa0",l.indent),this.element)),i=0,o=l[++r]||Number.MAX_VALUE;0!=d.length&&(n+=d.length,i=this.$renderToken(s,i,u,d))}}l[l.length-1]>this.MAX_LINE_LENGTH&&this.$renderOverflowMessage(s,i,null,"",!0)},this.$renderSimpleLine=function(e,t){var l=0,n=t[0],r=n.value;this.displayIndentGuides&&(r=this.renderIndentGuide(e,r)),r&&(l=this.$renderToken(e,l,n,r));for(var a=1;athis.MAX_LINE_LENGTH)return this.$renderOverflowMessage(e,l,n,r);l=this.$renderToken(e,l,n,r)}},this.$renderOverflowMessage=function(e,t,l,n,r){l&&this.$renderToken(e,t,l,n.slice(0,this.MAX_LINE_LENGTH-t));var a=this.dom.createElement("span");a.className="ace_inline_button ace_keyword ace_toggle_wrap",a.textContent=r?"":"",e.appendChild(a)},this.$renderLine=function(e,t,l){if(l||0==l||(l=this.session.getFoldLine(t)),l)var n=this.$getFoldLineTokens(t,l);else n=this.session.getTokens(t);var r=e;if(n.length){var a=this.session.getRowSplitData(t);if(a&&a.length){this.$renderWrappedLine(e,n,a);r=e.lastChild}else{r=e;this.$useLineGroups()&&(r=this.$createLineElement(),e.appendChild(r)),this.$renderSimpleLine(r,n)}}else this.$useLineGroups()&&(r=this.$createLineElement(),e.appendChild(r));if(this.showEOL&&r){l&&(t=l.end.row);var o=this.dom.createElement("span");o.className="ace_invisible ace_invisible_eol",o.textContent=t==this.session.getLength()-1?this.EOF_CHAR:this.EOL_CHAR,r.appendChild(o)}},this.$getFoldLineTokens=function(e,t){var l=this.session,n=[];var r=l.getTokens(e);return t.walk((function(e,t,a,o,i){null!=e?n.push({type:"fold",value:e}):(i&&(r=l.getTokens(t)),r.length&&function(e,t,l){for(var r=0,a=0;a+e[r].value.lengthl-t&&(o=o.substring(0,l-t)),n.push({type:e[r].type,value:o}),a=t+o.length,r+=1);al?n.push({type:e[r].type,value:o.substring(0,l-a)}):n.push(e[r]),a+=o.length,r+=1}}(r,o,a))}),t.end.row,this.session.getLine(t.end.row).length),n},this.$useLineGroups=function(){return this.session.getUseWrapMode()},this.destroy=function(){}}).call(s.prototype),t.Text=s})),ace.define("ace/layer/cursor",["require","exports","module","ace/lib/dom"],(function(e,t,l){"use strict";var n=e("../lib/dom"),r=function(e){this.element=n.createElement("div"),this.element.className="ace_layer ace_cursor-layer",e.appendChild(this.element),this.isVisible=!1,this.isBlinking=!0,this.blinkInterval=1e3,this.smoothBlinking=!1,this.cursors=[],this.cursor=this.addCursor(),n.addCssClass(this.element,"ace_hidden-cursors"),this.$updateCursors=this.$updateOpacity.bind(this)};(function(){this.$updateOpacity=function(e){for(var t=this.cursors,l=t.length;l--;)n.setStyle(t[l].style,"opacity",e?"":"0")},this.$startCssAnimation=function(){for(var e=this.cursors,t=e.length;t--;)e[t].style.animationDuration=this.blinkInterval+"ms";this.$isAnimating=!0,setTimeout(function(){this.$isAnimating&&n.addCssClass(this.element,"ace_animate-blinking")}.bind(this))},this.$stopCssAnimation=function(){this.$isAnimating=!1,n.removeCssClass(this.element,"ace_animate-blinking")},this.$padding=0,this.setPadding=function(e){this.$padding=e},this.setSession=function(e){this.session=e},this.setBlinking=function(e){e!=this.isBlinking&&(this.isBlinking=e,this.restartTimer())},this.setBlinkInterval=function(e){e!=this.blinkInterval&&(this.blinkInterval=e,this.restartTimer())},this.setSmoothBlinking=function(e){e!=this.smoothBlinking&&(this.smoothBlinking=e,n.setCssClass(this.element,"ace_smooth-blinking",e),this.$updateCursors(!0),this.restartTimer())},this.addCursor=function(){var e=n.createElement("div");return e.className="ace_cursor",this.element.appendChild(e),this.cursors.push(e),e},this.removeCursor=function(){if(this.cursors.length>1){var e=this.cursors.pop();return e.parentNode.removeChild(e),e}},this.hideCursor=function(){this.isVisible=!1,n.addCssClass(this.element,"ace_hidden-cursors"),this.restartTimer()},this.showCursor=function(){this.isVisible=!0,n.removeCssClass(this.element,"ace_hidden-cursors"),this.restartTimer()},this.restartTimer=function(){var e=this.$updateCursors;if(clearInterval(this.intervalId),clearTimeout(this.timeoutId),this.$stopCssAnimation(),this.smoothBlinking&&(this.$isSmoothBlinking=!1,n.removeCssClass(this.element,"ace_smooth-blinking")),e(!0),this.isBlinking&&this.blinkInterval&&this.isVisible)if(this.smoothBlinking&&(this.$isSmoothBlinking=!0,setTimeout(function(){this.$isSmoothBlinking&&n.addCssClass(this.element,"ace_smooth-blinking")}.bind(this))),n.HAS_CSS_ANIMATION)this.$startCssAnimation();else{var t=function(){this.timeoutId=setTimeout((function(){e(!1)}),.6*this.blinkInterval)}.bind(this);this.intervalId=setInterval((function(){e(!0),t()}),this.blinkInterval),t()}else this.$stopCssAnimation()},this.getPixelPosition=function(e,t){if(!this.config||!this.session)return{left:0,top:0};e||(e=this.session.selection.getCursor());var l=this.session.documentToScreenPosition(e);return{left:this.$padding+(this.session.$bidiHandler.isBidiRow(l.row,e.row)?this.session.$bidiHandler.getPosLeft(l.column):l.column*this.config.characterWidth),top:(l.row-(t?this.config.firstRowScreen:0))*this.config.lineHeight}},this.isCursorInView=function(e,t){return e.top>=0&&e.tope.height+e.offset||o.top<0)&&l>1)){var i=this.cursors[r++]||this.addCursor(),s=i.style;this.drawCursor?this.drawCursor(i,o,e,t[l],this.session):this.isCursorInView(o,e)?(n.setStyle(s,"display","block"),n.translate(i,o.left,o.top),n.setStyle(s,"width",Math.round(e.characterWidth)+"px"),n.setStyle(s,"height",e.lineHeight+"px")):n.setStyle(s,"display","none")}}for(;this.cursors.length>r;)this.removeCursor();var c=this.session.getOverwrite();this.$setOverwrite(c),this.$pixelPos=o,this.restartTimer()},this.drawCursor=null,this.$setOverwrite=function(e){e!=this.overwrite&&(this.overwrite=e,e?n.addCssClass(this.element,"ace_overwrite-cursors"):n.removeCssClass(this.element,"ace_overwrite-cursors"))},this.destroy=function(){clearInterval(this.intervalId),clearTimeout(this.timeoutId)}}).call(r.prototype),t.Cursor=r})),ace.define("ace/scrollbar",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/event","ace/lib/event_emitter"],(function(e,t,l){"use strict";var n=e("./lib/oop"),r=e("./lib/dom"),a=e("./lib/event"),o=e("./lib/event_emitter").EventEmitter,i=function(e){this.element=r.createElement("div"),this.element.className="ace_scrollbar ace_scrollbar"+this.classSuffix,this.inner=r.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,a.addListener(this.element,"scroll",this.onScroll.bind(this)),a.addListener(this.element,"mousedown",a.preventDefault)};(function(){n.implement(this,o),this.setVisible=function(e){this.element.style.display=e?"":"none",this.isVisible=e,this.coeff=1}}).call(i.prototype);var s=function(e,t){i.call(this,e),this.scrollTop=0,this.scrollHeight=0,t.$scrollbarWidth=this.width=r.scrollbarWidth(e.ownerDocument),this.inner.style.width=this.element.style.width=(this.width||15)+5+"px",this.$minWidth=0};n.inherits(s,i),function(){this.classSuffix="-v",this.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},this.getWidth=function(){return Math.max(this.isVisible?this.width:0,this.$minWidth||0)},this.setHeight=function(e){this.element.style.height=e+"px"},this.setInnerHeight=this.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"},this.setScrollTop=function(e){this.scrollTop!=e&&(this.skipEvent=!0,this.scrollTop=e,this.element.scrollTop=e*this.coeff)}}.call(s.prototype);var c=function(e,t){i.call(this,e),this.scrollLeft=0,this.height=t.$scrollbarWidth,this.inner.style.height=this.element.style.height=(this.height||15)+5+"px"};n.inherits(c,i),function(){this.classSuffix="-h",this.onScroll=function(){this.skipEvent||(this.scrollLeft=this.element.scrollLeft,this._emit("scroll",{data:this.scrollLeft})),this.skipEvent=!1},this.getHeight=function(){return this.isVisible?this.height:0},this.setWidth=function(e){this.element.style.width=e+"px"},this.setInnerWidth=function(e){this.inner.style.width=e+"px"},this.setScrollWidth=function(e){this.inner.style.width=e+"px"},this.setScrollLeft=function(e){this.scrollLeft!=e&&(this.skipEvent=!0,this.scrollLeft=this.element.scrollLeft=e)}}.call(c.prototype),t.ScrollBar=s,t.ScrollBarV=s,t.ScrollBarH=c,t.VScrollBar=s,t.HScrollBar=c})),ace.define("ace/renderloop",["require","exports","module","ace/lib/event"],(function(e,t,l){"use strict";var n=e("./lib/event"),r=function(e,t){this.onRender=e,this.pending=!1,this.changes=0,this.$recursionLimit=2,this.window=t||window;var l=this;this._flush=function(e){l.pending=!1;var t=l.changes;if(t&&(n.blockIdle(100),l.changes=0,l.onRender(t)),l.changes){if(l.$recursionLimit--<0)return;l.schedule()}else l.$recursionLimit=2}};(function(){this.schedule=function(e){this.changes=this.changes|e,this.changes&&!this.pending&&(n.nextFrame(this._flush),this.pending=!0)},this.clear=function(e){var t=this.changes;return this.changes=0,t}}).call(r.prototype),t.RenderLoop=r})),ace.define("ace/layer/font_metrics",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/lang","ace/lib/event","ace/lib/useragent","ace/lib/event_emitter"],(function(e,t,l){var n=e("../lib/oop"),r=e("../lib/dom"),a=e("../lib/lang"),o=e("../lib/event"),i=e("../lib/useragent"),s=e("../lib/event_emitter").EventEmitter,c="function"==typeof ResizeObserver,u=200,d=t.FontMetrics=function(e){this.el=r.createElement("div"),this.$setMeasureNodeStyles(this.el.style,!0),this.$main=r.createElement("div"),this.$setMeasureNodeStyles(this.$main.style),this.$measureNode=r.createElement("div"),this.$setMeasureNodeStyles(this.$measureNode.style),this.el.appendChild(this.$main),this.el.appendChild(this.$measureNode),e.appendChild(this.el),this.$measureNode.textContent=a.stringRepeat("X",256),this.$characterSize={width:0,height:0},c?this.$addObserver():this.checkForSizeChanges()};(function(){n.implement(this,s),this.$characterSize={width:0,height:0},this.$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"},this.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})}},this.$addObserver=function(){var e=this;this.$observer=new window.ResizeObserver((function(t){e.checkForSizeChanges()})),this.$observer.observe(this.$measureNode)},this.$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)},this.setPolling=function(e){e?this.$pollSizeChanges():this.$pollSizeChangesTimer&&(clearInterval(this.$pollSizeChangesTimer),this.$pollSizeChangesTimer=0)},this.$measureSizes=function(e){var t={height:(e||this.$measureNode).clientHeight,width:(e||this.$measureNode).clientWidth/256};return 0===t.width||0===t.height?null:t},this.$measureCharWidth=function(e){return this.$main.textContent=a.stringRepeat(e,256),this.$main.getBoundingClientRect().width/256},this.getCharacterWidth=function(e){var t=this.charSizes[e];return void 0===t&&(t=this.charSizes[e]=this.$measureCharWidth(e)/this.$characterSize.width),t},this.destroy=function(){clearInterval(this.$pollSizeChangesTimer),this.$observer&&this.$observer.disconnect(),this.el&&this.el.parentNode&&this.el.parentNode.removeChild(this.el)},this.$getZoom=function e(t){return t&&t.parentElement?(window.getComputedStyle(t).zoom||1)*e(t.parentElement):1},this.$initTransformMeasureNodes=function(){var e=function(e,t){return["div",{style:"position: absolute;top:"+e+"px;left:"+t+"px;"}]};this.els=r.buildDom([e(0,0),e(u,0),e(0,u),e(u,u)],this.el)},this.transformCoordinates=function(e,t){e&&(e=a(1/this.$getZoom(this.el),e));function l(e,t,l){var n=e[1]*t[0]-e[0]*t[1];return[(-t[1]*l[0]+t[0]*l[1])/n,(+e[1]*l[0]-e[0]*l[1])/n]}function n(e,t){return[e[0]-t[0],e[1]-t[1]]}function r(e,t){return[e[0]+t[0],e[1]+t[1]]}function a(e,t){return[e*t[0],e*t[1]]}function o(e){var t=e.getBoundingClientRect();return[t.left,t.top]}this.els||this.$initTransformMeasureNodes();var i=o(this.els[0]),s=o(this.els[1]),c=o(this.els[2]),d=o(this.els[3]),f=l(n(d,s),n(d,c),n(r(s,c),r(d,i))),p=a(1+f[0],n(s,i)),h=a(1+f[1],n(c,i));if(t){var m=t,g=f[0]*m[0]/u+f[1]*m[1]/u+1,b=r(a(m[0],p),a(m[1],h));return r(a(1/g/u,b),i)}var v=n(e,i),y=l(n(p,a(f[0],v)),n(h,a(f[1],v)),v);return a(u,y)}}).call(d.prototype)})),ace.define("ace/virtual_renderer",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/config","ace/layer/gutter","ace/layer/marker","ace/layer/text","ace/layer/cursor","ace/scrollbar","ace/scrollbar","ace/renderloop","ace/layer/font_metrics","ace/lib/event_emitter","ace/lib/useragent"],(function(e,t,l){"use strict";var n=e("./lib/oop"),r=e("./lib/dom"),a=e("./config"),o=e("./layer/gutter").Gutter,i=e("./layer/marker").Marker,s=e("./layer/text").Text,c=e("./layer/cursor").Cursor,u=e("./scrollbar").HScrollBar,d=e("./scrollbar").VScrollBar,f=e("./renderloop").RenderLoop,p=e("./layer/font_metrics").FontMetrics,h=e("./lib/event_emitter").EventEmitter,m='.ace_br1 {border-top-left-radius : 3px;}.ace_br2 {border-top-right-radius : 3px;}.ace_br3 {border-top-left-radius : 3px; border-top-right-radius: 3px;}.ace_br4 {border-bottom-right-radius: 3px;}.ace_br5 {border-top-left-radius : 3px; border-bottom-right-radius: 3px;}.ace_br6 {border-top-right-radius : 3px; border-bottom-right-radius: 3px;}.ace_br7 {border-top-left-radius : 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px;}.ace_br8 {border-bottom-left-radius : 3px;}.ace_br9 {border-top-left-radius : 3px; border-bottom-left-radius: 3px;}.ace_br10{border-top-right-radius : 3px; border-bottom-left-radius: 3px;}.ace_br11{border-top-left-radius : 3px; border-top-right-radius: 3px; border-bottom-left-radius: 3px;}.ace_br12{border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}.ace_br13{border-top-left-radius : 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}.ace_br14{border-top-right-radius : 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}.ace_br15{border-top-left-radius : 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}.ace_editor {position: relative;overflow: hidden;padding: 0;font: 12px/normal \'Monaco\', \'Menlo\', \'Ubuntu Mono\', \'Consolas\', \'source-code-pro\', monospace;direction: ltr;text-align: left;-webkit-tap-highlight-color: rgba(0, 0, 0, 0);}.ace_scroller {position: absolute;overflow: hidden;top: 0;bottom: 0;background-color: inherit;-ms-user-select: none;-moz-user-select: none;-webkit-user-select: none;user-select: none;cursor: text;}.ace_content {position: absolute;box-sizing: border-box;min-width: 100%;contain: style size layout;font-variant-ligatures: no-common-ligatures;}.ace_dragging .ace_scroller:before{position: absolute;top: 0;left: 0;right: 0;bottom: 0;content: \'\';background: rgba(250, 250, 250, 0.01);z-index: 1000;}.ace_dragging.ace_dark .ace_scroller:before{background: rgba(0, 0, 0, 0.01);}.ace_selecting, .ace_selecting * {cursor: text !important;}.ace_gutter {position: absolute;overflow : hidden;width: auto;top: 0;bottom: 0;left: 0;cursor: default;z-index: 4;-ms-user-select: none;-moz-user-select: none;-webkit-user-select: none;user-select: none;contain: style size layout;}.ace_gutter-active-line {position: absolute;left: 0;right: 0;}.ace_scroller.ace_scroll-left {box-shadow: 17px 0 16px -16px rgba(0, 0, 0, 0.4) inset;}.ace_gutter-cell {position: absolute;top: 0;left: 0;right: 0;padding-left: 19px;padding-right: 6px;background-repeat: no-repeat;}.ace_gutter-cell.ace_error {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==");background-repeat: no-repeat;background-position: 2px center;}.ace_gutter-cell.ace_warning {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==");background-position: 2px center;}.ace_gutter-cell.ace_info {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAAAAAA6mKC9AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAAJ0Uk5TAAB2k804AAAAPklEQVQY02NgIB68QuO3tiLznjAwpKTgNyDbMegwisCHZUETUZV0ZqOquBpXj2rtnpSJT1AEnnRmL2OgGgAAIKkRQap2htgAAAAASUVORK5CYII=");background-position: 2px center;}.ace_dark .ace_gutter-cell.ace_info {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQBAMAAADt3eJSAAAAJFBMVEUAAAChoaGAgIAqKiq+vr6tra1ZWVmUlJSbm5s8PDxubm56enrdgzg3AAAAAXRSTlMAQObYZgAAAClJREFUeNpjYMAPdsMYHegyJZFQBlsUlMFVCWUYKkAZMxZAGdxlDMQBAG+TBP4B6RyJAAAAAElFTkSuQmCC");}.ace_scrollbar {contain: strict;position: absolute;right: 0;bottom: 0;z-index: 6;}.ace_scrollbar-inner {position: absolute;cursor: text;left: 0;top: 0;}.ace_scrollbar-v{overflow-x: hidden;overflow-y: scroll;top: 0;}.ace_scrollbar-h {overflow-x: scroll;overflow-y: hidden;left: 0;}.ace_print-margin {position: absolute;height: 100%;}.ace_text-input {position: absolute;z-index: 0;width: 0.5em;height: 1em;opacity: 0;background: transparent;-moz-appearance: none;appearance: none;border: none;resize: none;outline: none;overflow: hidden;font: inherit;padding: 0 1px;margin: 0 -1px;contain: strict;-ms-user-select: text;-moz-user-select: text;-webkit-user-select: text;user-select: text;white-space: pre!important;}.ace_text-input.ace_composition {background: transparent;color: inherit;z-index: 1000;opacity: 1;}.ace_composition_placeholder { color: transparent }.ace_composition_marker { border-bottom: 1px solid;position: absolute;border-radius: 0;margin-top: 1px;}[ace_nocontext=true] {transform: none!important;filter: none!important;clip-path: none!important;mask : none!important;contain: none!important;perspective: none!important;mix-blend-mode: initial!important;z-index: auto;}.ace_layer {z-index: 1;position: absolute;overflow: hidden;word-wrap: normal;white-space: pre;height: 100%;width: 100%;box-sizing: border-box;pointer-events: none;}.ace_gutter-layer {position: relative;width: auto;text-align: right;pointer-events: auto;height: 1000000px;contain: style size layout;}.ace_text-layer {font: inherit !important;position: absolute;height: 1000000px;width: 1000000px;contain: style size layout;}.ace_text-layer > .ace_line, .ace_text-layer > .ace_line_group {contain: style size layout;position: absolute;top: 0;left: 0;right: 0;}.ace_hidpi .ace_text-layer,.ace_hidpi .ace_gutter-layer,.ace_hidpi .ace_content,.ace_hidpi .ace_gutter {contain: strict;will-change: transform;}.ace_hidpi .ace_text-layer > .ace_line, .ace_hidpi .ace_text-layer > .ace_line_group {contain: strict;}.ace_cjk {display: inline-block;text-align: center;}.ace_cursor-layer {z-index: 4;}.ace_cursor {z-index: 4;position: absolute;box-sizing: border-box;border-left: 2px solid;transform: translatez(0);}.ace_multiselect .ace_cursor {border-left-width: 1px;}.ace_slim-cursors .ace_cursor {border-left-width: 1px;}.ace_overwrite-cursors .ace_cursor {border-left-width: 0;border-bottom: 1px solid;}.ace_hidden-cursors .ace_cursor {opacity: 0.2;}.ace_hasPlaceholder .ace_hidden-cursors .ace_cursor {opacity: 0;}.ace_smooth-blinking .ace_cursor {transition: opacity 0.18s;}.ace_animate-blinking .ace_cursor {animation-duration: 1000ms;animation-timing-function: step-end;animation-name: blink-ace-animate;animation-iteration-count: infinite;}.ace_animate-blinking.ace_smooth-blinking .ace_cursor {animation-duration: 1000ms;animation-timing-function: ease-in-out;animation-name: blink-ace-animate-smooth;}@keyframes blink-ace-animate {from, to { opacity: 1; }60% { opacity: 0; }}@keyframes blink-ace-animate-smooth {from, to { opacity: 1; }45% { opacity: 1; }60% { opacity: 0; }85% { opacity: 0; }}.ace_marker-layer .ace_step, .ace_marker-layer .ace_stack {position: absolute;z-index: 3;}.ace_marker-layer .ace_selection {position: absolute;z-index: 5;}.ace_marker-layer .ace_bracket {position: absolute;z-index: 6;}.ace_marker-layer .ace_error_bracket {position: absolute;border-bottom: 1px solid #DE5555;border-radius: 0;}.ace_marker-layer .ace_active-line {position: absolute;z-index: 2;}.ace_marker-layer .ace_selected-word {position: absolute;z-index: 4;box-sizing: border-box;}.ace_line .ace_fold {box-sizing: border-box;display: inline-block;height: 11px;margin-top: -2px;vertical-align: middle;background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAAJCAYAAADU6McMAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJpJREFUeNpi/P//PwOlgAXGYGRklAVSokD8GmjwY1wasKljQpYACtpCFeADcHVQfQyMQAwzwAZI3wJKvCLkfKBaMSClBlR7BOQikCFGQEErIH0VqkabiGCAqwUadAzZJRxQr/0gwiXIal8zQQPnNVTgJ1TdawL0T5gBIP1MUJNhBv2HKoQHHjqNrA4WO4zY0glyNKLT2KIfIMAAQsdgGiXvgnYAAAAASUVORK5CYII="),url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAA3CAYAAADNNiA5AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACJJREFUeNpi+P//fxgTAwPDBxDxD078RSX+YeEyDFMCIMAAI3INmXiwf2YAAAAASUVORK5CYII=");background-repeat: no-repeat, repeat-x;background-position: center center, top left;color: transparent;border: 1px solid black;border-radius: 2px;cursor: pointer;pointer-events: auto;}.ace_dark .ace_fold {}.ace_fold:hover{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAAJCAYAAADU6McMAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJpJREFUeNpi/P//PwOlgAXGYGRklAVSokD8GmjwY1wasKljQpYACtpCFeADcHVQfQyMQAwzwAZI3wJKvCLkfKBaMSClBlR7BOQikCFGQEErIH0VqkabiGCAqwUadAzZJRxQr/0gwiXIal8zQQPnNVTgJ1TdawL0T5gBIP1MUJNhBv2HKoQHHjqNrA4WO4zY0glyNKLT2KIfIMAAQsdgGiXvgnYAAAAASUVORK5CYII="),url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAA3CAYAAADNNiA5AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACBJREFUeNpi+P//fz4TAwPDZxDxD5X4i5fLMEwJgAADAEPVDbjNw87ZAAAAAElFTkSuQmCC");}.ace_tooltip {background-color: #FFF;background-image: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.1));border: 1px solid gray;border-radius: 1px;box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);color: black;max-width: 100%;padding: 3px 4px;position: fixed;z-index: 999999;box-sizing: border-box;cursor: default;white-space: pre;word-wrap: break-word;line-height: normal;font-style: normal;font-weight: normal;letter-spacing: normal;pointer-events: none;}.ace_folding-enabled > .ace_gutter-cell {padding-right: 13px;}.ace_fold-widget {box-sizing: border-box;margin: 0 -12px 0 1px;display: none;width: 11px;vertical-align: top;background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAANElEQVR42mWKsQ0AMAzC8ixLlrzQjzmBiEjp0A6WwBCSPgKAXoLkqSot7nN3yMwR7pZ32NzpKkVoDBUxKAAAAABJRU5ErkJggg==");background-repeat: no-repeat;background-position: center;border-radius: 3px;border: 1px solid transparent;cursor: pointer;}.ace_folding-enabled .ace_fold-widget {display: inline-block; }.ace_fold-widget.ace_end {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAANElEQVR42m3HwQkAMAhD0YzsRchFKI7sAikeWkrxwScEB0nh5e7KTPWimZki4tYfVbX+MNl4pyZXejUO1QAAAABJRU5ErkJggg==");}.ace_fold-widget.ace_closed {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAAGCAYAAAAG5SQMAAAAOUlEQVR42jXKwQkAMAgDwKwqKD4EwQ26sSOkVWjgIIHAzPiCgaqiqnJHZnKICBERHN194O5b9vbLuAVRL+l0YWnZAAAAAElFTkSuQmCCXA==");}.ace_fold-widget:hover {border: 1px solid rgba(0, 0, 0, 0.3);background-color: rgba(255, 255, 255, 0.2);box-shadow: 0 1px 1px rgba(255, 255, 255, 0.7);}.ace_fold-widget:active {border: 1px solid rgba(0, 0, 0, 0.4);background-color: rgba(0, 0, 0, 0.05);box-shadow: 0 1px 1px rgba(255, 255, 255, 0.8);}.ace_dark .ace_fold-widget {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHklEQVQIW2P4//8/AzoGEQ7oGCaLLAhWiSwB146BAQCSTPYocqT0AAAAAElFTkSuQmCC");}.ace_dark .ace_fold-widget.ace_end {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAH0lEQVQIW2P4//8/AxQ7wNjIAjDMgC4AxjCVKBirIAAF0kz2rlhxpAAAAABJRU5ErkJggg==");}.ace_dark .ace_fold-widget.ace_closed {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAAFCAYAAACAcVaiAAAAHElEQVQIW2P4//+/AxAzgDADlOOAznHAKgPWAwARji8UIDTfQQAAAABJRU5ErkJggg==");}.ace_dark .ace_fold-widget:hover {box-shadow: 0 1px 1px rgba(255, 255, 255, 0.2);background-color: rgba(255, 255, 255, 0.1);}.ace_dark .ace_fold-widget:active {box-shadow: 0 1px 1px rgba(255, 255, 255, 0.2);}.ace_inline_button {border: 1px solid lightgray;display: inline-block;margin: -1px 8px;padding: 0 5px;pointer-events: auto;cursor: pointer;}.ace_inline_button:hover {border-color: gray;background: rgba(200,200,200,0.2);display: inline-block;pointer-events: auto;}.ace_fold-widget.ace_invalid {background-color: #FFB4B4;border-color: #DE5555;}.ace_fade-fold-widgets .ace_fold-widget {transition: opacity 0.4s ease 0.05s;opacity: 0;}.ace_fade-fold-widgets:hover .ace_fold-widget {transition: opacity 0.05s ease 0.05s;opacity:1;}.ace_underline {text-decoration: underline;}.ace_bold {font-weight: bold;}.ace_nobold .ace_bold {font-weight: normal;}.ace_italic {font-style: italic;}.ace_error-marker {background-color: rgba(255, 0, 0,0.2);position: absolute;z-index: 9;}.ace_highlight-marker {background-color: rgba(255, 255, 0,0.2);position: absolute;z-index: 8;}.ace_mobile-menu {position: absolute;line-height: 1.5;border-radius: 4px;-ms-user-select: none;-moz-user-select: none;-webkit-user-select: none;user-select: none;background: white;box-shadow: 1px 3px 2px grey;border: 1px solid #dcdcdc;color: black;}.ace_dark > .ace_mobile-menu {background: #333;color: #ccc;box-shadow: 1px 3px 2px grey;border: 1px solid #444;}.ace_mobile-button {padding: 2px;cursor: pointer;overflow: hidden;}.ace_mobile-button:hover {background-color: #eee;opacity:1;}.ace_mobile-button:active {background-color: #ddd;}.ace_placeholder {font-family: arial;transform: scale(0.9);transform-origin: left;white-space: pre;opacity: 0.7;margin: 0 10px;}',g=e("./lib/useragent"),b=g.isIE;r.importCssString(m,"ace_editor.css",!1);var v=function(e,t){var l=this;this.container=e||r.createElement("div"),r.addCssClass(this.container,"ace_editor"),r.HI_DPI&&r.addCssClass(this.container,"ace_hidpi"),this.setTheme(t),null==a.get("useStrictCSP")&&a.set("useStrictCSP",!1),this.$gutter=r.createElement("div"),this.$gutter.className="ace_gutter",this.container.appendChild(this.$gutter),this.$gutter.setAttribute("aria-hidden",!0),this.scroller=r.createElement("div"),this.scroller.className="ace_scroller",this.container.appendChild(this.scroller),this.content=r.createElement("div"),this.content.className="ace_content",this.scroller.appendChild(this.content),this.$gutterLayer=new o(this.$gutter),this.$gutterLayer.on("changeGutterWidth",this.onGutterResize.bind(this)),this.$markerBack=new i(this.content);var n=this.$textLayer=new s(this.content);this.canvas=n.element,this.$markerFront=new i(this.content),this.$cursorLayer=new c(this.content),this.$horizScroll=!1,this.$vScroll=!1,this.scrollBar=this.scrollBarV=new d(this.container,this),this.scrollBarH=new u(this.container,this),this.scrollBarV.on("scroll",(function(e){l.$scrollAnimation||l.session.setScrollTop(e.data-l.scrollMargin.top)})),this.scrollBarH.on("scroll",(function(e){l.$scrollAnimation||l.session.setScrollLeft(e.data-l.scrollMargin.left)})),this.scrollTop=0,this.scrollLeft=0,this.cursorPos={row:0,column:0},this.$fontMetrics=new p(this.container),this.$textLayer.$setFontMetrics(this.$fontMetrics),this.$textLayer.on("changeCharacterSize",(function(e){l.updateCharacterSize(),l.onResize(!0,l.gutterWidth,l.$size.width,l.$size.height),l._signal("changeCharacterSize",e)})),this.$size={width:0,height:0,scrollerHeight:0,scrollerWidth:0,$dirty:!0},this.layerConfig={width:1,padding:0,firstRow:0,firstRowScreen:0,lastRow:0,lineHeight:0,characterWidth:0,minHeight:1,maxHeight:1,offset:0,height:1,gutterOffset:1},this.scrollMargin={left:0,right:0,top:0,bottom:0,v:0,h:0},this.margin={left:0,right:0,top:0,bottom:0,v:0,h:0},this.$keepTextAreaAtCursor=!g.isIOS,this.$loop=new f(this.$renderChanges.bind(this),this.container.ownerDocument.defaultView),this.$loop.schedule(this.CHANGE_FULL),this.updateCharacterSize(),this.setPadding(4),a.resetOptions(this),a._signal("renderer",this)};(function(){this.CHANGE_CURSOR=1,this.CHANGE_MARKER=2,this.CHANGE_GUTTER=4,this.CHANGE_SCROLL=8,this.CHANGE_LINES=16,this.CHANGE_TEXT=32,this.CHANGE_SIZE=64,this.CHANGE_MARKER_BACK=128,this.CHANGE_MARKER_FRONT=256,this.CHANGE_FULL=512,this.CHANGE_H_SCROLL=1024,n.implement(this,h),this.updateCharacterSize=function(){this.$textLayer.allowBoldFonts!=this.$allowBoldFonts&&(this.$allowBoldFonts=this.$textLayer.allowBoldFonts,this.setStyle("ace_nobold",!this.$allowBoldFonts)),this.layerConfig.characterWidth=this.characterWidth=this.$textLayer.getCharacterWidth(),this.layerConfig.lineHeight=this.lineHeight=this.$textLayer.getLineHeight(),this.$updatePrintMargin(),r.setStyle(this.scroller.style,"line-height",this.lineHeight+"px")},this.setSession=function(e){this.session&&this.session.doc.off("changeNewLineMode",this.onChangeNewLineMode),this.session=e,e&&this.scrollMargin.top&&e.getScrollTop()<=0&&e.setScrollTop(-this.scrollMargin.top),this.$cursorLayer.setSession(e),this.$markerBack.setSession(e),this.$markerFront.setSession(e),this.$gutterLayer.setSession(e),this.$textLayer.setSession(e),e&&(this.$loop.schedule(this.CHANGE_FULL),this.session.$setFontMetrics(this.$fontMetrics),this.scrollBarH.scrollLeft=this.scrollBarV.scrollTop=null,this.onChangeNewLineMode=this.onChangeNewLineMode.bind(this),this.onChangeNewLineMode(),this.session.doc.on("changeNewLineMode",this.onChangeNewLineMode))},this.updateLines=function(e,t,l){if(void 0===t&&(t=1/0),this.$changedLines?(this.$changedLines.firstRow>e&&(this.$changedLines.firstRow=e),this.$changedLines.lastRowthis.layerConfig.lastRow||this.$loop.schedule(this.CHANGE_LINES)},this.onChangeNewLineMode=function(){this.$loop.schedule(this.CHANGE_TEXT),this.$textLayer.$updateEolChar(),this.session.$bidiHandler.setEolChar(this.$textLayer.EOL_CHAR)},this.onChangeTabSize=function(){this.$loop.schedule(this.CHANGE_TEXT|this.CHANGE_MARKER),this.$textLayer.onChangeTabSize()},this.updateText=function(){this.$loop.schedule(this.CHANGE_TEXT)},this.updateFull=function(e){e?this.$renderChanges(this.CHANGE_FULL,!0):this.$loop.schedule(this.CHANGE_FULL)},this.updateFontSize=function(){this.$textLayer.checkForSizeChanges()},this.$changes=0,this.$updateSizeAsync=function(){this.$loop.pending?this.$size.$dirty=!0:this.onResize()},this.onResize=function(e,t,l,n){if(!(this.resizing>2)){this.resizing>0?this.resizing++:this.resizing=e?1:0;var r=this.container;n||(n=r.clientHeight||r.scrollHeight),l||(l=r.clientWidth||r.scrollWidth);var a=this.$updateCachedSize(e,t,l,n);if(!this.$size.scrollerHeight||!l&&!n)return this.resizing=0;e&&(this.$gutterLayer.$padding=null),e?this.$renderChanges(a|this.$changes,!0):this.$loop.schedule(a|this.$changes),this.resizing&&(this.resizing=0),this.scrollBarH.scrollLeft=this.scrollBarV.scrollTop=null}},this.$updateCachedSize=function(e,t,l,n){n-=this.$extraHeight||0;var a=0,o=this.$size,i={width:o.width,height:o.height,scrollerHeight:o.scrollerHeight,scrollerWidth:o.scrollerWidth};if(n&&(e||o.height!=n)&&(o.height=n,a|=this.CHANGE_SIZE,o.scrollerHeight=o.height,this.$horizScroll&&(o.scrollerHeight-=this.scrollBarH.getHeight()),this.scrollBarV.element.style.bottom=this.scrollBarH.getHeight()+"px",a|=this.CHANGE_SCROLL),l&&(e||o.width!=l)){a|=this.CHANGE_SIZE,o.width=l,null==t&&(t=this.$showGutter?this.$gutter.offsetWidth:0),this.gutterWidth=t,r.setStyle(this.scrollBarH.element.style,"left",t+"px"),r.setStyle(this.scroller.style,"left",t+this.margin.left+"px"),o.scrollerWidth=Math.max(0,l-t-this.scrollBarV.getWidth()-this.margin.h),r.setStyle(this.$gutter.style,"left",this.margin.left+"px");var s=this.scrollBarV.getWidth()+"px";r.setStyle(this.scrollBarH.element.style,"right",s),r.setStyle(this.scroller.style,"right",s),r.setStyle(this.scroller.style,"bottom",this.scrollBarH.getHeight()),(this.session&&this.session.getUseWrapMode()&&this.adjustWrapLimit()||e)&&(a|=this.CHANGE_FULL)}return o.$dirty=!l||!n,a&&this._signal("resize",i),a},this.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()},this.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)},this.setAnimatedScroll=function(e){this.setOption("animatedScroll",e)},this.getAnimatedScroll=function(){return this.$animatedScroll},this.setShowInvisibles=function(e){this.setOption("showInvisibles",e),this.session.$bidiHandler.setShowInvisibles(e)},this.getShowInvisibles=function(){return this.getOption("showInvisibles")},this.getDisplayIndentGuides=function(){return this.getOption("displayIndentGuides")},this.setDisplayIndentGuides=function(e){this.setOption("displayIndentGuides",e)},this.setShowPrintMargin=function(e){this.setOption("showPrintMargin",e)},this.getShowPrintMargin=function(){return this.getOption("showPrintMargin")},this.setPrintMarginColumn=function(e){this.setOption("printMarginColumn",e)},this.getPrintMarginColumn=function(){return this.getOption("printMarginColumn")},this.getShowGutter=function(){return this.getOption("showGutter")},this.setShowGutter=function(e){return this.setOption("showGutter",e)},this.getFadeFoldWidgets=function(){return this.getOption("fadeFoldWidgets")},this.setFadeFoldWidgets=function(e){this.setOption("fadeFoldWidgets",e)},this.setHighlightGutterLine=function(e){this.setOption("highlightGutterLine",e)},this.getHighlightGutterLine=function(){return this.getOption("highlightGutterLine")},this.$updatePrintMargin=function(){if(this.$showPrintMargin||this.$printMarginEl){if(!this.$printMarginEl){var e=r.createElement("div");e.className="ace_layer ace_print-margin-layer",this.$printMarginEl=r.createElement("div"),this.$printMarginEl.className="ace_print-margin",e.appendChild(this.$printMarginEl),this.content.insertBefore(e,this.content.firstChild)}var t=this.$printMarginEl.style;t.left=Math.round(this.characterWidth*this.$printMarginColumn+this.$padding)+"px",t.visibility=this.$showPrintMargin?"visible":"hidden",this.session&&-1==this.session.$wrap&&this.adjustWrapLimit()}},this.getContainerElement=function(){return this.container},this.getMouseEventTarget=function(){return this.scroller},this.getTextAreaContainer=function(){return this.container},this.$moveTextAreaToCursor=function(){if(!this.$isMousePressed){var e=this.textarea.style,t=this.$composition;if(this.$keepTextAreaAtCursor||t){var l=this.$cursorLayer.$pixelPos;if(l){t&&t.markerRange&&(l=this.$cursorLayer.getPixelPosition(t.markerRange.start,!0));var n=this.layerConfig,a=l.top,o=l.left;a-=n.offset;var i=t&&t.useTextareaForIME?this.lineHeight:b?0:1;if(a<0||a>n.height-i)r.translate(this.textarea,0,0);else{var s=1,c=this.$size.height-i;if(t)if(t.useTextareaForIME){var u=this.textarea.value;s=this.characterWidth*this.session.$getStringScreenWidth(u)[0]}else a+=this.lineHeight+2;else a+=this.lineHeight;(o-=this.scrollLeft)>this.$size.scrollerWidth-s&&(o=this.$size.scrollerWidth-s),o+=this.gutterWidth+this.margin.left,r.setStyle(e,"height",i+"px"),r.setStyle(e,"width",s+"px"),r.translate(this.textarea,Math.min(o,this.$size.scrollerWidth-s),Math.min(a,c))}}}else r.translate(this.textarea,-100,0)}},this.getFirstVisibleRow=function(){return this.layerConfig.firstRow},this.getFirstFullyVisibleRow=function(){return this.layerConfig.firstRow+(0===this.layerConfig.offset?0:1)},this.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},this.getLastVisibleRow=function(){return this.layerConfig.lastRow},this.$padding=null,this.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()},this.setScrollMargin=function(e,t,l,n){var r=this.scrollMargin;r.top=0|e,r.bottom=0|t,r.right=0|n,r.left=0|l,r.v=r.top+r.bottom,r.h=r.left+r.right,r.top&&this.scrollTop<=0&&this.session&&this.session.setScrollTop(-r.top),this.updateFull()},this.setMargin=function(e,t,l,n){var r=this.margin;r.top=0|e,r.bottom=0|t,r.right=0|n,r.left=0|l,r.v=r.top+r.bottom,r.h=r.left+r.right,this.$updateCachedSize(!0,this.gutterWidth,this.$size.width,this.$size.height),this.updateFull()},this.getHScrollBarAlwaysVisible=function(){return this.$hScrollBarAlwaysVisible},this.setHScrollBarAlwaysVisible=function(e){this.setOption("hScrollBarAlwaysVisible",e)},this.getVScrollBarAlwaysVisible=function(){return this.$vScrollBarAlwaysVisible},this.setVScrollBarAlwaysVisible=function(e){this.setOption("vScrollBarAlwaysVisible",e)},this.$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)},this.$updateScrollBarH=function(){this.scrollBarH.setScrollWidth(this.layerConfig.width+2*this.$padding+this.scrollMargin.h),this.scrollBarH.setScrollLeft(this.scrollLeft+this.scrollMargin.left)},this.$frozen=!1,this.freeze=function(){this.$frozen=!0},this.unfreeze=function(){this.$frozen=!1},this.$renderChanges=function(e,t){if(this.$changes&&(e|=this.$changes,this.$changes=0),this.session&&this.container.offsetWidth&&!this.$frozen&&(e||t)){if(this.$size.$dirty)return this.$changes|=e,this.onResize(!0);this.lineHeight||this.$textLayer.checkForSizeChanges(),this._signal("beforeRender",e),this.session&&this.session.$bidiHandler&&this.session.$bidiHandler.updateCharacterWidths(this.$fontMetrics);var l=this.layerConfig;if(e&this.CHANGE_FULL||e&this.CHANGE_SIZE||e&this.CHANGE_TEXT||e&this.CHANGE_LINES||e&this.CHANGE_SCROLL||e&this.CHANGE_H_SCROLL){if(e|=this.$computeLayerConfig()|this.$loop.clear(),l.firstRow!=this.layerConfig.firstRow&&l.firstRowScreen==this.layerConfig.firstRowScreen){var n=this.scrollTop+(l.firstRow-this.layerConfig.firstRow)*this.lineHeight;n>0&&(this.scrollTop=n,e|=this.CHANGE_SCROLL,e|=this.$computeLayerConfig()|this.$loop.clear())}l=this.layerConfig,this.$updateScrollBarV(),e&this.CHANGE_H_SCROLL&&this.$updateScrollBarH(),r.translate(this.content,-this.scrollLeft,-l.offset);var a=l.width+2*this.$padding+"px",o=l.minHeight+"px";r.setStyle(this.content.style,"width",a),r.setStyle(this.content.style,"height",o)}if(e&this.CHANGE_H_SCROLL&&(r.translate(this.content,-this.scrollLeft,-l.offset),this.scroller.className=this.scrollLeft<=0?"ace_scroller":"ace_scroller ace_scroll-left"),e&this.CHANGE_FULL)return this.$changedLines=null,this.$textLayer.update(l),this.$showGutter&&this.$gutterLayer.update(l),this.$markerBack.update(l),this.$markerFront.update(l),this.$cursorLayer.update(l),this.$moveTextAreaToCursor(),void this._signal("afterRender",e);if(e&this.CHANGE_SCROLL)return this.$changedLines=null,e&this.CHANGE_TEXT||e&this.CHANGE_LINES?this.$textLayer.update(l):this.$textLayer.scrollLines(l),this.$showGutter&&(e&this.CHANGE_GUTTER||e&this.CHANGE_LINES?this.$gutterLayer.update(l):this.$gutterLayer.scrollLines(l)),this.$markerBack.update(l),this.$markerFront.update(l),this.$cursorLayer.update(l),this.$moveTextAreaToCursor(),void this._signal("afterRender",e);e&this.CHANGE_TEXT?(this.$changedLines=null,this.$textLayer.update(l),this.$showGutter&&this.$gutterLayer.update(l)):e&this.CHANGE_LINES?(this.$updateLines()||e&this.CHANGE_GUTTER&&this.$showGutter)&&this.$gutterLayer.update(l):e&this.CHANGE_TEXT||e&this.CHANGE_GUTTER?this.$showGutter&&this.$gutterLayer.update(l):e&this.CHANGE_CURSOR&&this.$highlightGutterLine&&this.$gutterLayer.updateLineHighlight(l),e&this.CHANGE_CURSOR&&(this.$cursorLayer.update(l),this.$moveTextAreaToCursor()),e&(this.CHANGE_MARKER|this.CHANGE_MARKER_FRONT)&&this.$markerFront.update(l),e&(this.CHANGE_MARKER|this.CHANGE_MARKER_BACK)&&this.$markerBack.update(l),this._signal("afterRender",e)}else this.$changes|=e},this.$autosize=function(){var e=this.session.getScreenLength()*this.lineHeight,t=this.$maxLines*this.lineHeight,l=Math.min(t,Math.max((this.$minLines||1)*this.lineHeight,e))+this.scrollMargin.v+(this.$extraHeight||0);this.$horizScroll&&(l+=this.scrollBarH.getHeight()),this.$maxPixelHeight&&l>this.$maxPixelHeight&&(l=this.$maxPixelHeight);var n=!(l<=2*this.lineHeight)&&e>t;if(l!=this.desiredHeight||this.$size.height!=this.desiredHeight||n!=this.$vScroll){n!=this.$vScroll&&(this.$vScroll=n,this.scrollBarV.setVisible(n));var r=this.container.clientWidth;this.container.style.height=l+"px",this.$updateCachedSize(!0,this.$gutterWidth,r,l),this.desiredHeight=l,this._signal("autosize")}},this.$computeLayerConfig=function(){var e=this.session,t=this.$size,l=t.height<=2*this.lineHeight,n=this.session.getScreenLength()*this.lineHeight,r=this.$getLongestLine(),a=!l&&(this.$hScrollBarAlwaysVisible||t.scrollerWidth-r-2*this.$padding<0),o=this.$horizScroll!==a;o&&(this.$horizScroll=a,this.scrollBarH.setVisible(a));var i=this.$vScroll;this.$maxLines&&this.lineHeight>1&&this.$autosize();var s=t.scrollerHeight+this.lineHeight,c=!this.$maxLines&&this.$scrollPastEnd?(t.scrollerHeight-this.lineHeight)*this.$scrollPastEnd:0;n+=c;var u=this.scrollMargin;this.session.setScrollTop(Math.max(-u.top,Math.min(this.scrollTop,n-t.scrollerHeight+u.bottom))),this.session.setScrollLeft(Math.max(-u.left,Math.min(this.scrollLeft,r+2*this.$padding-t.scrollerWidth+u.right)));var d=!l&&(this.$vScrollBarAlwaysVisible||t.scrollerHeight-n+c<0||this.scrollTop>u.top),f=i!==d;f&&(this.$vScroll=d,this.scrollBarV.setVisible(d));var p,h,m=this.scrollTop%this.lineHeight,g=Math.ceil(s/this.lineHeight)-1,b=Math.max(0,Math.round((this.scrollTop-m)/this.lineHeight)),v=b+g,y=this.lineHeight;b=e.screenToDocumentRow(b,0);var w=e.getFoldLine(b);w&&(b=w.start.row),p=e.documentToScreenRow(b,0),h=e.getRowLength(b)*y,v=Math.min(e.screenToDocumentRow(v,0),e.getLength()-1),s=t.scrollerHeight+e.getRowLength(v)*y+h,m=this.scrollTop-p*y;var x=0;return(this.layerConfig.width!=r||o)&&(x=this.CHANGE_H_SCROLL),(o||f)&&(x|=this.$updateCachedSize(!0,this.gutterWidth,t.width,t.height),this._signal("scrollbarVisibilityChanged"),f&&(r=this.$getLongestLine())),this.layerConfig={width:r,padding:this.$padding,firstRow:b,firstRowScreen:p,lastRow:v,lineHeight:y,characterWidth:this.characterWidth,minHeight:s,maxHeight:n,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(r-this.$padding),x},this.$updateLines=function(){if(this.$changedLines){var e=this.$changedLines.firstRow,t=this.$changedLines.lastRow;this.$changedLines=null;var l=this.layerConfig;if(!(e>l.lastRow+1)&&!(tthis.$textLayer.MAX_LINE_LENGTH&&(e=this.$textLayer.MAX_LINE_LENGTH+30),Math.max(this.$size.scrollerWidth-2*this.$padding,Math.round(e*this.characterWidth))},this.updateFrontMarkers=function(){this.$markerFront.setMarkers(this.session.getMarkers(!0)),this.$loop.schedule(this.CHANGE_MARKER_FRONT)},this.updateBackMarkers=function(){this.$markerBack.setMarkers(this.session.getMarkers()),this.$loop.schedule(this.CHANGE_MARKER_BACK)},this.addGutterDecoration=function(e,t){this.$gutterLayer.addGutterDecoration(e,t)},this.removeGutterDecoration=function(e,t){this.$gutterLayer.removeGutterDecoration(e,t)},this.updateBreakpoints=function(e){this.$loop.schedule(this.CHANGE_GUTTER)},this.setAnnotations=function(e){this.$gutterLayer.setAnnotations(e),this.$loop.schedule(this.CHANGE_GUTTER)},this.updateCursor=function(){this.$loop.schedule(this.CHANGE_CURSOR)},this.hideCursor=function(){this.$cursorLayer.hideCursor()},this.showCursor=function(){this.$cursorLayer.showCursor()},this.scrollSelectionIntoView=function(e,t,l){this.scrollCursorIntoView(e,l),this.scrollCursorIntoView(t,l)},this.scrollCursorIntoView=function(e,t,l){if(0!==this.$size.scrollerHeight){var n=this.$cursorLayer.getPixelPosition(e),r=n.left,a=n.top,o=l&&l.top||0,i=l&&l.bottom||0,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-ir?(r=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)))},this.pixelToScreenCoordinates=function(e,t){var l;if(this.$hasCssTransforms){l={top:0,left:0};var n=this.$fontMetrics.transformCoordinates([e,t]);e=n[1]-this.gutterWidth-this.margin.left,t=n[0]}else l=this.scroller.getBoundingClientRect();var r=e+this.scrollLeft-l.left-this.$padding,a=r/this.characterWidth,o=Math.floor((t+this.scrollTop-l.top)/this.lineHeight),i=this.$blockCursor?Math.floor(a):Math.round(a);return{row:o,column:i,side:a-i>0?1:-1,offsetX:r}},this.screenToTextCoordinates=function(e,t){var l;if(this.$hasCssTransforms){l={top:0,left:0};var n=this.$fontMetrics.transformCoordinates([e,t]);e=n[1]-this.gutterWidth-this.margin.left,t=n[0]}else l=this.scroller.getBoundingClientRect();var r=e+this.scrollLeft-l.left-this.$padding,a=r/this.characterWidth,o=this.$blockCursor?Math.floor(a):Math.round(a),i=Math.floor((t+this.scrollTop-l.top)/this.lineHeight);return this.session.screenToDocumentPosition(i,Math.max(o,0),r)},this.textToScreenCoordinates=function(e,t){var l=this.scroller.getBoundingClientRect(),n=this.session.documentToScreenPosition(e,t),r=this.$padding+(this.session.$bidiHandler.isBidiRow(n.row,e)?this.session.$bidiHandler.getPosLeft(n.column):Math.round(n.column*this.characterWidth)),a=n.row*this.lineHeight;return{pageX:l.left+r-this.scrollLeft,pageY:l.top+a-this.scrollTop}},this.visualizeFocus=function(){r.addCssClass(this.container,"ace_focus")},this.visualizeBlur=function(){r.removeCssClass(this.container,"ace_focus")},this.showComposition=function(e){this.$composition=e,e.cssText||(e.cssText=this.textarea.style.cssText),void 0==e.useTextareaForIME&&(e.useTextareaForIME=this.$useTextareaForIME),this.$useTextareaForIME?(r.addCssClass(this.textarea,"ace_composition"),this.textarea.style.cssText="",this.$moveTextAreaToCursor(),this.$cursorLayer.element.style.display="none"):e.markerId=this.session.addMarker(e.markerRange,"ace_composition_marker","text")},this.setCompositionText=function(e){var t=this.session.selection.cursor;this.addToken(e,"composition_placeholder",t.row,t.column),this.$moveTextAreaToCursor()},this.hideComposition=function(){if(this.$composition){this.$composition.markerId&&this.session.removeMarker(this.$composition.markerId),r.removeCssClass(this.textarea,"ace_composition"),this.textarea.style.cssText=this.$composition.cssText;var e=this.session.selection.cursor;this.removeExtraToken(e.row,e.column),this.$composition=null,this.$cursorLayer.element.style.display=""}},this.addToken=function(e,t,l,n){var r=this.session;r.bgTokenizer.lines[l]=null;var a={type:t,value:e},o=r.getTokens(l);if(null==n)o.push(a);else for(var i=0,s=0;s50&&e.length>this.$doc.getLength()>>1?this.call("setValue",[this.$doc.getValue()]):this.emit("change",{data:e}))}}).call(s.prototype);t.UIWorkerClient=function(e,t,l){var n=null,r=!1,i=Object.create(a),c=[],u=new s({messageBuffer:c,terminate:function(){},postMessage:function(e){c.push(e),n&&(r?setTimeout(d):d())}});u.setEmitSync=function(e){r=e};var d=function(){var e=c.shift();e.command?n[e.command].apply(n,e.args):e.event&&i._signal(e.event,e.data)};return i.postMessage=function(e){u.onMessage({data:e})},i.callback=function(e,t){this.postMessage({type:"call",id:t,data:e})},i.emit=function(e,t){this.postMessage({type:"event",name:e,data:t})},o.loadModule(["worker",t],(function(e){for(n=new e[l](i);c.length;)d()})),u},t.WorkerClient=s,t.createWorker=i})),ace.define("ace/placeholder",["require","exports","module","ace/range","ace/lib/event_emitter","ace/lib/oop"],(function(e,t,l){"use strict";var n=e("./range").Range,r=e("./lib/event_emitter").EventEmitter,a=e("./lib/oop"),o=function(e,t,l,n,r,a){var o=this;this.length=t,this.session=e,this.doc=e.getDocument(),this.mainClass=r,this.othersClass=a,this.$onUpdate=this.onUpdate.bind(this),this.doc.on("change",this.$onUpdate),this.$others=n,this.$onCursorChange=function(){setTimeout((function(){o.onCursorChange()}))},this.$pos=l;var i=e.getUndoManager().$undoStack||e.getUndoManager().$undostack||{length:-1};this.$undoStackDepth=i.length,this.setup(),e.selection.on("changeCursor",this.$onCursorChange)};(function(){a.implement(this,r),this.setup=function(){var e=this,t=this.doc,l=this.session;this.selectionBefore=l.selection.toJSON(),l.selection.inMultiSelectMode&&l.selection.toSingleRange(),this.pos=t.createAnchor(this.$pos.row,this.$pos.column);var r=this.pos;r.$insertRight=!0,r.detach(),r.markerId=l.addMarker(new n(r.row,r.column,r.row,r.column+this.length),this.mainClass,null,!1),this.others=[],this.$others.forEach((function(l){var n=t.createAnchor(l.row,l.column);n.$insertRight=!0,n.detach(),e.others.push(n)})),l.setUndoSelect(!1)},this.showOtherMarkers=function(){if(!this.othersActive){var e=this.session,t=this;this.othersActive=!0,this.others.forEach((function(l){l.markerId=e.addMarker(new n(l.row,l.column,l.row,l.column+t.length),t.othersClass,null,!1)}))}},this.hideOtherMarkers=function(){if(this.othersActive){this.othersActive=!1;for(var e=0;e=this.pos.column&&t.start.column<=this.pos.column+this.length+1,a=t.start.column-this.pos.column;if(this.updateAnchors(e),r&&(this.length+=l),r&&!this.session.$fromUndo)if("insert"===e.action)for(var o=this.others.length-1;o>=0;o--){var i={row:(s=this.others[o]).row,column:s.column+a};this.doc.insertMergedLines(i,e.lines)}else if("remove"===e.action)for(o=this.others.length-1;o>=0;o--){var s;i={row:(s=this.others[o]).row,column:s.column+a};this.doc.remove(new n(i.row,i.column,i.row,i.column-l))}this.$updating=!1,this.updateMarkers()}},this.updateAnchors=function(e){this.pos.onChange(e);for(var t=this.others.length;t--;)this.others[t].onChange(e);this.updateMarkers()},this.updateMarkers=function(){if(!this.$updating){var e=this,t=this.session,l=function(l,r){t.removeMarker(l.markerId),l.markerId=t.addMarker(new n(l.row,l.column,l.row,l.column+e.length),r,null,!1)};l(this.pos,this.mainClass);for(var r=this.others.length;r--;)l(this.others[r],this.othersClass)}},this.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))}},this.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},this.cancel=function(){if(-1!==this.$undoStackDepth){for(var e=this.session.getUndoManager(),t=(e.$undoStack||e.$undostack).length-this.$undoStackDepth,l=0;l1?e.multiSelect.joinSelections():e.multiSelect.splitIntoLines()},bindKey:{win:"Ctrl-Alt-L",mac:"Ctrl-Alt-L"},readOnly:!0},{name:"splitSelectionIntoLines",description:"Split into lines",exec:function(e){e.multiSelect.splitIntoLines()},readOnly:!0},{name:"alignCursors",description:"Align cursors",exec:function(e){e.alignCursors()},bindKey:{win:"Ctrl-Alt-A",mac:"Ctrl-Alt-A"},scrollIntoView:"cursor"},{name:"findAll",description:"Find all",exec:function(e){e.findAll()},bindKey:{win:"Ctrl-Alt-K",mac:"Ctrl-Alt-G"},scrollIntoView:"cursor",readOnly:!0}],t.multiSelectCommands=[{name:"singleSelection",description:"Single selection",bindKey:"esc",exec:function(e){e.exitMultiSelectMode()},scrollIntoView:"cursor",readOnly:!0,isAvailable:function(e){return e&&e.inMultiSelectMode}}];var n=e("../keyboard/hash_handler").HashHandler;t.keyboardHandler=new n(t.multiSelectCommands)})),ace.define("ace/multi_select",["require","exports","module","ace/range_list","ace/range","ace/selection","ace/mouse/multi_select_handler","ace/lib/event","ace/lib/lang","ace/commands/multi_select_commands","ace/search","ace/edit_session","ace/editor","ace/config"],(function(e,t,l){var n=e("./range_list").RangeList,r=e("./range").Range,a=e("./selection").Selection,o=e("./mouse/multi_select_handler").onMouseDown,i=e("./lib/event"),s=e("./lib/lang"),c=e("./commands/multi_select_commands");t.commands=c.defaultCommands.concat(c.multiSelectCommands);var u=new(0,e("./search").Search);var d=e("./edit_session").EditSession;(function(){this.getSelectionMarkers=function(){return this.$selectionMarkers}}).call(d.prototype),function(){this.ranges=null,this.rangeList=null,this.addRange=function(e,t){if(e){if(!this.inMultiSelectMode&&0===this.rangeCount){var l=this.toOrientedRange();if(this.rangeList.add(l),this.rangeList.add(e),2!=this.rangeList.ranges.length)return this.rangeList.removeAll(),t||this.fromOrientedRange(e);this.rangeList.removeAll(),this.rangeList.add(l),this.$onAddRange(l)}e.cursor||(e.cursor=e.end);var n=this.rangeList.add(e);return this.$onAddRange(e),n.length&&this.$onRemoveRange(n),this.rangeCount>1&&!this.inMultiSelectMode&&(this._signal("multiSelect"),this.inMultiSelectMode=!0,this.session.$undoSelect=!1,this.rangeList.attach(this.session)),t||this.fromOrientedRange(e)}},this.toSingleRange=function(e){e=e||this.ranges[0];var t=this.rangeList.removeAll();t.length&&this.$onRemoveRange(t),e&&this.fromOrientedRange(e)},this.substractPoint=function(e){var t=this.rangeList.substractPoint(e);if(t)return this.$onRemoveRange(t),t[0]},this.mergeOverlappingRanges=function(){var e=this.rangeList.merge();e.length&&this.$onRemoveRange(e)},this.$onAddRange=function(e){this.rangeCount=this.rangeList.ranges.length,this.ranges.unshift(e),this._signal("addRange",{range:e})},this.$onRemoveRange=function(e){if(this.rangeCount=this.rangeList.ranges.length,1==this.rangeCount&&this.inMultiSelectMode){var t=this.rangeList.ranges.pop();e.push(t),this.rangeCount=0}for(var l=e.length;l--;){var n=this.ranges.indexOf(e[l]);this.ranges.splice(n,1)}this._signal("removeRange",{ranges:e}),0===this.rangeCount&&this.inMultiSelectMode&&(this.inMultiSelectMode=!1,this._signal("singleSelect"),this.session.$undoSelect=!0,this.rangeList.detach(this.session)),(t=t||this.ranges[0])&&!t.isEqual(this.getRange())&&this.fromOrientedRange(t)},this.$initRangeList=function(){this.rangeList||(this.rangeList=new n,this.ranges=[],this.rangeCount=0)},this.getAllRanges=function(){return this.rangeCount?this.rangeList.ranges.concat():[this.getRange()]},this.splitIntoLines=function(){for(var e=this.ranges.length?this.ranges:[this.getRange()],t=[],l=0;l1){var e=this.rangeList.ranges,t=e[e.length-1],l=r.fromPoints(e[0].start,t.end);this.toSingleRange(),this.setSelectionRange(l,t.cursor==t.start)}else{var n=this.session.documentToScreenPosition(this.cursor),a=this.session.documentToScreenPosition(this.anchor);this.rectangularRangeBlock(n,a).forEach(this.addRange,this)}},this.rectangularRangeBlock=function(e,t,l){var n=[],a=e.column0;)v--;if(v>0)for(var y=0;n[y].isEmpty();)y++;for(var w=v;w>=y;w--)n[w].isEmpty()&&n.splice(w,1)}return n}}.call(a.prototype);var f=e("./editor").Editor;function p(e){e.$multiselectOnSessionChange||(e.$onAddRange=e.$onAddRange.bind(e),e.$onRemoveRange=e.$onRemoveRange.bind(e),e.$onMultiSelect=e.$onMultiSelect.bind(e),e.$onSingleSelect=e.$onSingleSelect.bind(e),e.$multiselectOnSessionChange=t.onSessionChange.bind(e),e.$checkMultiselectChange=e.$checkMultiselectChange.bind(e),e.$multiselectOnSessionChange(e),e.on("changeSession",e.$multiselectOnSessionChange),e.on("mousedown",o),e.commands.addCommands(c.defaultCommands),function(e){if(!e.textInput)return;var t=e.textInput.getElement(),l=!1;function n(t){l&&(e.renderer.setMouseCursor(""),l=!1)}i.addListener(t,"keydown",(function(t){var r=18==t.keyCode&&!(t.ctrlKey||t.shiftKey||t.metaKey);e.$blockSelectEnabled&&r?l||(e.renderer.setMouseCursor("crosshair"),l=!0):l&&n()}),e),i.addListener(t,"keyup",n,e),i.addListener(t,"blur",n,e)}(e))}(function(){this.updateSelectionMarkers=function(){this.renderer.updateCursor(),this.renderer.updateBackMarkers()},this.addSelectionMarker=function(e){e.cursor||(e.cursor=e.end);var t=this.getSelectionStyle();return e.marker=this.session.addMarker(e,"ace_selection",t),this.session.$selectionMarkers.push(e),this.session.selectionMarkerCount=this.session.$selectionMarkers.length,e},this.removeSelectionMarker=function(e){if(e.marker){this.session.removeMarker(e.marker);var t=this.session.$selectionMarkers.indexOf(e);-1!=t&&this.session.$selectionMarkers.splice(t,1),this.session.selectionMarkerCount=this.session.$selectionMarkers.length}},this.removeSelectionMarkers=function(e){for(var t=this.session.$selectionMarkers,l=e.length;l--;){var n=e[l];if(n.marker){this.session.removeMarker(n.marker);var r=t.indexOf(n);-1!=r&&t.splice(r,1)}}this.session.selectionMarkerCount=t.length},this.$onAddRange=function(e){this.addSelectionMarker(e.range),this.renderer.updateCursor(),this.renderer.updateBackMarkers()},this.$onRemoveRange=function(e){this.removeSelectionMarkers(e.ranges),this.renderer.updateCursor(),this.renderer.updateBackMarkers()},this.$onMultiSelect=function(e){this.inMultiSelectMode||(this.inMultiSelectMode=!0,this.setStyle("ace_multiselect"),this.keyBinding.addKeyboardHandler(c.keyboardHandler),this.commands.setDefaultHandler("exec",this.$onMultiSelectExec),this.renderer.updateCursor(),this.renderer.updateBackMarkers())},this.$onSingleSelect=function(e){this.session.multiSelect.inVirtualMode||(this.inMultiSelectMode=!1,this.unsetStyle("ace_multiselect"),this.keyBinding.removeKeyboardHandler(c.keyboardHandler),this.commands.removeDefaultHandler("exec",this.$onMultiSelectExec),this.renderer.updateCursor(),this.renderer.updateBackMarkers(),this._emit("changeSelection"))},this.$onMultiSelectExec=function(e){var t=e.command,l=e.editor;if(l.multiSelect){if(t.multiSelectAction)"forEach"==t.multiSelectAction?n=l.forEachSelection(t,e.args):"forEachLine"==t.multiSelectAction?n=l.forEachSelection(t,e.args,!0):"single"==t.multiSelectAction?(l.exitMultiSelectMode(),n=t.exec(l,e.args||{})):n=t.multiSelectAction(l,e.args||{});else{var n=t.exec(l,e.args||{});l.multiSelect.addRange(l.multiSelect.toOrientedRange()),l.multiSelect.mergeOverlappingRanges()}return n}},this.forEachSelection=function(e,t,l){if(!this.inVirtualSelectionMode){var n,r=l&&l.keepOrder,o=1==l||l&&l.$byLines,i=this.session,s=this.selection,c=s.rangeList,u=(r?s:c).ranges;if(!u.length)return e.exec?e.exec(this,t||{}):e(this,t||{});var d=s._eventRegistry;s._eventRegistry={};var f=new a(i);this.inVirtualSelectionMode=!0;for(var p=u.length;p--;){if(o)for(;p>0&&u[p].start.row==u[p-1].end.row;)p--;f.fromOrientedRange(u[p]),f.index=p,this.selection=i.selection=f;var h=e.exec?e.exec(this,t||{}):e(this,t||{});n||void 0===h||(n=h),f.toOrientedRange(u[p])}f.detach(),this.selection=i.selection=s,this.inVirtualSelectionMode=!1,s._eventRegistry=d,s.mergeOverlappingRanges(),s.ranges[0]&&s.fromOrientedRange(s.ranges[0]);var m=this.renderer.$scrollAnimation;return this.onCursorChange(),this.onSelectionChange(),m&&m.from==m.to&&this.renderer.animateScrolling(m.from),n}},this.exitMultiSelectMode=function(){this.inMultiSelectMode&&!this.inVirtualSelectionMode&&this.multiSelect.toSingleRange()},this.getSelectedText=function(){var e="";if(this.inMultiSelectMode&&!this.inVirtualSelectionMode){for(var t=this.multiSelect.rangeList.ranges,l=[],n=0;no&&(o=l.column),nu?e.insert(n,s.stringRepeat(" ",a-u)):e.remove(new r(n.row,n.column,n.row,n.column-a+u)),t.start.column=t.end.column=o,t.start.row=t.end.row=n.row,t.cursor=t.end})),t.fromOrientedRange(l[0]),this.renderer.updateCursor(),this.renderer.updateBackMarkers()}else{var u=this.selection.getRange(),d=u.start.row,f=u.end.row,p=d==f;if(p){var h,m=this.session.getLength();do{h=this.session.getLine(f)}while(/[=:]/.test(h)&&++f0);d<0&&(d=0),f>=m&&(f=m-1)}var g=this.session.removeFullLines(d,f);g=this.$reAlignText(g,p),this.session.insert({row:d,column:0},g.join("\n")+"\n"),p||(u.start.column=0,u.end.column=g[g.length-1].length),this.selection.setRange(u)}},this.$reAlignText=function(e,t){var l,n,r,a=!0,o=!0;return e.map((function(e){var t=e.match(/(\s*)(.*?)(\s*)([=:].*)/);return t?null==l?(l=t[1].length,n=t[2].length,r=t[3].length,t):(l+n+r!=t[1].length+t[2].length+t[3].length&&(o=!1),l!=t[1].length&&(a=!1),l>t[1].length&&(l=t[1].length),nt[3].length&&(r=t[3].length),t):[e]})).map(t?c:a?o?function(e){return e[2]?i(l+n-e[2].length)+e[2]+i(r)+e[4].replace(/^([=:])\s+/,"$1 "):e[0]}:c:function(e){return e[2]?i(l)+e[2]+i(r)+e[4].replace(/^([=:])\s+/,"$1 "):e[0]});function i(e){return s.stringRepeat(" ",e)}function c(e){return e[2]?i(l)+e[2]+i(n-e[2].length+r)+e[4].replace(/^([=:])\s+/,"$1 "):e[0]}}}).call(f.prototype),t.onSessionChange=function(e){var t=e.session;t&&!t.multiSelect&&(t.$selectionMarkers=[],t.selection.$initRangeList(),t.multiSelect=t.selection),this.multiSelect=t&&t.multiSelect;var l=e.oldSession;l&&(l.multiSelect.off("addRange",this.$onAddRange),l.multiSelect.off("removeRange",this.$onRemoveRange),l.multiSelect.off("multiSelect",this.$onMultiSelect),l.multiSelect.off("singleSelect",this.$onSingleSelect),l.multiSelect.lead.off("change",this.$checkMultiselectChange),l.multiSelect.anchor.off("change",this.$checkMultiselectChange)),t&&(t.multiSelect.on("addRange",this.$onAddRange),t.multiSelect.on("removeRange",this.$onRemoveRange),t.multiSelect.on("multiSelect",this.$onMultiSelect),t.multiSelect.on("singleSelect",this.$onSingleSelect),t.multiSelect.lead.on("change",this.$checkMultiselectChange),t.multiSelect.anchor.on("change",this.$checkMultiselectChange)),t&&this.inMultiSelectMode!=t.selection.inMultiSelectMode&&(t.selection.inMultiSelectMode?this.$onMultiSelect():this.$onSingleSelect())},t.MultiSelect=p,e("./config").defineOptions(f.prototype,"editor",{enableMultiselect:{set:function(e){p(this),e?(this.on("changeSession",this.$multiselectOnSessionChange),this.on("mousedown",o)):(this.off("changeSession",this.$multiselectOnSessionChange),this.off("mousedown",o))},value:!0},enableBlockSelect:{set:function(e){this.$blockSelectEnabled=e},value:!0}})})),ace.define("ace/mode/folding/fold_mode",["require","exports","module","ace/range"],(function(e,t,l){"use strict";var n=e("../../range").Range,r=t.FoldMode=function(){};(function(){this.foldingStartMarker=null,this.foldingStopMarker=null,this.getFoldWidget=function(e,t,l){var n=e.getLine(l);return this.foldingStartMarker.test(n)?"start":"markbeginend"==t&&this.foldingStopMarker&&this.foldingStopMarker.test(n)?"end":""},this.getFoldWidgetRange=function(e,t,l){return null},this.indentationBlock=function(e,t,l){var r=/\S/,a=e.getLine(t),o=a.search(r);if(-1!=o){for(var i=l||a.length,s=e.getLength(),c=t,u=t;++tc){var p=e.getLine(u).length;return new n(c,i,u,p)}}},this.openingBracketBlock=function(e,t,l,r,a){var o={row:l,column:r+1},i=e.$findClosingBracket(t,o,a);if(i){var s=e.foldWidgets[i.row];return null==s&&(s=e.getFoldWidget(i.row)),"start"==s&&i.row>o.row&&(i.row--,i.column=e.getLine(i.row).length),n.fromPoints(o,i)}},this.closingBracketBlock=function(e,t,l,r,a){var o={row:l,column:r},i=e.$findOpeningBracket(t,o);if(i)return i.column++,o.column--,n.fromPoints(i,o)}}).call(r.prototype)})),ace.define("ace/theme/textmate",["require","exports","module","ace/lib/dom"],(function(e,t,l){"use strict";t.isDark=!1,t.cssClass="ace-tm",t.cssText='.ace-tm .ace_gutter {background: #f0f0f0;color: #333;}.ace-tm .ace_print-margin {width: 1px;background: #e8e8e8;}.ace-tm .ace_fold {background-color: #6B72E6;}.ace-tm {background-color: #FFFFFF;color: black;}.ace-tm .ace_cursor {color: black;}.ace-tm .ace_invisible {color: rgb(191, 191, 191);}.ace-tm .ace_storage,.ace-tm .ace_keyword {color: blue;}.ace-tm .ace_constant {color: rgb(197, 6, 11);}.ace-tm .ace_constant.ace_buildin {color: rgb(88, 72, 246);}.ace-tm .ace_constant.ace_language {color: rgb(88, 92, 246);}.ace-tm .ace_constant.ace_library {color: rgb(6, 150, 14);}.ace-tm .ace_invalid {background-color: rgba(255, 0, 0, 0.1);color: red;}.ace-tm .ace_support.ace_function {color: rgb(60, 76, 114);}.ace-tm .ace_support.ace_constant {color: rgb(6, 150, 14);}.ace-tm .ace_support.ace_type,.ace-tm .ace_support.ace_class {color: rgb(109, 121, 222);}.ace-tm .ace_keyword.ace_operator {color: rgb(104, 118, 135);}.ace-tm .ace_string {color: rgb(3, 106, 7);}.ace-tm .ace_comment {color: rgb(76, 136, 107);}.ace-tm .ace_comment.ace_doc {color: rgb(0, 102, 255);}.ace-tm .ace_comment.ace_doc.ace_tag {color: rgb(128, 159, 191);}.ace-tm .ace_constant.ace_numeric {color: rgb(0, 0, 205);}.ace-tm .ace_variable {color: rgb(49, 132, 149);}.ace-tm .ace_xml-pe {color: rgb(104, 104, 91);}.ace-tm .ace_entity.ace_name.ace_function {color: #0000A2;}.ace-tm .ace_heading {color: rgb(12, 7, 255);}.ace-tm .ace_list {color:rgb(185, 6, 144);}.ace-tm .ace_meta.ace_tag {color:rgb(0, 22, 142);}.ace-tm .ace_string.ace_regex {color: rgb(255, 0, 0)}.ace-tm .ace_marker-layer .ace_selection {background: rgb(181, 213, 255);}.ace-tm.ace_multiselect .ace_selection.ace_start {box-shadow: 0 0 3px 0px white;}.ace-tm .ace_marker-layer .ace_step {background: rgb(252, 255, 0);}.ace-tm .ace_marker-layer .ace_stack {background: rgb(164, 229, 101);}.ace-tm .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid rgb(192, 192, 192);}.ace-tm .ace_marker-layer .ace_active-line {background: rgba(0, 0, 0, 0.07);}.ace-tm .ace_gutter-active-line {background-color : #dcdcdc;}.ace-tm .ace_marker-layer .ace_selected-word {background: rgb(250, 250, 255);border: 1px solid rgb(200, 200, 250);}.ace-tm .ace_indent-guide {background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==") right repeat-y;}',t.$id="ace/theme/textmate",e("../lib/dom").importCssString(t.cssText,t.cssClass,!1)})),ace.define("ace/line_widgets",["require","exports","module","ace/lib/dom"],(function(e,t,l){"use strict";var n=e("./lib/dom");function r(e){this.session=e,this.session.widgetManager=this,this.session.getRowLength=this.getRowLength,this.session.$getWidgetScreenLength=this.$getWidgetScreenLength,this.updateOnChange=this.updateOnChange.bind(this),this.renderWidgets=this.renderWidgets.bind(this),this.measureWidgets=this.measureWidgets.bind(this),this.session._changedWidgets=[],this.$onChangeEditor=this.$onChangeEditor.bind(this),this.session.on("change",this.updateOnChange),this.session.on("changeFold",this.updateOnFold),this.session.on("changeEditor",this.$onChangeEditor)}(function(){this.getRowLength=function(e){var t;return t=this.lineWidgets&&this.lineWidgets[e]&&this.lineWidgets[e].rowCount||0,this.$useWrapMode&&this.$wrapData[e]?this.$wrapData[e].length+1+t:1+t},this.$getWidgetScreenLength=function(){var e=0;return this.lineWidgets.forEach((function(t){t&&t.rowCount&&!t.hidden&&(e+=t.rowCount)})),e},this.$onChangeEditor=function(e){this.attach(e.editor)},this.attach=function(e){e&&e.widgetManager&&e.widgetManager!=this&&e.widgetManager.detach(),this.editor!=e&&(this.detach(),this.editor=e,e&&(e.widgetManager=this,e.renderer.on("beforeRender",this.measureWidgets),e.renderer.on("afterRender",this.renderWidgets)))},this.detach=function(e){var t=this.editor;if(t){this.editor=null,t.widgetManager=null,t.renderer.off("beforeRender",this.measureWidgets),t.renderer.off("afterRender",this.renderWidgets);var l=this.session.lineWidgets;l&&l.forEach((function(e){e&&e.el&&e.el.parentNode&&(e._inDocument=!1,e.el.parentNode.removeChild(e.el))}))}},this.updateOnFold=function(e,t){var l=t.lineWidgets;if(l&&e.action){for(var n=e.data,r=n.start.row,a=n.end.row,o="add"==e.action,i=r+1;it[l].column&&l++,a.unshift(l,0),t.splice.apply(t,a),this.$updateRows()}}},this.$updateRows=function(){var e=this.session.lineWidgets;if(e){var t=!0;e.forEach((function(e,l){if(e)for(t=!1,e.row=l;e.$oldWidget;)e.$oldWidget.row=l,e=e.$oldWidget})),t&&(this.session.lineWidgets=null)}},this.$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},this.addLineWidget=function(e){if(this.$registerLineWidget(e),e.session=this.session,!this.editor)return e;var t=this.editor.renderer;e.html&&!e.el&&(e.el=n.createElement("div"),e.el.innerHTML=e.html),e.el&&(n.addCssClass(e.el,"ace_lineWidgetContainer"),e.el.style.position="absolute",e.el.style.zIndex=5,t.container.appendChild(e.el),e._inDocument=!0,e.coverGutter||(e.el.style.zIndex=3),null==e.pixelHeight&&(e.pixelHeight=e.el.offsetHeight)),null==e.rowCount&&(e.rowCount=e.pixelHeight/t.layerConfig.lineHeight);var l=this.session.getFoldAt(e.row,0);if(e.$fold=l,l){var r=this.session.lineWidgets;e.row!=l.end.row||r[l.start.row]?e.hidden=!0:r[l.start.row]=e}return this.session._emit("changeFold",{data:{start:{row:e.row}}}),this.$updateRows(),this.renderWidgets(null,t),this.onWidgetChanged(e),e},this.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()},this.getWidgetsAtRow=function(e){for(var t=this.session.lineWidgets,l=t&&t[e],n=[];l;)n.push(l),l=l.$oldWidget;return n},this.onWidgetChanged=function(e){this.session._changedWidgets.push(e),this.editor&&this.editor.renderer.updateFull()},this.measureWidgets=function(e,t){var l=this.session._changedWidgets,n=t.layerConfig;if(l&&l.length){for(var r=1/0,a=0;a0&&!n[r];)r--;this.firstRow=l.firstRow,this.lastRow=l.lastRow,t.$cursorLayer.config=l;for(var o=r;o<=a;o++){var i=n[o];if(i&&i.el)if(i.hidden)i.el.style.top=-100-(i.pixelHeight||0)+"px";else{i._inDocument||(i._inDocument=!0,t.container.appendChild(i.el));var s=t.$cursorLayer.getPixelPosition({row:o,column:0},!0).top;i.coverLine||(s+=l.lineHeight*this.session.getRowLineCount(i.row)),i.el.style.top=s-l.offset+"px";var c=i.coverGutter?0:t.gutterWidth;i.fixedWidth||(c-=t.scrollLeft),i.el.style.left=c+"px",i.fullWidth&&i.screenWidth&&(i.el.style.minWidth=l.width+2*l.padding+"px"),i.fixedWidth?i.el.style.right=t.scrollBar.getWidth()+"px":i.el.style.right=""}}}}}).call(r.prototype),t.LineWidgets=r})),ace.define("ace/ext/error_marker",["require","exports","module","ace/line_widgets","ace/lib/dom","ace/range"],(function(e,t,l){"use strict";var n=e("../line_widgets").LineWidgets,r=e("../lib/dom"),a=e("../range").Range;t.showErrorMarker=function(e,t){var l=e.session;l.widgetManager||(l.widgetManager=new n(l),l.widgetManager.attach(e));var o=e.getCursorPosition(),i=o.row,s=l.widgetManager.getWidgetsAtRow(i).filter((function(e){return"errorMarker"==e.type}))[0];s?s.destroy():i-=t;var c,u=function(e,t,l){var n=e.getAnnotations().sort(a.comparePoints);if(n.length){var r=function(e,t,l){for(var n=0,r=e.length-1;n<=r;){var a=n+r>>1,o=l(t,e[a]);if(o>0)n=a+1;else{if(!(o<0))return a;r=a-1}}return-(n+1)}(n,{row:t,column:-1},a.comparePoints);r<0&&(r=-r-1),r>=n.length?r=l>0?0:n.length-1:0===r&&l<0&&(r=n.length-1);var o=n[r];if(o&&l){if(o.row===t){do{o=n[r+=l]}while(o&&o.row===t);if(!o)return n.slice()}var i=[];t=o.row;do{i[l<0?"unshift":"push"](o),o=n[r+=l]}while(o&&o.row==t);return i.length&&i}}}(l,i,t);if(u){var d=u[0];o.column=(d.pos&&"number"!=typeof d.column?d.pos.sc:d.column)||0,o.row=d.row,c=e.renderer.$gutterLayer.$annotations[o.row]}else{if(s)return;c={text:["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,p.innerHTML=c.text.join("
"),p.appendChild(r.createElement("div"));var g=function(e,t,l){if(0===t&&("esc"===l||"return"===l))return f.destroy(),{command:"null"}};f.destroy=function(){e.$mouseHandler.isMousePressed||(e.keyBinding.removeKeyboardHandler(g),l.widgetManager.removeLineWidget(f),e.off("changeSelection",f.destroy),e.off("changeSession",f.destroy),e.off("mouseup",f.destroy),e.off("change",f.destroy))},e.keyBinding.addKeyboardHandler(g),e.on("changeSelection",f.destroy),e.on("changeSession",f.destroy),e.on("mouseup",f.destroy),e.on("change",f.destroy),e.session.widgetManager.addLineWidget(f),f.el.onmousedown=e.focus.bind(e),e.renderer.scrollCursorIntoView(null,.5,{bottom:f.el.offsetHeight})},r.importCssString(" .error_widget_wrapper { background: inherit; color: inherit; border:none } .error_widget { border-top: solid 2px; border-bottom: solid 2px; margin: 5px 0; padding: 10px 40px; white-space: pre-wrap; } .error_widget.ace_error, .error_widget_arrow.ace_error{ border-color: #ff5a5a } .error_widget.ace_warning, .error_widget_arrow.ace_warning{ border-color: #F1D817 } .error_widget.ace_info, .error_widget_arrow.ace_info{ border-color: #5a5a5a } .error_widget.ace_ok, .error_widget_arrow.ace_ok{ border-color: #5aaa5a } .error_widget_arrow { position: absolute; border: solid 5px; border-top-color: transparent!important; border-right-color: transparent!important; border-left-color: transparent!important; top: -5px; }","error_marker.css",!1)})),ace.define("ace/ace",["require","exports","module","ace/lib/fixoldbrowsers","ace/lib/dom","ace/lib/event","ace/range","ace/editor","ace/edit_session","ace/undomanager","ace/virtual_renderer","ace/worker/worker_client","ace/keyboard/hash_handler","ace/placeholder","ace/multi_select","ace/mode/folding/fold_mode","ace/theme/textmate","ace/ext/error_marker","ace/config"],(function(e,t,n){"use strict";e("./lib/fixoldbrowsers");var r=e("./lib/dom"),a=e("./lib/event"),o=e("./range").Range,i=e("./editor").Editor,s=e("./edit_session").EditSession,c=e("./undomanager").UndoManager,u=e("./virtual_renderer").VirtualRenderer;e("./worker/worker_client"),e("./keyboard/hash_handler"),e("./placeholder"),e("./multi_select"),e("./mode/folding/fold_mode"),e("./theme/textmate"),e("./ext/error_marker"),t.config=e("./config"),t.require=e,t.define=l("30d1801ce607fbf6870f"),t.edit=function(e,l){if("string"==typeof e){var n=e;if(!(e=document.getElementById(n)))throw new Error("ace.edit can't find div #"+n)}if(e&&e.env&&e.env.editor instanceof i)return e.env.editor;var o="";if(e&&/input|textarea/i.test(e.tagName)){var s=e;o=s.value,e=r.createElement("pre"),s.parentNode.replaceChild(e,s)}else e&&(o=e.textContent,e.innerHTML="");var c=t.createEditSession(o),d=new i(new u(e),c,l),f={document:c,editor:d,onResize:d.resize.bind(d,null)};return s&&(f.textarea=s),a.addListener(window,"resize",f.onResize),d.on("destroy",(function(){a.removeListener(window,"resize",f.onResize),f.editor.container.env=null})),d.container.env=d.env=f,d},t.createEditSession=function(e,t){var l=new s(e,t);return l.setUndoManager(new c),l},t.Range=o,t.Editor=i,t.EditSession=s,t.UndoManager=c,t.VirtualRenderer=u,t.version=t.config.version})),ace.require(["ace/ace"],(function(t){for(var l in t&&(t.config.init(!0),t.define=ace.define),window.ace||(window.ace=t),t)t.hasOwnProperty(l)&&(window.ace[l]=t[l]);window.ace.default=window.ace,e&&(e.exports=window.ace)}))}).call(this,l("f586cf5b9f4b7719b2c1")(e))},"0dd5c6afeb5423285b0e":function(e,t,l){var n=l("03928d512e6d9fa28d7e"),r=l("92ff0e14e095cc72ae83");e.exports=function(e){var t=e.xdomain,l=e.xscheme,a=e.enablesXDR;try{if("undefined"!==typeof XMLHttpRequest&&(!t||n))return new XMLHttpRequest}catch(e){}try{if("undefined"!==typeof XDomainRequest&&!l&&a)return new XDomainRequest}catch(e){}if(!t)try{return new(r[["Active"].concat("Object").join("X")])("Microsoft.XMLHTTP")}catch(e){}}},"0e20e26e93776e5dedfd":function(e,t,l){"use strict";var n=l("8e6d34d5e2b1c9c449c0");t.__esModule=!0,t.default=function(e){return(0,r.default)(e).replace(a,"-ms-")};var r=n(l("b5b95815a681fa972933")),a=/^ms-/;e.exports=t.default},"0e326f80368fd0b1333e":function(e,t,l){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var l=function(e,t){var l=e[1]||"",n=e[3];if(!n)return l;if(t&&"function"===typeof btoa){var r=(o=n,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */"),a=n.sources.map((function(e){return"/*# sourceURL="+n.sourceRoot+e+" */"}));return[l].concat(a).concat([r]).join("\n")}var o;return[l].join("\n")}(t,e);return t[2]?"@media "+t[2]+"{"+l+"}":l})).join("")},t.i=function(e,l){"string"===typeof e&&(e=[[null,e,""]]);for(var n={},r=0;r2&&void 0!==arguments[2]&&arguments[2];n.inTimeTravelling?n.inTimeTravelling=!1:o(e,t,l)};return n.unlisten=a.listen(i),i(a.location,a.action,!0),n}var r,a,i;return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&m(e,t)}(l,e),r=l,(a=[{key:"componentWillUnmount",value:function(){this.unlisten(),this.unsubscribe()}},{key:"render",value:function(){var e=this.props,t=e.history,l=e.children;return n.default.createElement(o.Router,{history:t},l)}}])&&f(r.prototype,a),i&&f(r,i),l}(n.PureComponent);l.propTypes={store:r.default.shape({getState:r.default.func.isRequired,subscribe:r.default.func.isRequired}).isRequired,history:r.default.shape({action:r.default.string.isRequired,listen:r.default.func.isRequired,location:r.default.object.isRequired,push:r.default.func.isRequired}).isRequired,basename:r.default.string,children:r.default.oneOfType([r.default.func,r.default.node]),onLocationChanged:r.default.func.isRequired};var c=function(e){var t=e.context||a.ReactReduxContext;if(null==t)throw"Please upgrade to react-redux v6";return n.default.createElement(t.Consumer,null,(function(t){var r=t.store;return n.default.createElement(l,d({store:r},e))}))};return c.propTypes={context:r.default.object},(0,a.connect)(null,(function(e){return{onLocationChanged:function(t,l,n){return e((0,i.onLocationChanged)(t,l,n))}}}))(c)};t.default=g},"0faf69db168b748d5a31":function(e,t,l){Object.defineProperty(t,"__esModule",{value:!0});var n=l("98bae3dbabd51089d613"),r=l("bc9d99ff713fa8e834f8"),a=l("6b00f1d7fb6bde96d1bc"),o=l("9174bba9c88261cec9dc"),i=l("cd8759ea01a7b1164d0a"),s=l("47546cd28c3fe3537e51"),c=l("2a21c78968ea1e434b1f"),u=function(e){function t(t){return void 0===t&&(t={}),e.call(this,o.BrowserBackend,t)||this}return n.__extends(t,e),t.prototype.showReportDialog=function(e){void 0===e&&(e={}),a.getGlobalObject().document&&(this._isEnabled()?i.injectReportDialog(n.__assign(n.__assign({},e),{dsn:e.dsn||this.getDsn()})):a.logger.error("Trying to call showReportDialog with Sentry Client disabled"))},t.prototype._prepareEvent=function(t,l,r){return t.platform=t.platform||"javascript",t.sdk=n.__assign(n.__assign({},t.sdk),{name:c.SDK_NAME,packages:n.__spread(t.sdk&&t.sdk.packages||[],[{name:"npm:@sentry/browser",version:c.SDK_VERSION}]),version:c.SDK_VERSION}),e.prototype._prepareEvent.call(this,t,l,r)},t.prototype._sendEvent=function(t){var l=this.getIntegration(s.Breadcrumbs);l&&l.addSentryBreadcrumb(t),e.prototype._sendEvent.call(this,t)},t}(r.BaseClient);t.BrowserClient=u},1:function(e,t,l){l("5b15df55c1316f23e9d0"),e.exports=l("8b703812aa8ae3c41814")},"10674c13d9b192605523":function(e,t,l){(t=e.exports=l("0e326f80368fd0b1333e")(!1)).push([e.i,".errorBoundary{position:relative;display:flex;justify-content:center;align-items:center;width:calc(100% - 10px);height:calc(100% - 85px);margin-top:3px;background:#fff;box-shadow:0 0 4px 4px #d3d3d3;overflow-y:auto}.errorBoundary .error{display:flex;flex-direction:column;justify-content:center;align-items:center;color:#000;width:100%;overflow:hidden}.errorBoundary .error .errorIcon{display:flex;width:200px;height:200px;min-width:200px;min-height:200px;justify-content:center;align-items:center;font-size:12em;padding:10px;color:#3e438d}.errorBoundary .error .error-somethingWrong{display:flex;justify-content:center;text-align:center;margin-top:20px;font-size:2.5em;color:#3e438d;font-weight:bold}.errorBoundary .error .error-sentry{display:flex;justify-content:center;align-items:center;height:40px;margin-top:40px;color:#333;min-width:300px;max-width:400px;padding:0 10px;background-color:#ebebeb}.errorBoundary .error .error-report-block{display:flex;flex-direction:column;justify-content:center;align-items:center;margin-top:60px}.errorBoundary .error .error-report-block .error-report-text{color:#333;font-weight:bold;font-size:1.1em;text-align:center}.errorBoundary .error .error-report-block .error-report-button{margin:10px 0}.errorBoundary .error .tryAgain{cursor:pointer;user-select:none;padding:10px 30px;transition:.2s;border:1px solid #fff}.errorBoundary .error .tryAgain:hover{background:#fff;color:#151515}.errorButtonBlock{display:flex;align-items:center;justify-content:center}.errorButtonBlock .errorButtonLinear{position:relative;border:1px solid #141443;color:#141443;display:flex;align-items:center;justify-content:center;cursor:pointer;padding:0 20px;height:30px;min-width:100px;font-size:.9em;box-shadow:1px 1px 2px #141443;font-weight:bold;transition:.4s;user-select:none}.errorButtonBlock .errorButtonLinear:hover,.errorButtonBlock .errorButtonLinear.active{color:#fff;background-color:#141443}.error-modal-container{height:550px;width:80vw;background-color:#fff}.error-modal-container .error-modal-header{position:relative;display:flex;align-items:center;justify-content:center;height:60px;padding:0 20px;border-bottom:1px solid #d3d3d3}.error-modal-container .error-modal-header .error-modal-header-back{position:absolute;top:20px;right:20px;display:flex;height:20px;width:20px;align-items:center;cursor:pointer}.error-modal-container .error-modal-header .error-modal-header-back em{font-size:12px}.error-modal-container .error-modal-header .error-modal-header-back:hover{color:#141443}.error-modal-container .error-modal-header .error-modal-header-title{font-weight:bold}.error-modal-container .error-modal-content{height:440px;padding:20px}.error-modal-container .error-modal-content .error-modal-send{margin-top:20px;display:flex;justify-content:center;align-items:center}",""]),t.locals={activeButtonBackground:"#141443",lightPrimary:"#4e4edb",primaryColor:"#141443",secondaryColor:"#3e438d",toggleBackgroundColor:"#14468c",toggleActiveThumb:"#06386a",toggleInactiveThumb:"#fafafa",toggleActiveBase:"#141443",toggleActiveWrapperBase:"#141443",toggleActiveHover:"#3e438d",toggleActiveWrapperHover:"#3e438d",toggleInactiveBase:"#cdcdcd",toggleInactiveWrapperBase:"#cdcdcd",toggleInactiveHover:"#dcdcdc",toggleInactiveWrapperHover:"#dcdcdc"}},"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={}))},"10db0fc2442b6a3d5a39":function(e,t,l){Object.defineProperty(t,"__esModule",{value:!0});var n=l("98bae3dbabd51089d613"),r=l("bc9d99ff713fa8e834f8"),a=l("e588b22a82c241e9c56a"),o=l("6b00f1d7fb6bde96d1bc"),i=l("c5ca75090a5831d34eba"),s=l("cd8759ea01a7b1164d0a"),c=function(){function e(t){this.name=e.id,this._onErrorHandlerInstalled=!1,this._onUnhandledRejectionHandlerInstalled=!1,this._options=n.__assign({onerror:!0,onunhandledrejection:!0},t)}return e.prototype.setupOnce=function(){Error.stackTraceLimit=50,this._options.onerror&&(o.logger.log("Global Handler attached: onerror"),this._installGlobalOnErrorHandler()),this._options.onunhandledrejection&&(o.logger.log("Global Handler attached: onunhandledrejection"),this._installGlobalOnUnhandledRejectionHandler())},e.prototype._installGlobalOnErrorHandler=function(){var t=this;this._onErrorHandlerInstalled||(o.addInstrumentationHandler({callback:function(l){var n=l.error,a=r.getCurrentHub(),c=a.getIntegration(e),u=n&&!0===n.__sentry_own_request__;if(c&&!s.shouldIgnoreOnError()&&!u){var d=a.getClient(),f=o.isPrimitive(n)?t._eventFromIncompleteOnError(l.msg,l.url,l.line,l.column):t._enhanceEventWithInitialFrame(i.eventFromUnknownInput(n,void 0,{attachStacktrace:d&&d.getOptions().attachStacktrace,rejection:!1}),l.url,l.line,l.column);o.addExceptionMechanism(f,{handled:!1,type:"onerror"}),a.captureEvent(f,{originalException:n})}},type:"error"}),this._onErrorHandlerInstalled=!0)},e.prototype._installGlobalOnUnhandledRejectionHandler=function(){var t=this;this._onUnhandledRejectionHandlerInstalled||(o.addInstrumentationHandler({callback:function(l){var n=l;try{"reason"in l?n=l.reason:"detail"in l&&"reason"in l.detail&&(n=l.detail.reason)}catch(e){}var c=r.getCurrentHub(),u=c.getIntegration(e),d=n&&!0===n.__sentry_own_request__;if(!u||s.shouldIgnoreOnError()||d)return!0;var f=c.getClient(),p=o.isPrimitive(n)?t._eventFromRejectionWithPrimitive(n):i.eventFromUnknownInput(n,void 0,{attachStacktrace:f&&f.getOptions().attachStacktrace,rejection:!0});p.level=a.Severity.Error,o.addExceptionMechanism(p,{handled:!1,type:"onunhandledrejection"}),c.captureEvent(p,{originalException:n})},type:"unhandledrejection"}),this._onUnhandledRejectionHandlerInstalled=!0)},e.prototype._eventFromIncompleteOnError=function(e,t,l,n){var r,a=o.isErrorEvent(e)?e.message:e;if(o.isString(a)){var i=a.match(/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i);i&&(r=i[1],a=i[2])}var s={exception:{values:[{type:r||"Error",value:a}]}};return this._enhanceEventWithInitialFrame(s,t,l,n)},e.prototype._eventFromRejectionWithPrimitive=function(e){return{exception:{values:[{type:"UnhandledRejection",value:"Non-Error promise rejection captured with value: "+String(e)}]}}},e.prototype._enhanceEventWithInitialFrame=function(e,t,l,n){e.exception=e.exception||{},e.exception.values=e.exception.values||[],e.exception.values[0]=e.exception.values[0]||{},e.exception.values[0].stacktrace=e.exception.values[0].stacktrace||{},e.exception.values[0].stacktrace.frames=e.exception.values[0].stacktrace.frames||[];var r=isNaN(parseInt(n,10))?void 0:n,a=isNaN(parseInt(l,10))?void 0:l,i=o.isString(t)&&t.length>0?t:o.getLocationHref();return 0===e.exception.values[0].stacktrace.frames.length&&e.exception.values[0].stacktrace.frames.push({colno:r,filename:i,function:"?",in_app:!0,lineno:a}),e},e.id="GlobalHandlers",e}();t.GlobalHandlers=c},"11552bc244f4e0ecb3a5":function(e,t){e.exports={}},"115c5b40c21caec63178":function(e,t,l){var n,r;void 0===(r="function"===typeof(n=function(e,t,l){return function(e,t,l,n,r,a){function o(e){return"number"==typeof e&&!isNaN(e)}var i=this;if(i.version=function(){return"1.9.3"},i.options={useEasing:!0,useGrouping:!0,separator:",",decimal:".",easingFn:function(e,t,l,n){return l*(1-Math.pow(2,-10*e/n))*1024/1023+t},formattingFn:function(e){var t,l,n,r,a,o,s=e<0;if(e=Math.abs(e).toFixed(i.decimals),l=(t=(e+="").split("."))[0],n=t.length>1?i.options.decimal+t[1]:"",i.options.useGrouping){for(r="",a=0,o=l.length;ai.endVal,i.frameVal=i.startVal,i.initialized=!0,!0):(i.error="[CountUp] startVal ("+t+") or endVal ("+l+") is not a number",!1)):(i.error="[CountUp] target is null or undefined",!1))},i.printValue=function(e){var t=i.options.formattingFn(e);"INPUT"===i.d.tagName?this.d.value=t:"text"===i.d.tagName||"tspan"===i.d.tagName?this.d.textContent=t:this.d.innerHTML=t},i.count=function(e){i.startTime||(i.startTime=e),i.timestamp=e;var t=e-i.startTime;i.remaining=i.duration-t,i.options.useEasing?i.countDown?i.frameVal=i.startVal-i.options.easingFn(t,0,i.startVal-i.endVal,i.duration):i.frameVal=i.options.easingFn(t,i.startVal,i.endVal-i.startVal,i.duration):i.countDown?i.frameVal=i.startVal-(i.startVal-i.endVal)*(t/i.duration):i.frameVal=i.startVal+(i.endVal-i.startVal)*(t/i.duration),i.countDown?i.frameVal=i.frameVali.endVal?i.endVal:i.frameVal,i.frameVal=Math.round(i.frameVal*i.dec)/i.dec,i.printValue(i.frameVal),ti.endVal,i.rAF=requestAnimationFrame(i.count))}},i.initialize()&&i.printValue(i.startVal)}})?n.call(t,l,t,e):n)||(e.exports=r)},"11671841bf1bc15de6db":function(e,t){e.exports="data:image/svg+xml,%3C?xml version='1.0' encoding='utf-8'?%3E %3C!-- Generator: Adobe Illustrator 25.2.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --%3E %3Csvg version='1.1' id='svg4209' inkscape:version='0.48.5 r10040' sodipodi:docname='IconoAlergenoCrustaceo-Crustaceans.svg' xmlns:cc='http://creativecommons.org/ns%23' xmlns:dc='http://purl.org/dc/elements/1.1/' xmlns:inkscape='http://www.inkscape.org/namespaces/inkscape' xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns%23' xmlns:sodipodi='http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd' xmlns:svg='http://www.w3.org/2000/svg' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 262.2 372' style='enable-background:new 0 0 262.2 372;' xml:space='preserve'%3E %3Cstyle type='text/css'%3E .st0%7Bfill:%231CB6F1;stroke:%231CB6F1;stroke-width:3;stroke-linecap:round;stroke-linejoin:round;%7D .st1%7Bfill:%23FFFFFF;stroke:%23FFFFFF;stroke-width:0.2788;stroke-miterlimit:22.3065;%7D .st2%7Bfill:%23FFFFFF;stroke:%23FFFFFF;stroke-width:0.2581;stroke-miterlimit:22.3065;%7D %3C/style%3E %3Csodipodi:namedview bordercolor='%23666666' borderopacity='1.0' id='base' inkscape:current-layer='layer1' inkscape:cx='619.5751' inkscape:cy='785.62964' inkscape:document-units='px' inkscape:pageopacity='0.0' inkscape:pageshadow='2' inkscape:window-height='924' inkscape:window-maximized='1' inkscape:window-width='1280' inkscape:window-x='0' inkscape:window-y='28' inkscape:zoom='0.22792898' pagecolor='%23ffffff' showgrid='false'%3E %3C/sodipodi:namedview%3E %3Cg id='layer1' transform='translate(0,-680.31494)' inkscape:groupmode='layer' inkscape:label='Capa 1'%3E %3Cg id='g5335' transform='matrix(5.5766335,0,0,5.5766335,-1227.1285,-1253.3571)'%3E %3Cg id='g5308'%3E %3Cpath id='path3230-2-8-5' sodipodi:cx='21.573027' sodipodi:cy='29.287827' sodipodi:rx='18.363815' sodipodi:ry='18.720394' sodipodi:type='arc' class='st0' d=' M262.7,375.7c0,10.6-8.6,19.1-19.1,19.1s-19.1-8.6-19.1-19.1c0-10.6,8.6-19.1,19.1-19.1S262.7,365.1,262.7,375.7z'/%3E %3Cg id='g5283'%3E %3Cpath id='path4196' inkscape:connector-curvature='0' sodipodi:nodetypes='cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc' class='st1' d=' M250.2,378.7l-0.2,2l-0.3,0.9c-0.1,0.4-0.2,0.7-0.4,1c-0.2,0.2-0.5,0.5-0.7,0.7l-1.2,0.9l-1,0.6l-0.7,0.4l-1.5,0l-0.8,0 c-0.7,0-1.5,0-2.2,0c-0.8-0.3-1.5-0.9-2.3-1.3l-1.3-1.1l-0.4-0.9l-0.3-1.5l-0.2-2.1l0.2-0.9l0.3-0.5l0.3-0.4l0.4-0.8l0.7-1.6 l0.4-0.5l0.6-0.5l0.7-0.4l0.3-0.3l0.2-0.2l0.1-0.2l0.1-0.4l0.1-0.3l0.4-0.1l0.4,0.1l0.4,0.3l0.4,0.1l0.4-0.1l0.3,0 c0.1,0,0.1,0,0.1,0.1l0.1,0l0.1,0l0-0.1l0.1,0l0.1-0.1l0.2,0l0.3,0l0.2,0l0.2,0l0.2,0l0.2-0.1l0.3-0.2l0.1,0l0.1-0.1l0.2-0.1 l0.2,0l0.2,0.1l0.1,0.2l0.1,0.4l0.1,0.1l0.3,0.3l0.6,0.3l0.4,0.2l0.4,0.3l0.2,0.2l0.3,0.5l0.1,0.2l0.2,0.5l0.3,0.7l0.1,0.3 l0.3,0.7l0.4,0.5l0.3,0.5l0.1,0.1l0.1,0.3L250.2,378.7z'/%3E %3Cg id='g4106' transform='translate(178.21525,347.36256)'%3E %3Cpath id='path4198' inkscape:connector-curvature='0' sodipodi:nodetypes='ccccccccccccccccccccccccccccccccccccccccccccccccccccc' class='st1' d=' M58.5,29.3l0.3-0.4h0l0.1-0.2l0.3-0.9l0.3-0.8l-1.5-1.1l0.3-0.4l0.2-0.6l0-1l-0.2-1l0.7-0.4l1-0.8l1.1-1.2l0.6-1.2l0.2-1.2 c0-0.3,0-0.5-0.1-1l-0.1-0.5l-0.3,0.6L61,17.9l-0.6,0.7l-0.5,0.6l-0.6,0.5l-0.6,0.4l-0.4,0.2l0-0.9l0.3-1.8l0.6-1.4l0.5-1.3 L59,15.5L58.1,16l-0.5,0.3L57,17l-0.5,0.7l-0.5,0.7l-0.5,1.1L55,20.9l-0.1,1l0,0.8l0.1,1.1l0.2,0.7l0.2,0.7l0.3,0.4l0.3,0.3 l0.3,0.2l0.3,0.5l0.2,0.4l0.4,0.8l0.5,0.6l0.3,0.4l0.3,0.3l0.2,0.2C58.5,29.2,58.4,29.2,58.5,29.3L58.5,29.3z'/%3E %3Cpath id='path4200' inkscape:connector-curvature='0' class='st1' d='M58.5,29.4l-0.7-0.2L57.2,29l-0.6-0.1l-0.3-0.1l-0.3,0 l-0.2,0l-0.1,0.1l-0.1,0.1L55.5,29l-0.1,0.1l-0.1,0.1l0,0.1l0,0.2l0.1,0.2l0.2,0.2l0.2,0.2l0.3,0.2l0.4,0.2l0.3,0.2l0.3,0.2 l0.7,0.3l-0.7,0.1l-0.7,0.1l-0.6,0.1l-0.4,0.1l-0.2,0.1l-0.2,0.2L55,32L55,32.2l0,0.2l0.1,0.2l0.2,0.1l0.3,0.1L56,33l0.3,0 l0.4,0l0.5,0l0.4,0l0.4,0l0.1,0L57.9,33l-0.3,0.1l-0.5,0.2l-0.5,0.3l-0.2,0.2l-0.2,0.2l-0.3,0.3l-0.2,0.3l-0.1,0.2l0,0.3 l0.1,0.2l0.1,0.2l0.1,0.1l0.2,0.1l0.2,0l0.2,0l0.3-0.1l0.2-0.1l0.3-0.2l0.3-0.2l0.2-0.1l0.3-0.1l0.4-0.1l0.3-0.1l0.1,0 l-0.2,0.1L58.3,35L58,35.3l-0.1,0.2l-0.2,0.3l-0.2,0.3l-0.1,0.3l0,0.2l0,0.2l0.1,0.2l0.2,0.2l0.1,0.1l0.1,0l0.1,0.1l0.2,0 l0.2-0.1l0.2-0.1l0.3-0.3l0.2-0.2l0.5-0.3l0.3-0.1l0.1,0L59.8,36l-0.3-0.2l-0.2-0.2l-0.2-0.3L59,35.1l-0.3-0.7L58.6,34 l-0.2-0.8l0-0.3l-0.2-1.2l0-0.6l0-0.8l0-0.2l0,0l0-0.1l0-0.2l0.1-0.3L58.5,29.4L58.5,29.4z'/%3E %3Cpath id='path4202' inkscape:connector-curvature='0' sodipodi:nodetypes='ccccccccccccccccccccccccccccccccc' class='st1' d=' M53.7,27.6l0.1,0.2l0.2,0.3l0.2,0.3l0.2,0.2l0.2,0.2l0.1,0.1l0.1,0.1l0.1,0.1l0.1,0l0.2,0l0.2-0.1l0.2-0.2l0.1-0.2l0-0.2 L55.4,28l-0.2-0.2l-0.3-0.4l-0.4-0.5l-0.2-0.4l-0.1-0.2L54,26.2l-0.1-0.1l-0.2,0l-0.2,0.1l-0.1,0.1l0,0.2l0,0.2l0.1,0.2 l0.1,0.3l0.1,0.2l0.1,0.1L53.7,27.6z'/%3E %3Cpath id='path4204' inkscape:connector-curvature='0' class='st1' d='M53,23.9l0,0.2l0,0.2l0,0.3l0,0.3l0,0.2l0,0.3l0,0.2 l0,0.1l0.1,0.1l0.1,0.1l0.1,0l0.1,0l0.1,0l0.1,0l0.1-0.1l0-0.1l0-0.1l0-0.1l0-0.1l0,0l-0.1-0.2l-0.1-0.4l-0.1-0.2l0-0.1 l-0.1-0.3l-0.1-0.3l-0.1-0.2l0-0.1l0,0l-0.1,0.1l0,0.1L53,23.9L53,23.9z'/%3E %3Cpath id='path4206' inkscape:connector-curvature='0' class='st1' d='M51.6,27.5L51.6,27.5l-0.1,0.2l0,0.2l0,0.2l0,0.3l0,0.2 l0,0.2l0,0.2l0.1,0.2l0.1,0.2l0.1,0.1l0,0.1l0.1,0.1l0.1,0.1l0.1,0l0.1,0l0,0l0.1-0.1l0.1-0.1l0-0.1l0-0.1l0-0.2l-0.1-0.1 l-0.2-0.4L52,28.4l-0.1-0.5l-0.1-0.3L51.6,27.5L51.6,27.5L51.6,27.5z'/%3E %3Cpath id='path4208' inkscape:connector-curvature='0' sodipodi:nodetypes='cccccccccccccccccccccccccccccccccccc' class='st2' d=' M53,31.4l-0.2-0.2l-0.2-0.1l-0.2-0.2l-0.1-0.1l-0.1-0.2l-0.1-0.2l0-0.1l0-0.2l0.1-0.1l0.1-0.1c0.1-0.1,0.1-0.1,0.2-0.1l0.2,0.1 l0.3,0.3l0.3,0.2l0.4,0.2l0.5,0.3l0.3,0.2l0.1,0l0.1,0.1l0.1,0.1l0,0.1l0,0.1l0,0.1l-0.1,0.1l-0.1,0.1L54.7,32L54.6,32l-0.1,0 l-0.2,0l-0.1,0l-0.3-0.1l-0.3-0.2l-0.3-0.2l-0.2-0.1L53,31.4z'/%3E %3Cpath id='path3330' inkscape:connector-curvature='0' sodipodi:nodetypes='cccccccccccccccc' class='st1' d='M55.5,37.4 l0.3-0.7c0.1-0.1,0.1-0.1,0.1-0.4c-0.1-0.2-0.1-0.2-0.1-0.3c-0.1-0.2-0.2-0.2-0.3-0.2c-0.2-0.1-0.3,0-0.4,0 c-0.2,0.1-0.3,0.2-0.4,0.3l-0.4,1l-0.1,0.6l-0.1,0.7l0.1,0.4l0.3,0.2l0.3-0.1l0.1-0.2l0.3-0.8L55.5,37.4z'/%3E %3Cpath id='path4100' inkscape:connector-curvature='0' sodipodi:nodetypes='ccccccccccccccccccccccccccc' class='st1' d=' M54.5,39.4l0.1-0.1l0.1,0l0.1,0l0.2,0l0.1,0.1l0.1,0.1l0,0.1l0.1,0.2l0,0.2l0.1,0.3l0.1,0.3l0.1,0.3l0.1,0.3l0.1,0.2l0.1,0.1 v0.1l-0.1,0l-0.2-0.1l-0.2-0.1L55.2,41L55,40.7l-0.3-0.4l-0.1-0.2l-0.1-0.3l0-0.2L54.5,39.4z'/%3E %3Cpath id='path4102' inkscape:connector-curvature='0' sodipodi:nodetypes='ccccccccccccccccccccccccccccc' class='st1' d=' M59.1,40.3L59.1,40.3l0.2-0.1l0.1-0.1l0.2,0l0.3,0.1l0.3,0.1l0.2,0.1l0.3,0.1l0.2,0l0.3,0.1l0.2,0.1l0.1,0.1l0,0.1l-0.1,0 l-0.1,0l-0.1,0l-0.2,0l-0.2,0l-0.2,0h-0.3l-0.2,0l-0.3,0l-0.2,0l-0.3-0.1l-0.2-0.1l-0.1-0.1L59.1,40.3L59.1,40.3z'/%3E %3Cpath id='path4104' inkscape:connector-curvature='0' class='st1' d='M58.2,38.8l0-0.2l0-0.2v-0.1l0-0.1v-0.1l0-0.1l0-0.1 l-0.1-0.2L58,37.6l-0.2-0.1l-0.1-0.1h-0.1l-0.1,0l-0.1,0.1l-0.2,0.1l-0.1,0.2l0,0.1l0,0.2l0,0.3l0,0.3l0,0.3l0.1,0.3l0.1,0.3 l0.2,0.2l0.2,0.3l0.3,0.1l0.2,0.1l0.2,0.1l0.2,0l0.1,0l0.1-0.1l0.1-0.1l0-0.1l0-0.2l-0.1-0.2l-0.2-0.3l-0.2-0.2l-0.1-0.2 l-0.1-0.1L58.2,38.8z'/%3E %3C/g%3E %3Cg id='g4106-5' transform='matrix(-1,0,0,1,308.89974,347.52368)'%3E %3Cpath id='path4198-9' inkscape:connector-curvature='0' sodipodi:nodetypes='ccccccccccccccccccccccccccccccccccccccccccccccccccccc' class='st1' d=' M58.5,29.3l0.3-0.4h0l0.1-0.2l0.3-0.9l0.3-0.8l-1.5-1.1l0.3-0.4l0.2-0.6l0-1l-0.2-1l0.7-0.4l1-0.8l1.1-1.2l0.6-1.2l0.2-1.2 c0-0.3,0-0.5-0.1-1l-0.1-0.5l-0.3,0.6L61,17.9l-0.6,0.7l-0.5,0.6l-0.6,0.5l-0.6,0.4l-0.4,0.2l0-0.9l0.3-1.8l0.6-1.4l0.5-1.3 L59,15.5L58.1,16l-0.5,0.3L57,17l-0.5,0.7l-0.5,0.7l-0.5,1.1L55,20.9l-0.1,1l0,0.8l0.1,1.1l0.2,0.7l0.2,0.7l0.3,0.4l0.3,0.3 l0.3,0.2l0.3,0.5l0.2,0.4l0.4,0.8l0.5,0.6l0.3,0.4l0.3,0.3l0.2,0.2C58.5,29.2,58.4,29.2,58.5,29.3L58.5,29.3z'/%3E %3Cpath id='path4200-7' inkscape:connector-curvature='0' class='st1' d='M58.5,29.4l-0.7-0.2L57.2,29l-0.6-0.1l-0.3-0.1l-0.3,0 l-0.2,0l-0.1,0.1l-0.1,0.1L55.5,29l-0.1,0.1l-0.1,0.1l0,0.1l0,0.2l0.1,0.2l0.2,0.2l0.2,0.2l0.3,0.2l0.4,0.2l0.3,0.2l0.3,0.2 l0.7,0.3l-0.7,0.1l-0.7,0.1l-0.6,0.1l-0.4,0.1l-0.2,0.1l-0.2,0.2L55,32L55,32.2l0,0.2l0.1,0.2l0.2,0.1l0.3,0.1L56,33l0.3,0 l0.4,0l0.5,0l0.4,0l0.4,0l0.1,0L57.9,33l-0.3,0.1l-0.5,0.2l-0.5,0.3l-0.2,0.2l-0.2,0.2l-0.3,0.3l-0.2,0.3l-0.1,0.2l0,0.3 l0.1,0.2l0.1,0.2l0.1,0.1l0.2,0.1l0.2,0l0.2,0l0.3-0.1l0.2-0.1l0.3-0.2l0.3-0.2l0.2-0.1l0.3-0.1l0.4-0.1l0.3-0.1l0.1,0 l-0.2,0.1L58.3,35L58,35.3l-0.1,0.2l-0.2,0.3l-0.2,0.3l-0.1,0.3l0,0.2l0,0.2l0.1,0.2l0.2,0.2l0.1,0.1l0.1,0l0.1,0.1l0.2,0 l0.2-0.1l0.2-0.1l0.3-0.3l0.2-0.2l0.5-0.3l0.3-0.1l0.1,0L59.8,36l-0.3-0.2l-0.2-0.2l-0.2-0.3L59,35.1l-0.3-0.7L58.6,34 l-0.2-0.8l0-0.3l-0.2-1.2l0-0.6l0-0.8l0-0.2l0,0l0-0.1l0-0.2l0.1-0.3L58.5,29.4L58.5,29.4z'/%3E %3Cpath id='path4202-7' inkscape:connector-curvature='0' sodipodi:nodetypes='ccccccccccccccccccccccccccccccccc' class='st1' d=' M53.7,27.6l0.1,0.2l0.2,0.3l0.2,0.3l0.2,0.2l0.2,0.2l0.1,0.1l0.1,0.1l0.1,0.1l0.1,0l0.2,0l0.2-0.1l0.2-0.2l0.1-0.2l0-0.2 L55.4,28l-0.2-0.2l-0.3-0.4l-0.4-0.5l-0.2-0.4l-0.1-0.2L54,26.2l-0.1-0.1l-0.2,0l-0.2,0.1l-0.1,0.1l0,0.2l0,0.2l0.1,0.2 l0.1,0.3l0.1,0.2l0.1,0.1L53.7,27.6z'/%3E %3Cpath id='path4204-7' inkscape:connector-curvature='0' class='st1' d='M53,23.9l0,0.2l0,0.2l0,0.3l0,0.3l0,0.2l0,0.3l0,0.2 l0,0.1l0.1,0.1l0.1,0.1l0.1,0l0.1,0l0.1,0l0.1,0l0.1-0.1l0-0.1l0-0.1l0-0.1l0-0.1l0,0l-0.1-0.2l-0.1-0.4l-0.1-0.2l0-0.1 l-0.1-0.3l-0.1-0.3l-0.1-0.2l0-0.1l0,0l-0.1,0.1l0,0.1L53,23.9L53,23.9z'/%3E %3Cpath id='path4206-9' inkscape:connector-curvature='0' class='st1' d='M51.6,27.5L51.6,27.5l-0.1,0.2l0,0.2l0,0.2l0,0.3l0,0.2 l0,0.2l0,0.2l0.1,0.2l0.1,0.2l0.1,0.1l0,0.1l0.1,0.1l0.1,0.1l0.1,0l0.1,0l0,0l0.1-0.1l0.1-0.1l0-0.1l0-0.1l0-0.2l-0.1-0.1 l-0.2-0.4L52,28.4l-0.1-0.5l-0.1-0.3L51.6,27.5L51.6,27.5L51.6,27.5z'/%3E %3Cpath id='path4208-4' inkscape:connector-curvature='0' sodipodi:nodetypes='cccccccccccccccccccccccccccccccccccc' class='st2' d=' M53,31.4l-0.2-0.2l-0.2-0.1l-0.2-0.2l-0.1-0.1l-0.1-0.2l-0.1-0.2l0-0.1l0-0.2l0.1-0.1l0.1-0.1c0.1-0.1,0.1-0.1,0.2-0.1l0.2,0.1 l0.3,0.3l0.3,0.2l0.4,0.2l0.5,0.3l0.3,0.2l0.1,0l0.1,0.1l0.1,0.1l0,0.1l0,0.1l0,0.1l-0.1,0.1l-0.1,0.1L54.7,32L54.6,32l-0.1,0 l-0.2,0l-0.1,0l-0.3-0.1l-0.3-0.2l-0.3-0.2l-0.2-0.1L53,31.4z'/%3E %3Cpath id='path3330-2' inkscape:connector-curvature='0' sodipodi:nodetypes='cccccccccccccccc' class='st1' d='M55.5,37.4 l0.3-0.7c0.1-0.1,0.1-0.1,0.1-0.4c-0.1-0.2-0.1-0.2-0.1-0.3c-0.1-0.2-0.2-0.2-0.3-0.2c-0.2-0.1-0.3,0-0.4,0 c-0.2,0.1-0.3,0.2-0.4,0.3l-0.4,1l-0.1,0.6l-0.1,0.7l0.1,0.4l0.3,0.2l0.3-0.1l0.1-0.2l0.3-0.8L55.5,37.4z'/%3E %3Cpath id='path4100-2' inkscape:connector-curvature='0' sodipodi:nodetypes='ccccccccccccccccccccccccccc' class='st1' d=' M54.5,39.4l0.1-0.1l0.1,0l0.1,0l0.2,0l0.1,0.1l0.1,0.1l0,0.1l0.1,0.2l0,0.2l0.1,0.3l0.1,0.3l0.1,0.3l0.1,0.3l0.1,0.2l0.1,0.1 v0.1l-0.1,0l-0.2-0.1l-0.2-0.1L55.2,41L55,40.7l-0.3-0.4l-0.1-0.2l-0.1-0.3l0-0.2L54.5,39.4z'/%3E %3Cpath id='path4102-2' inkscape:connector-curvature='0' sodipodi:nodetypes='ccccccccccccccccccccccccccccc' class='st1' d=' M59.1,40.3L59.1,40.3l0.2-0.1l0.1-0.1l0.2,0l0.3,0.1l0.3,0.1l0.2,0.1l0.3,0.1l0.2,0l0.3,0.1l0.2,0.1l0.1,0.1l0,0.1l-0.1,0 l-0.1,0l-0.1,0l-0.2,0l-0.2,0l-0.2,0h-0.3l-0.2,0l-0.3,0l-0.2,0l-0.3-0.1l-0.2-0.1l-0.1-0.1L59.1,40.3L59.1,40.3z'/%3E %3Cpath id='path4104-2' inkscape:connector-curvature='0' class='st1' d='M58.2,38.8l0-0.2l0-0.2v-0.1l0-0.1v-0.1l0-0.1l0-0.1 l-0.1-0.2L58,37.6l-0.2-0.1l-0.1-0.1h-0.1l-0.1,0l-0.1,0.1l-0.2,0.1l-0.1,0.2l0,0.1l0,0.2l0,0.3l0,0.3l0,0.3l0.1,0.3l0.1,0.3 l0.2,0.2l0.2,0.3l0.3,0.1l0.2,0.1l0.2,0.1l0.2,0l0.1,0l0.1-0.1l0.1-0.1l0-0.1l0-0.2l-0.1-0.2l-0.2-0.3l-0.2-0.2l-0.1-0.2 l-0.1-0.1L58.2,38.8z'/%3E %3C/g%3E %3C/g%3E %3C/g%3E %3C/g%3E %3C/g%3E %3C/svg%3E"},"11a98db3c51babc3db90":function(e,t,l){var n=l("26c39cb762137d8c05c9");e.exports=function(e,t,l){if(n(e),void 0===t)return e;switch(l){case 1:return function(l){return e.call(t,l)};case 2:return function(l,n){return e.call(t,l,n)};case 3:return function(l,n,r){return e.call(t,l,n,r)}}return function(){return e.apply(t,arguments)}}},"11abfd16c046ca2e4177":function(e,t,l){"use strict";t.__esModule=!0,t.default=void 0;i(l("eceb6721e8f5f2e84237"));var n=i(l("442a938a1deb7b295738")),r=i(l("fd23ab03a1691ca81318")),a=i(l("8af190b70a6bc55c6f1b")),o=i(l("5f91333870c355d2b6da"));l("e004da710c9e11bf4181");function i(e){return e&&e.__esModule?e:{default:e}}function s(){return(s=Object.assign||function(e){for(var t=1;t=0||(r[l]=e[l]);return r}(e,["classNames"]));return a.default.createElement(o.default,s({},t,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},r}(a.default.Component);u.defaultProps={classNames:""},u.propTypes={};var d=u;t.default=d,e.exports=t.default},"11c375811d2cabbba50b":function(e,t,l){"use strict";var n=l("83406643bfb209d249f4"),r={};function a(e,t,l,n,r,a,o,i){if(!e){var s;if(void 0===t)s=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[l,n,r,a,o,i],u=0;(s=new Error(t.replace(/%s/g,(function(){return c[u++]})))).name="Invariant Violation"}throw s.framesToPop=1,s}}e.exports=function(e,t,l){var o=[],i={mixins:"DEFINE_MANY",statics:"DEFINE_MANY",propTypes:"DEFINE_MANY",contextTypes:"DEFINE_MANY",childContextTypes:"DEFINE_MANY",getDefaultProps:"DEFINE_MANY_MERGED",getInitialState:"DEFINE_MANY_MERGED",getChildContext:"DEFINE_MANY_MERGED",render:"DEFINE_ONCE",componentWillMount:"DEFINE_MANY",componentDidMount:"DEFINE_MANY",componentWillReceiveProps:"DEFINE_MANY",shouldComponentUpdate:"DEFINE_ONCE",componentWillUpdate:"DEFINE_MANY",componentDidUpdate:"DEFINE_MANY",componentWillUnmount:"DEFINE_MANY",UNSAFE_componentWillMount:"DEFINE_MANY",UNSAFE_componentWillReceiveProps:"DEFINE_MANY",UNSAFE_componentWillUpdate:"DEFINE_MANY",updateComponent:"OVERRIDE_BASE"},s={getDerivedStateFromProps:"DEFINE_MANY_MERGED"},c={displayName:function(e,t){e.displayName=t},mixins:function(e,t){if(t)for(var l=0;lspan{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"}},"124f44d56065859d227c":function(e,t,l){"use strict";t.__esModule=!0,t.default=function(){var e=(0,n.useRef)(!0),t=(0,n.useRef)((function(){return e.current}));return(0,n.useEffect)((function(){return function(){e.current=!1}}),[]),t.current};var n=l("8af190b70a6bc55c6f1b")},"12a89895698111384243":function(e,t,l){var n=l("5345b902baf800f1ecc3");"string"===typeof n&&(n=[[e.i,n,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};l("1e4534d1d62a11482e97")(n,r);n.locals&&(e.exports=n.locals)},"12ba4fef039ee145f0aa":function(e,t,l){"use strict";e.exports=l("d8280c05257ef9350d6e")},"134c7b94417fd09c6163":function(e,t,l){var n=l("0dd5c6afeb5423285b0e"),r=l("14163c8a75271b496bd5"),a=l("ee5b68c26f3207524545"),o=l("42bf560546df394379e1"),i=l("e91d7740780a9b1194f0")("engine.io-client:polling-xhr"),s=l("92ff0e14e095cc72ae83");function c(){}function u(e){if(r.call(this,e),this.requestTimeout=e.requestTimeout,this.extraHeaders=e.extraHeaders,"undefined"!==typeof location){var t="https:"===location.protocol,l=location.port;l||(l=t?443:80),this.xd="undefined"!==typeof location&&e.hostname!==location.hostname||l!==e.port,this.xs=e.secure!==t}}function d(e){this.method=e.method||"GET",this.uri=e.uri,this.xd=!!e.xd,this.xs=!!e.xs,this.async=!1!==e.async,this.data=void 0!==e.data?e.data:null,this.agent=e.agent,this.isBinary=e.isBinary,this.supportsBinary=e.supportsBinary,this.enablesXDR=e.enablesXDR,this.withCredentials=e.withCredentials,this.requestTimeout=e.requestTimeout,this.pfx=e.pfx,this.key=e.key,this.passphrase=e.passphrase,this.cert=e.cert,this.ca=e.ca,this.ciphers=e.ciphers,this.rejectUnauthorized=e.rejectUnauthorized,this.extraHeaders=e.extraHeaders,this.create()}if(e.exports=u,e.exports.Request=d,o(u,r),u.prototype.supportsBinary=!0,u.prototype.request=function(e){return(e=e||{}).uri=this.uri(),e.xd=this.xd,e.xs=this.xs,e.agent=this.agent||!1,e.supportsBinary=this.supportsBinary,e.enablesXDR=this.enablesXDR,e.withCredentials=this.withCredentials,e.pfx=this.pfx,e.key=this.key,e.passphrase=this.passphrase,e.cert=this.cert,e.ca=this.ca,e.ciphers=this.ciphers,e.rejectUnauthorized=this.rejectUnauthorized,e.requestTimeout=this.requestTimeout,e.extraHeaders=this.extraHeaders,new d(e)},u.prototype.doWrite=function(e,t){var l="string"!==typeof e&&void 0!==e,n=this.request({method:"POST",data:e,isBinary:l}),r=this;n.on("success",t),n.on("error",(function(e){r.onError("xhr post error",e)})),this.sendXhr=n},u.prototype.doPoll=function(){i("xhr poll");var e=this.request(),t=this;e.on("data",(function(e){t.onData(e)})),e.on("error",(function(e){t.onError("xhr poll error",e)})),this.pollXhr=e},a(d.prototype),d.prototype.create=function(){var e={agent:this.agent,xdomain:this.xd,xscheme:this.xs,enablesXDR:this.enablesXDR};e.pfx=this.pfx,e.key=this.key,e.passphrase=this.passphrase,e.cert=this.cert,e.ca=this.ca,e.ciphers=this.ciphers,e.rejectUnauthorized=this.rejectUnauthorized;var t=this.xhr=new n(e),l=this;try{i("xhr open %s: %s",this.method,this.uri),t.open(this.method,this.uri,this.async);try{if(this.extraHeaders)for(var r in t.setDisableHeaderCheck&&t.setDisableHeaderCheck(!0),this.extraHeaders)this.extraHeaders.hasOwnProperty(r)&&t.setRequestHeader(r,this.extraHeaders[r])}catch(e){}if("POST"===this.method)try{this.isBinary?t.setRequestHeader("Content-type","application/octet-stream"):t.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch(e){}try{t.setRequestHeader("Accept","*/*")}catch(e){}"withCredentials"in t&&(t.withCredentials=this.withCredentials),this.requestTimeout&&(t.timeout=this.requestTimeout),this.hasXDR()?(t.onload=function(){l.onLoad()},t.onerror=function(){l.onError(t.responseText)}):t.onreadystatechange=function(){if(2===t.readyState)try{var e=t.getResponseHeader("Content-Type");(l.supportsBinary&&"application/octet-stream"===e||"application/octet-stream; charset=UTF-8"===e)&&(t.responseType="arraybuffer")}catch(e){}4===t.readyState&&(200===t.status||1223===t.status?l.onLoad():setTimeout((function(){l.onError("number"===typeof t.status?t.status:0)}),0))},i("xhr data %s",this.data),t.send(this.data)}catch(e){return void setTimeout((function(){l.onError(e)}),0)}"undefined"!==typeof document&&(this.index=d.requestsCount++,d.requests[this.index]=this)},d.prototype.onSuccess=function(){this.emit("success"),this.cleanup()},d.prototype.onData=function(e){this.emit("data",e),this.onSuccess()},d.prototype.onError=function(e){this.emit("error",e),this.cleanup(!0)},d.prototype.cleanup=function(e){if("undefined"!==typeof this.xhr&&null!==this.xhr){if(this.hasXDR()?this.xhr.onload=this.xhr.onerror=c:this.xhr.onreadystatechange=c,e)try{this.xhr.abort()}catch(e){}"undefined"!==typeof document&&delete d.requests[this.index],this.xhr=null}},d.prototype.onLoad=function(){var e;try{var t;try{t=this.xhr.getResponseHeader("Content-Type")}catch(e){}e=("application/octet-stream"===t||"application/octet-stream; charset=UTF-8"===t)&&this.xhr.response||this.xhr.responseText}catch(e){this.onError(e)}null!=e&&this.onData(e)},d.prototype.hasXDR=function(){return"undefined"!==typeof XDomainRequest&&!this.xs&&this.enablesXDR},d.prototype.abort=function(){this.cleanup()},d.requestsCount=0,d.requests={},"undefined"!==typeof document)if("function"===typeof attachEvent)attachEvent("onunload",f);else if("function"===typeof addEventListener){addEventListener("onpagehide"in s?"pagehide":"unload",f,!1)}function f(){for(var e in d.requests)d.requests.hasOwnProperty(e)&&d.requests[e].abort()}},"138fb2a9a7cb34ee0bae":function(e,t,l){"use strict";function n(e){return e&&"object"==typeof e&&"default"in e?e.default:e}Object.defineProperty(t,"__esModule",{value:!0});var r=l("999b8422c18ed8d20c8d"),a=n(l("8af190b70a6bc55c6f1b")),o=l("12ba4fef039ee145f0aa");l("93a3863410c4fe4141fc"),l("de2cf1827168a807d23d");var i=n(l("bcc48bccf3d2407d611c"));function s(){return(s=Object.assign||function(e){for(var t=1;to)return e;return f},t.findNextRangeIndex=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1,l=e.findIndex((function(e,l){return l>t&&!1!==e.autoFocus&&!e.disabled}));return-1!==l?l:e.findIndex((function(e){return!1!==e.autoFocus&&!e.disabled}))},t.getMonthDisplayRange=function(e,t,l){var n=(0,u.default)(e,t),a=(0,c.default)(e,t),d=(0,s.default)(n,t),f=(0,i.default)(a,t);l&&(0,o.default)(f,d)<=34&&(f=(0,r.default)(f,7));return{start:d,end:f,startDateOfMonth:n,endDateOfMonth:a}},t.generateStyles=function(e){return e.length?e.filter((function(e){return Boolean(e)})).reduce((function(e,t){return Object.keys(t).forEach((function(l){e[l]=(0,n.default)(e[l],t[l])})),e}),{}):{}};var n=d(l("b912ecc4473ae8a2ff0b")),r=d(l("9de5dd223b8226f1c87e")),a=d(l("ab7ef49ce316cf04ab2d")),o=d(l("539995344e27d3fecf4e")),i=d(l("633c5e86e878ea3e6220")),s=d(l("e32bb17020e5847d985b")),c=d(l("8e55cc070aae49a69fe9")),u=d(l("0906dffb33e3ccf67736"));function d(e){return e&&e.__esModule?e:{default:e}}},"14ad46f36176c022aa5d":function(e,t,l){"use strict";t.__esModule=!0,t.default=t.EXITING=t.ENTERED=t.ENTERING=t.EXITED=t.UNMOUNTED=void 0;var n=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var l in e)if(Object.prototype.hasOwnProperty.call(e,l)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,l):{};n.get||n.set?Object.defineProperty(t,l,n):t[l]=e[l]}return t.default=e,t}(l("a612258e94a9cc364367")),r=i(l("8af190b70a6bc55c6f1b")),a=i(l("63f14ac74ce296f77f4d")),o=l("aa5f5aa112e9aad64e6a");l("990ff7a574b13f6b5b14");function i(e){return e&&e.__esModule?e:{default:e}}t.UNMOUNTED="unmounted";t.EXITED="exited";t.ENTERING="entering";t.ENTERED="entered";t.EXITING="exiting";var s=function(e){var t,l;function n(t,l){var n;n=e.call(this,t,l)||this;var r,a=l.transitionGroup,o=a&&!a.isMounting?t.enter:t.appear;return n.appearStatus=null,t.in?o?(r="exited",n.appearStatus="entering"):r="entered":r=t.unmountOnExit||t.mountOnEnter?"unmounted":"exited",n.state={status:r},n.nextCallback=null,n}l=e,(t=n).prototype=Object.create(l.prototype),t.prototype.constructor=t,t.__proto__=l;var o=n.prototype;return o.getChildContext=function(){return{transitionGroup:null}},n.getDerivedStateFromProps=function(e,t){return e.in&&"unmounted"===t.status?{status:"exited"}:null},o.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},o.componentDidUpdate=function(e){var t=null;if(e!==this.props){var l=this.state.status;this.props.in?"entering"!==l&&"entered"!==l&&(t="entering"):"entering"!==l&&"entered"!==l||(t="exiting")}this.updateStatus(!1,t)},o.componentWillUnmount=function(){this.cancelNextCallback()},o.getTimeouts=function(){var e,t,l,n=this.props.timeout;return e=t=l=n,null!=n&&"number"!==typeof n&&(e=n.exit,t=n.enter,l=void 0!==n.appear?n.appear:t),{exit:e,enter:t,appear:l}},o.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t){this.cancelNextCallback();var l=a.default.findDOMNode(this);"entering"===t?this.performEnter(l,e):this.performExit(l)}else this.props.unmountOnExit&&"exited"===this.state.status&&this.setState({status:"unmounted"})},o.performEnter=function(e,t){var l=this,n=this.props.enter,r=this.context.transitionGroup?this.context.transitionGroup.isMounting:t,a=this.getTimeouts(),o=r?a.appear:a.enter;t||n?(this.props.onEnter(e,r),this.safeSetState({status:"entering"},(function(){l.props.onEntering(e,r),l.onTransitionEnd(e,o,(function(){l.safeSetState({status:"entered"},(function(){l.props.onEntered(e,r)}))}))}))):this.safeSetState({status:"entered"},(function(){l.props.onEntered(e)}))},o.performExit=function(e){var t=this,l=this.props.exit,n=this.getTimeouts();l?(this.props.onExit(e),this.safeSetState({status:"exiting"},(function(){t.props.onExiting(e),t.onTransitionEnd(e,n.exit,(function(){t.safeSetState({status:"exited"},(function(){t.props.onExited(e)}))}))}))):this.safeSetState({status:"exited"},(function(){t.props.onExited(e)}))},o.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},o.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},o.setNextCallback=function(e){var t=this,l=!0;return this.nextCallback=function(n){l&&(l=!1,t.nextCallback=null,e(n))},this.nextCallback.cancel=function(){l=!1},this.nextCallback},o.onTransitionEnd=function(e,t,l){this.setNextCallback(l);var n=null==t&&!this.props.addEndListener;e&&!n?(this.props.addEndListener&&this.props.addEndListener(e,this.nextCallback),null!=t&&setTimeout(this.nextCallback,t)):setTimeout(this.nextCallback,0)},o.render=function(){var e=this.state.status;if("unmounted"===e)return null;var t=this.props,l=t.children,n=function(e,t){if(null==e)return{};var l,n,r={},a=Object.keys(e);for(n=0;n=0||(r[l]=e[l]);return r}(t,["children"]);if(delete n.in,delete n.mountOnEnter,delete n.unmountOnExit,delete n.appear,delete n.enter,delete n.exit,delete n.timeout,delete n.addEndListener,delete n.onEnter,delete n.onEntering,delete n.onEntered,delete n.onExit,delete n.onExiting,delete n.onExited,"function"===typeof l)return l(e,n);var a=r.default.Children.only(l);return r.default.cloneElement(a,n)},n}(r.default.Component);function c(){}s.contextTypes={transitionGroup:n.object},s.childContextTypes={transitionGroup:function(){}},s.propTypes={},s.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:c,onEntering:c,onEntered:c,onExit:c,onExiting:c,onExited:c},s.UNMOUNTED=0,s.EXITED=1,s.ENTERING=2,s.ENTERED=3,s.EXITING=4;var u=(0,o.polyfill)(s);t.default=u},"1532b24bfb4ac7747105":function(e,t,l){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},"156a58dfce3009a43926":function(e,t,l){"use strict";t.__esModule=!0,t.default=void 0;!function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var l in e)if(Object.prototype.hasOwnProperty.call(e,l)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,l):{};n.get||n.set?Object.defineProperty(t,l,n):t[l]=e[l]}t.default=e}(l("a612258e94a9cc364367"));var n=i(l("d46bca524b3b0ecd3f41")),r=i(l("90076154fd69302cf63a")),a=i(l("8af190b70a6bc55c6f1b")),o=i(l("14ad46f36176c022aa5d"));l("990ff7a574b13f6b5b14");function i(e){return e&&e.__esModule?e:{default:e}}function s(){return(s=Object.assign||function(e){for(var t=1;t0)return function(e){if((e=String(e)).length>100)return;var t=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(e);if(!t)return;var o=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*o;case"days":case"day":case"d":return o*a;case"hours":case"hour":case"hrs":case"hr":case"h":return o*r;case"minutes":case"minute":case"mins":case"min":case"m":return o*n;case"seconds":case"second":case"secs":case"sec":case"s":return o*l;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return o;default:return}}(e);if("number"===s&&!1===isNaN(e))return t.long?o(i=e,a,"day")||o(i,r,"hour")||o(i,n,"minute")||o(i,l,"second")||i+" ms":function(e){if(e>=a)return Math.round(e/a)+"d";if(e>=r)return Math.round(e/r)+"h";if(e>=n)return Math.round(e/n)+"m";if(e>=l)return Math.round(e/l)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},"15f89efdbd87c9225fa8":function(e,t,l){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Workbook=t.Sheet=t.Column=void 0;var n=function(){function e(e,t){for(var l=0;l is not meant to be rendered.")}}]),t}(r.Component);h.propTypes={label:o.default.string.isRequired,value:o.default.oneOfType([o.default.string,o.default.func]).isRequired};var m=t.Sheet=function(e){function t(){return u(this,t),d(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return f(t,e),n(t,[{key:"render",value:function(){throw new Error(" is not meant to be rendered.")}}]),t}(r.Component);m.propTypes={name:o.default.string.isRequired,data:o.default.oneOfType([o.default.array,o.default.func]).isRequired,children:o.default.arrayOf((function(e,t){if(e[t].type!==h)throw new Error(" can only have 's as children. ")})).isRequired};var g=t.Workbook=function(e){function t(e){u(this,t);var l=d(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return l.download=l.download.bind(l),l.createSheetData=l.createSheetData.bind(l),l}return f(t,e),n(t,[{key:"createSheetData",value:function(e){var t=e.props.children,l=[a.default.Children.map(t,(function(e){return e.props.label}))];return("function"===typeof e.props.data?e.props.data():e.props.data).forEach((function(e){var n=[];a.default.Children.forEach(t,(function(t){var l="function"===typeof t.props.value?t.props.value:function(e){return e[t.props.value]};n.push(l(e)||"")})),l.push(n)})),l}},{key:"download",value:function(){var e=this,t={SheetNames:a.default.Children.map(this.props.children,(function(e){return e.props.name})),Sheets:{}};a.default.Children.forEach(this.props.children,(function(l){t.Sheets[l.props.name]=function(e){for(var t,l={},n={s:{c:1e7,r:1e7},e:{c:0,r:0}},r=0;r!=e.length;++r)for(var a=0;a!=e[r].length;++a){n.s.r>r&&(n.s.r=r),n.s.c>a&&(n.s.c=a),n.e.r can only have 's as children. ")}))}},g.Column=h,g.Sheet=m,t.default=g},"16ed5e814ccb32d55f28":function(e,t,l){var n=l("7ae52036d1906f8c617e").default;function r(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,l=new WeakMap;return(r=function(e){return e?l:t})(e)}e.exports=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var l=r(t);if(l&&l.has(e))return l.get(e);var a={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var s=o?Object.getOwnPropertyDescriptor(e,i):null;s&&(s.get||s.set)?Object.defineProperty(a,i,s):a[i]=e[i]}return a.default=e,l&&l.set(e,a),a},e.exports.__esModule=!0,e.exports.default=e.exports},"173a3ffe71b6012000f5":function(e,t,l){"use strict";var n=l("8e6d34d5e2b1c9c449c0");t.__esModule=!0,t.default=void 0;var r=n(l("55e81e4240ff2893750e")),a=n(l("2c8c73bb71efe74da7af")),o=l("8af190b70a6bc55c6f1b"),i=n(l("976c83b14986293285d6")),s=n(l("49a47d064cfbf2949ee5")),c=n(l("45ef179a7cd2d025d070")),u=function(){};var d=function(e){return e&&("current"in e?e.current:e)};var f=function(e,t,l){var n=void 0===l?{}:l,f=n.disabled,p=n.clickTrigger,h=void 0===p?"click":p,m=(0,o.useRef)(!1),g=t||u,b=(0,o.useCallback)((function(t){var l,n=d(e);(0,s.default)(!!n,"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=!n||!!((l=t).metaKey||l.altKey||l.ctrlKey||l.shiftKey)||!function(e){return 0===e.button}(t)||!!(0,r.default)(n,t.target)}),[e]),v=(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,l=(0,c.default)(d(e)),n=(0,a.default)(l,h,b,!0),r=(0,a.default)(l,h,(function(e){e!==t?v(e):t=void 0})),o=(0,a.default)(l,"keyup",(function(e){e!==t?y(e):t=void 0})),i=[];return"ontouchstart"in l.documentElement&&(i=[].slice.call(l.body.children).map((function(e){return(0,a.default)(e,"mousemove",u)}))),function(){n(),r(),o(),i.forEach((function(e){return e()}))}}}),[e,f,h,b,v,y])};t.default=f,e.exports=t.default},"1741230fec78853e2c96":function(e,t,l){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GoogleFields=void 0;var n=i(l("8af190b70a6bc55c6f1b")),r=i(l("608c27659c3f9bc71af5")),a=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&(t[l]=e[l]);return t.default=e,t}(l("dd2851c8aa973ffe308b")),o=l("cdbdceb308980cb97c93");function i(e){return e&&e.__esModule?e:{default:e}}var s=t.GoogleFields=function(e){var t=e.onChange,l=e.rgb,i=e.hsl,s=e.hex,c=e.hsv,u=function(e,l){if(e.hex)a.isValidHex(e.hex)&&t({hex:e.hex,source:"hex"},l);else if(e.rgb){var n=e.rgb.split(",");a.isvalidColorString(e.rgb,"rgb")&&t({r:n[0],g:n[1],b:n[2],a:1,source:"rgb"},l)}else if(e.hsv){var r=e.hsv.split(",");a.isvalidColorString(e.hsv,"hsv")&&(r[2]=r[2].replace("%",""),r[1]=r[1].replace("%",""),r[0]=r[0].replace("\xb0",""),1==r[1]?r[1]=.01:1==r[2]&&(r[2]=.01),t({h:Number(r[0]),s:Number(r[1]),v:Number(r[2]),source:"hsv"},l))}else if(e.hsl){var o=e.hsl.split(",");a.isvalidColorString(e.hsl,"hsl")&&(o[2]=o[2].replace("%",""),o[1]=o[1].replace("%",""),o[0]=o[0].replace("\xb0",""),1==h[1]?h[1]=.01:1==h[2]&&(h[2]=.01),t({h:Number(o[0]),s:Number(o[1]),v:Number(o[2]),source:"hsl"},l))}},d=(0,r.default)({default:{wrap:{display:"flex",height:"100px",marginTop:"4px"},fields:{width:"100%"},column:{paddingTop:"10px",display:"flex",justifyContent:"space-between"},double:{padding:"0px 4.4px",boxSizing:"border-box"},input:{width:"100%",height:"38px",boxSizing:"border-box",padding:"4px 10% 3px",textAlign:"center",border:"1px solid #dadce0",fontSize:"11px",textTransform:"lowercase",borderRadius:"5px",outline:"none",fontFamily:"Roboto,Arial,sans-serif"},input2:{height:"38px",width:"100%",border:"1px solid #dadce0",boxSizing:"border-box",fontSize:"11px",textTransform:"lowercase",borderRadius:"5px",outline:"none",paddingLeft:"10px",fontFamily:"Roboto,Arial,sans-serif"},label:{textAlign:"center",fontSize:"12px",background:"#fff",position:"absolute",textTransform:"uppercase",color:"#3c4043",width:"35px",top:"-6px",left:"0",right:"0",marginLeft:"auto",marginRight:"auto",fontFamily:"Roboto,Arial,sans-serif"},label2:{left:"10px",textAlign:"center",fontSize:"12px",background:"#fff",position:"absolute",textTransform:"uppercase",color:"#3c4043",width:"32px",top:"-6px",fontFamily:"Roboto,Arial,sans-serif"},single:{flexGrow:"1",margin:"0px 4.4px"}}}),f=l.r+", "+l.g+", "+l.b,p=Math.round(i.h)+"\xb0, "+Math.round(100*i.s)+"%, "+Math.round(100*i.l)+"%",h=Math.round(c.h)+"\xb0, "+Math.round(100*c.s)+"%, "+Math.round(100*c.v)+"%";return n.default.createElement("div",{style:d.wrap,className:"flexbox-fix"},n.default.createElement("div",{style:d.fields},n.default.createElement("div",{style:d.double},n.default.createElement(o.EditableInput,{style:{input:d.input,label:d.label},label:"hex",value:s,onChange:u})),n.default.createElement("div",{style:d.column},n.default.createElement("div",{style:d.single},n.default.createElement(o.EditableInput,{style:{input:d.input2,label:d.label2},label:"rgb",value:f,onChange:u})),n.default.createElement("div",{style:d.single},n.default.createElement(o.EditableInput,{style:{input:d.input2,label:d.label2},label:"hsv",value:h,onChange:u})),n.default.createElement("div",{style:d.single},n.default.createElement(o.EditableInput,{style:{input:d.input2,label:d.label2},label:"hsl",value:p,onChange:u})))))};t.default=s},"1753bbe43245bae19898":function(e,t,l){"use strict";e.exports=function(e,t,l,n,r){return e.config=t,l&&(e.code=l),e.request=n,e.response=r,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},e}},"177339511e2d5cd40a37":function(e,t,l){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createStaticRanges=y,t.defaultInputRanges=t.defaultStaticRanges=void 0;var n=p(l("539995344e27d3fecf4e")),r=p(l("c3434d69ba3b18f539e4")),a=p(l("633c5e86e878ea3e6220")),o=p(l("e32bb17020e5847d985b")),i=p(l("d51f49b4322e86fe5342")),s=p(l("8e55cc070aae49a69fe9")),c=p(l("0906dffb33e3ccf67736")),u=p(l("fb0b377c37685e96dec6")),d=p(l("8e4bb787bbcd37e3e068")),f=p(l("9de5dd223b8226f1c87e"));function p(e){return e&&e.__esModule?e:{default:e}}function h(e,t){var l=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),l.push.apply(l,n)}return l}function m(e){for(var t=1;t0?v(e.characters,--e.position):0,e.column--,10===e.character&&(e.column=1,e.line--),e.character}function M(){return e.character=e.position2||N(e.character)>3?"":" "}function z(t){for(;M();)switch(N(e.character)){case 0:S(W(e.position-1),t);break;case 2:S(j(e.character),t);break;default:S(d(e.character),t)}return t}function U(t,l){for(;--l&&M()&&!(e.character<48||e.character>102||e.character>57&&e.character<65||e.character>70&&e.character<97););return R(t,D()+(l<6&&32==P()&&32==M()))}function V(t){for(;M();)switch(e.character){case t:return e.position;case 34:case 39:34!==t&&39!==t&&V(e.character);break;case 40:41===t&&V(t);break;case 92:M()}return e.position}function H(t,l){for(;M()&&t+e.character!==57&&(t+e.character!==84||47!==P()););return"/*"+R(l,e.position-1)+"*"+d(47===t?t:M())}function W(t){for(;!N(P());)M();return R(t,e.position)}function Z(e,t,l,n,r,a,o,i,s){for(var c=0,f=0,p=o,h=0,m=0,y=0,x=1,C=1,k=1,_=0,E="",O=r,T=a,R=n,N=E;C;)switch(y=_,_=M()){case 40:if(108!=y&&58==v(N,p-1)){-1!=b(N+=g(j(_),"&","&\f"),"&\f",u(c?i[c-1]:0))&&(k=-1);break}case 34:case 39:case 91:N+=j(_);break;case 9:case 10:case 13:case 32:N+=F(y);break;case 92:N+=U(D()-1,7);continue;case 47:switch(P()){case 42:case 47:S(G(H(M(),D()),t,l,s),s);break;default:N+="/"}break;case 123*x:i[c++]=w(N)*k;case 125*x:case 59:case 0:switch(_){case 0:case 125:C=0;case 59+f:-1==k&&(N=g(N,/\f/g,"")),m>0&&w(N)-p&&S(m>32?q(N+";",n,l,p-1,s):q(g(N," ","")+";",n,l,p-2,s),s);break;case 59:N+=";";default:if(S(R=$(N,t,l,c,f,r,i,E,O=[],T=[],p,a),a),123===_)if(0===f)Z(N,t,R,R,O,a,p,i,T);else switch(99===h&&110===v(N,3)?100:h){case 100:case 108:case 109:case 115:Z(e,R,R,n&&S($(e,R,R,0,0,r,i,E,r,O=[],p,T),T),r,T,p,i,n?O:T);break;default:Z(N,R,R,R,[""],T,0,i,T)}}c=f=m=0,x=k=1,E=N="",p=o;break;case 58:p=1+w(N),m=y;default:if(x<1)if(123==_)--x;else if(125==_&&0==x++&&125==A())continue;switch(N+=d(_),_*x){case 38:k=f>0?1:(N+="\f",-1);break;case 44:i[c++]=(w(N)-1)*k,k=1;break;case 64:45===P()&&(N+=j(M())),h=P(),f=p=w(E=N+=W(D())),_++;break;case 45:45===y&&2==w(N)&&(x=0)}}return a}function $(e,t,l,n,r,o,i,s,c,d,f,p){for(var m=r-1,b=0===r?o:[""],v=x(b),w=0,S=0,C=0;w0?b[k]+" "+E:g(E,/&\f/g,b[k])))&&(c[C++]=O);return _(e,t,l,0===r?a:s,c,d,f,p)}function G(e,t,l,n){return _(e,t,l,r,d(T()),y(e,2,-2),0,n)}function q(e,t,l,n,r){return _(e,t,l,o,y(e,0,n),y(e,n+1,-1),n,r)}function K(e,r,a){switch(p(e,r)){case 5103:return n+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return n+e+e;case 4789:return l+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return n+e+l+e+t+e+e;case 5936:switch(v(e,r+11)){case 114:return n+e+t+g(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return n+e+t+g(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return n+e+t+g(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return n+e+t+e+e;case 6165:return n+e+t+"flex-"+e+e;case 5187:return n+e+g(e,/(\w+).+(:[^]+)/,n+"box-$1$2"+t+"flex-$1$2")+e;case 5443:return n+e+t+"flex-item-"+g(e,/flex-|-self/g,"")+(m(e,/flex-|baseline/)?"":t+"grid-row-"+g(e,/flex-|-self/g,""))+e;case 4675:return n+e+t+"flex-line-pack"+g(e,/align-content|flex-|-self/g,"")+e;case 5548:return n+e+t+g(e,"shrink","negative")+e;case 5292:return n+e+t+g(e,"basis","preferred-size")+e;case 6060:return n+"box-"+g(e,"-grow","")+n+e+t+g(e,"grow","positive")+e;case 4554:return n+g(e,/([^-])(transform)/g,"$1"+n+"$2")+e;case 6187:return g(g(g(e,/(zoom-|grab)/,n+"$1"),/(image-set)/,n+"$1"),e,"")+e;case 5495:case 3959:return g(e,/(image-set\([^]*)/,n+"$1$`$1");case 4968:return g(g(e,/(.+:)(flex-)?(.*)/,n+"box-pack:$3"+t+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+n+e+e;case 4200:if(!m(e,/flex-|baseline/))return t+"grid-column-align"+y(e,r)+e;break;case 2592:case 3360:return t+g(e,"template-","")+e;case 4384:case 3616:return a&&a.some((function(e,t){return r=t,m(e.props,/grid-\w+-end/)}))?~b(e+(a=a[r].value),"span",0)?e:t+g(e,"-start","")+e+t+"grid-row-span:"+(~b(a,"span",0)?m(a,/\d+/):+m(a,/\d+/)-+m(e,/\d+/))+";":t+g(e,"-start","")+e;case 4896:case 4128:return a&&a.some((function(e){return m(e.props,/grid-\w+-start/)}))?e:t+g(g(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return g(e,/(.+)-inline(.+)/,n+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(w(e)-1-r>6)switch(v(e,r+1)){case 109:if(45!==v(e,r+4))break;case 102:return g(e,/(.+:)(.+)-([^]+)/,"$1"+n+"$2-$3$1"+l+(108==v(e,r+3)?"$3":"$2-$3"))+e;case 115:return~b(e,"stretch",0)?K(g(e,"stretch","fill-available"),r,a)+e:e}break;case 5152:case 5920:return g(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,(function(l,n,r,a,o,i,s){return t+n+":"+r+s+(a?t+n+"-span:"+(o?i:+i-+r)+s:"")+e}));case 4949:if(121===v(e,r+6))return g(e,":",":"+n)+e;break;case 6444:switch(v(e,45===v(e,14)?18:11)){case 120:return g(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+n+(45===v(e,14)?"inline-":"")+"box$3$1"+n+"$2$3$1"+t+"$2box$3")+e;case 100:return g(e,":",":"+t)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return g(e,"scroll-","scroll-snap-")+e}return e}function Y(e,t){for(var l="",n=0;n1?"":t;case l=x(n)-1:case 2:return 2===l?t+e+e:t+e;default:return t}}}))}))}},e.next=M,e.node=_,e.parse=Z,e.peek=P,e.prefix=K,e.prefixer=function(e,l,r,i){if(e.length>-1&&!e.return)switch(e.type){case o:return void(e.return=K(e.value,e.length,r));case s:return Y([E(e,{value:g(e.value,"@","@"+n)})],i);case a:if(e.length)return C(r=e.props,(function(l){switch(m(l,i=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":O(E(e,{props:[g(l,/:(read-\w+)/,":-moz-$1")]})),O(E(e,{props:[l]})),f(e,{props:k(r,i)});break;case"::placeholder":O(E(e,{props:[g(l,/:(plac\w+)/,":"+n+"input-$1")]})),O(E(e,{props:[g(l,/:(plac\w+)/,":-moz-$1")]})),O(E(e,{props:[g(l,/:(plac\w+)/,t+"input-$1")]})),O(E(e,{props:[l]})),f(e,{props:k(r,i)})}return""}))}},e.prev=A,e.replace=g,e.ruleset=$,e.rulesheet=function(e){return function(t){t.root||(t=t.return)&&e(t)}},e.serialize=Y,e.sizeof=x,e.slice=R,e.stringify=function(e,t,l,n){switch(e.type){case c:if(e.children.length)break;case i:case o:return e.return=e.return||e.value;case r:return"";case s:return e.return=e.value+"{"+Y(e.children,n)+"}";case a:if(!w(e.value=e.props.join(",")))return""}return w(l=Y(e.children,n))?e.return=e.value+"{"+l+"}":""},e.strlen=w,e.substr=y,e.token=N,e.tokenize=L,e.tokenizer=z,e.trim=h,e.whitespace=F,Object.defineProperty(e,"__esModule",{value:!0})}(t)},"19e15e7ca84589004246":function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.__esModule=!0,e.exports.default=e.exports},"19eec5aa59f009298e44":function(e,t,l){var n=l("1c3058be2ec14dbd95ee");"string"===typeof n&&(n=[[e.i,n,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};l("1e4534d1d62a11482e97")(n,r);n.locals&&(e.exports=n.locals)},"1a5666701cabb0ba5667":function(e,t,l){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return function(t,l,n,r,a){var o=n||"<>",i=a||l;if(null==t[l])return new Error("The "+r+" `"+i+"` is required to make `"+o+"` accessible for users of assistive technologies such as screen readers.");for(var s=arguments.length,c=Array(s>5?s-5:0),u=5;ut},e.prototype.isBefore=function(e,t){return e0},e.prototype.isBeforeYear=function(e,t){return e.diff(t.startOf("year"),"years").toObject().years<0},e.prototype.isAfterYear=function(e,t){return e.diff(t.endOf("year"),"years").toObject().years>0},e.prototype.getDiff=function(e,t){return"string"===typeof t&&(t=n.DateTime.fromJSDate(new Date(t))),e.diff(t).as("millisecond")},e.prototype.startOfDay=function(e){return e.startOf("day")},e.prototype.endOfDay=function(e){return e.endOf("day")},e.prototype.format=function(e,t){return e.setLocale(this.locale).toFormat(t)},e.prototype.formatNumber=function(e){return e},e.prototype.getHours=function(e){return e.get("hour")},e.prototype.setHours=function(e,t){return e.set({hour:t})},e.prototype.getMinutes=function(e){return e.get("minute")},e.prototype.setMinutes=function(e,t){return e.set({minute:t})},e.prototype.getSeconds=function(e){return e.get("second")},e.prototype.setSeconds=function(e,t){return e.set({second:t})},e.prototype.getMonth=function(e){return e.get("month")-1},e.prototype.setMonth=function(e,t){return e.set({month:t+1})},e.prototype.getYear=function(e){return e.get("year")},e.prototype.setYear=function(e,t){return e.set({year:t})},e.prototype.mergeDateAndTime=function(e,t){return this.setMinutes(this.setHours(e,this.getHours(t)),this.getMinutes(t))},e.prototype.startOfMonth=function(e){return e.startOf("month")},e.prototype.endOfMonth=function(e){return e.endOf("month")},e.prototype.getNextMonth=function(e){return e.plus({months:1})},e.prototype.getPreviousMonth=function(e){return e.minus({months:1})},e.prototype.getMonthArray=function(e){for(var t=[this.date(e).startOf("year")];t.length<12;){var l=t[t.length-1];t.push(this.getNextMonth(l))}return t},e.prototype.getWeekdays=function(){return n.Info.weekdaysFormat("narrow",{locale:this.locale})},e.prototype.getWeekArray=function(e){var t=e.endOf("month").endOf("week").diff(e.startOf("month").startOf("week"),"days").toObject().days,l=[];return new Array(Math.round(t)).fill(0).map((function(e,t){return t})).map((function(t){return e.startOf("month").startOf("week").plus({days:t})})).forEach((function(e,t){0===t||t%7===0&&t>6?l.push([e]):l[l.length-1].push(e)})),l},e.prototype.getYearRange=function(e,t){e=this.date(e);var l=(t=this.date(t).plus({years:1})).diff(e,"years").toObject().years;return!l||l<=0?[]:new Array(Math.round(l)).fill(0).map((function(e,t){return t})).map((function(t){return e.plus({years:t})}))},e.prototype.getMeridiemText=function(e){return n.Info.meridiems({locale:this.locale}).find((function(t){return t.toLowerCase()===e.toLowerCase()}))},e.prototype.getCalendarHeaderText=function(e){return this.format(e,this.yearMonthFormat)},e.prototype.getDatePickerHeaderText=function(e){return this.format(e,"ccc, MMM d")},e.prototype.getDateTimePickerHeaderText=function(e){return this.format(e,"MMM d")},e.prototype.getMonthText=function(e){return this.format(e,"LLLL")},e.prototype.getDayText=function(e){return this.format(e,"d")},e.prototype.getHourText=function(e,t){return t?e.toFormat("hh"):e.toFormat("HH")},e.prototype.getMinuteText=function(e){return e.toFormat("mm")},e.prototype.getSecondText=function(e){return e.toFormat("ss")},e.prototype.getYearText=function(e){return e.toFormat("yyyy")},e.prototype.isNull=function(e){return null===e},e}();e.exports=r},"1ba86ee13bd1cebc41be":function(e,t,l){var n=l("b53c7090e9090f516820");"string"===typeof n&&(n=[[e.i,n,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};l("1e4534d1d62a11482e97")(n,r);n.locals&&(e.exports=n.locals)},"1c17fab785e50c4c8ec3":function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.forget=function(e){e.then(null,(function(e){console.error(e)}))}},"1c3058be2ec14dbd95ee":function(e,t,l){(t=e.exports=l("0e326f80368fd0b1333e")(!1)).push([e.i,".settings-options-wrapper{display:grid;grid-template-columns:repeat(auto-fill, minmax(275px, 1fr));grid-gap:20px;width:75%}.settings-option-block{display:flex;align-items:center;justify-content:center;background-color:#fff;box-shadow:2px 2px 4px 1px rgba(0,0,0,.2);border:1px solid #dedcde;min-height:140px;height:100%;padding:0px;cursor:pointer}.settings-option-block:hover{border:1px solid #141443}.settings-option-block:hover .settings-option-icon,.settings-option-block:hover .settings-option-title,.settings-option-block:hover .settings-option-navigate{color:#141443}.settings-option-block:active{box-shadow:inset 0 0 5px #aaa}.settings-option-icon{width:35px;margin:0px 20px;font-size:2.6em}.settings-option-text{display:flex;flex:1;flex-direction:column;min-height:inherit;height:inherit;padding:10px 10px}.settings-option-title{font-weight:bold}.settings-option-subtitle{font-size:.8em}.settings-option-navigate{color:#a9a9a9;text-decoration:underline;margin-top:10px;font-size:12px}.settings-banner-block{display:flex;width:75%;color:#fff;background-color:#141443;margin-top:20px;box-shadow:-2px -1px 8px 5px rgba(0,0,0,.2);min-height:100px;cursor:pointer}.settings-banner-icon{padding:30px 0;width:30%;height:100%;text-align:center;font-size:2em}.settings-banner-icon>img{width:40px}.settings-banner-text{display:flex;flex-wrap:nowrap;width:70%;padding:45px 0}.settings-banner-title{width:70%}.settings-banner-subtitle{width:30%;text-decoration:underline;text-align:center;padding-right:10px}@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"}},"1c3db079b29f5367242a":function(e,t,l){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},"1c6e5b846c2d2c931abf":function(e,t,l){var n=l("64a039bddbfc5438375d"),r=l("29796ead6add2b5f83ec")("socket.io-client:url");e.exports=function(e,t){var l=e;t=t||"undefined"!==typeof location&&location,null==e&&(e=t.protocol+"//"+t.host);"string"===typeof e&&("/"===e.charAt(0)&&(e="/"===e.charAt(1)?t.protocol+e:t.host+e),/^(https?|wss?):\/\//.test(e)||(r("protocol-less url %s",e),e="undefined"!==typeof t?t.protocol+"//"+e:"https://"+e),r("parse %s",e),l=n(e));l.port||(/^(http|ws)$/.test(l.protocol)?l.port="80":/^(http|ws)s$/.test(l.protocol)&&(l.port="443"));l.path=l.path||"/";var a=-1!==l.host.indexOf(":")?"["+l.host+"]":l.host;return l.id=l.protocol+"://"+a+":"+l.port,l.href=l.protocol+"://"+a+(t&&t.port===l.port?"":":"+l.port),l}},"1cbd705abc411c9a1e5b":function(e,t,l){var n=l("5418164ba762b2ad2290"),r=l("c71b8d64205776e9bfa6"),a=l("7808cfb2bfe5c86d0b6e"),o=l("09b2597701fdebc2702d"),i=l("43782b2cfa20cdaf0a42"),s=l("68e8bdf41018d49578f9"),c=Date.prototype.getTime;function u(e,t,l){var p=l||{};return!!(p.strict?a(e,t):e===t)||(!e||!t||"object"!==typeof e&&"object"!==typeof t?p.strict?a(e,t):e==t:function(e,t,l){var a,p;if(typeof e!==typeof t)return!1;if(d(e)||d(t))return!1;if(e.prototype!==t.prototype)return!1;if(r(e)!==r(t))return!1;var h=o(e),m=o(t);if(h!==m)return!1;if(h||m)return e.source===t.source&&i(e)===i(t);if(s(e)&&s(t))return c.call(e)===c.call(t);var g=f(e),b=f(t);if(g!==b)return!1;if(g||b){if(e.length!==t.length)return!1;for(a=0;a=0;a--)if(v[a]!=y[a])return!1;for(a=v.length-1;a>=0;a--)if(p=v[a],!u(e[p],t[p],l))return!1;return!0}(e,t,p))}function d(e){return null===e||void 0===e}function f(e){return!(!e||"object"!==typeof e||"number"!==typeof e.length)&&("function"===typeof e.copy&&"function"===typeof e.slice&&!(e.length>0&&"number"!==typeof e[0]))}e.exports=u},"1d4dcb4b1b3ffe269ce0":function(e,t,l){var n,r=l("01113779d8183c4f9cfc"),a=l("e2050712f12e30dc752a"),o=l("a9e3d23c499626aaa8cb"),i=l("4aa5796f44355857a54f"),s=l("8457025d7877bedaf46f");"undefined"!==typeof ArrayBuffer&&(n=l("21def8c13693e2976f9a"));var c="undefined"!==typeof navigator&&/Android/i.test(navigator.userAgent),u="undefined"!==typeof navigator&&/PhantomJS/i.test(navigator.userAgent),d=c||u;t.protocol=3;var f=t.packets={open:0,close:1,ping:2,pong:3,message:4,upgrade:5,noop:6},p=r(f),h={type:"error",data:"parser error"},m=l("0d1dc604b6ac99d57df3");function g(e,t,l){for(var n=new Array(e.length),r=i(e.length,l),a=function(e,l,r){t(l,(function(t,l){n[e]=l,r(t,n)}))},o=0;o1?{type:p[r],data:e.substring(1)}:{type:p[r]}:h}r=new Uint8Array(e)[0];var a=o(e,1);return m&&"blob"===l&&(a=new m([a])),{type:p[r],data:a}},t.decodeBase64Packet=function(e,t){var l=p[e.charAt(0)];if(!n)return{type:l,data:{base64:!0,data:e.substr(1)}};var r=n.decode(e.substr(1));return"blob"===t&&m&&(r=new m([r])),{type:l,data:r}},t.encodePayload=function(e,l,n){"function"===typeof l&&(n=l,l=null);var r=a(e);if(l&&r)return m&&!d?t.encodePayloadAsBlob(e,n):t.encodePayloadAsArrayBuffer(e,n);if(!e.length)return n("0:");g(e,(function(e,n){t.encodePacket(e,!!r&&l,!1,(function(e){n(null,function(e){return e.length+":"+e}(e))}))}),(function(e,t){return n(t.join(""))}))},t.decodePayload=function(e,l,n){if("string"!==typeof e)return t.decodePayloadAsBinary(e,l,n);var r;if("function"===typeof l&&(n=l,l=null),""===e)return n(h,0,1);for(var a,o,i="",s=0,c=e.length;s0;){for(var i=new Uint8Array(r),s=0===i[0],c="",u=1;255!==i[u];u++){if(c.length>310)return n(h,0,1);c+=i[u]}r=o(r,2+c.length),c=parseInt(c);var d=o(r,0,c);if(s)try{d=String.fromCharCode.apply(null,new Uint8Array(d))}catch(e){var f=new Uint8Array(d);d="";for(u=0;uspan{color:#fff}.sidebarContainer.open .sidebarList-block .sidebarList .sidebarItem.disabled{opacity:.3;cursor:not-allowed}.sidebarContainer.open .sidebarList-block .sidebarList .sidebarItem span{transition:.4s;opacity:1}.sidebarContainer.open .sidebarList-block .sidebarList .sidebarItem em{font-size:20px;padding:5px 15px 5px 0}.sidebarContainer.open .sidebarList-block .sidebarList .sidebarItem em.hide-icon{opacity:0}.sidebarContainer.open .sidebarList-block .sidebarList .sidebarItem:hover{background:rgba(51,45,103,.2705882353)}.sidebarContainer.open .sidebarList-block .sidebarList .sidebarItem:hover>span{color:#fff}.sidebarContainer.open .sidebarList-block .sidebarList .sidebarItem:hover.active{background:rgba(51,45,103,.2705882353);transition:.5s}.sidebarContainer.open .sidebarList-block .sidebarList .sidebarItem:hover.active>span{color:#fff}.sidebarContainer.open .sidebarList-block .sidebarList .sidebarItem:hover.disabled{background:rgba(0,0,0,0)}.sidebarContainer.open .sidebarList-block .sidebarList .sidebarItemAdmin{min-height:55px;cursor:pointer;transition:.2s;padding:13px 20px;display:flex;align-items:center;color:#fff}.sidebarContainer.open .sidebarList-block .sidebarList .sidebarItemAdmin.active{background:rgba(17,12,58,.72);cursor:default}.sidebarContainer.open .sidebarList-block .sidebarList .sidebarItemAdmin.active>span{color:#fff}.sidebarContainer.open .sidebarList-block .sidebarList .sidebarItemAdmin.disabled{opacity:.3;cursor:not-allowed}.sidebarContainer.open .sidebarList-block .sidebarList .sidebarItemAdmin span{transition:.4s;opacity:1}.sidebarContainer.open .sidebarList-block .sidebarList .sidebarItemAdmin em{font-size:20px;padding:5px 15px 5px 0}.sidebarContainer.open .sidebarList-block .sidebarList .sidebarItemAdmin em.hide-icon{opacity:0}.sidebarContainer.open .sidebarList-block .sidebarList .sidebarItemAdmin:hover{background:rgba(255,255,255,.72)}.sidebarContainer.open .sidebarList-block .sidebarList .sidebarItemAdmin:hover>span{color:#fff}.sidebarContainer.open .sidebarList-block .sidebarList .sidebarItemAdmin:hover>em{color:#fff}.sidebarContainer.open .sidebarList-block .sidebarList .sidebarItemAdmin:hover.active{background:rgba(17,12,58,.32)}.sidebarContainer.open .sidebarList-block .sidebarList .sidebarItemAdmin:hover.active>span{color:#fff}.sidebarContainer.open .sidebarList-block .sidebarList .sidebarItemAdmin:hover.active>em{color:#fff}.sidebarContainer.open .sidebarList-block .sidebarList .sidebarItemAdmin:hover.disabled{background:rgba(0,0,0,0)}.sidebarContainer.open .sidebarList-block .sidebarList .sidebarItemAdmin:hover.disabled.active{background:#000}.sidebarContainer.open .sidebarList-block .sidebarList .sidebarItemAdmin:hover.disabled>span{color:#fff}.sidebarContainer.open .sidebarList-block .sidebarList .sidebarItemAdmin:hover.disabled>em{color:#fff}.sidebarContainer.open .sidebarList-block .sidebarList .extra{margin:2px 5px;height:22px;transition:.2s}.sidebarContainer.open .sidebarList-block .sidebarList .extra span{opacity:1;font-size:.9em;margin-left:-8px}.sidebarContainer.open .sidebarList-block .dashboard-version{height:50px;text-align:center;display:flex;justify-content:center;align-items:center;background:transparent;color:#fff;font-size:12px;box-shadow:1px 1px 10px #0005;width:100%}.sidebarContainer.open .sidebarList-block .dashboard-version>div{height:100%;padding:10px 25px;white-space:normal}@media only screen and (min-width: 601px)and (max-width: 991px){.sidebarContainer{top:10px;position:absolute;transition:.6s;animation-delay:.2s}.sidebarContainer.open{z-index:61;width:30vw;background-color:#fff}.sidebarContainer.open .sidebarLogoContainer .sidebarLogo{width:50%}.sidebarContainer.open .expandSidebar{position:absolute;color:#141443;font-size:18px;cursor:pointer;transition:.2s}.sidebarContainer.open .expandSidebar:hover{font-size:20px}.sidebarContainer.closed{z-index:61;width:0vw;transition-delay:unset}.sidebarContainer.closed .sidebarLogoContainer .sidebarLogoWrapper{position:absolute;top:0;bottom:0;left:0;right:0}.sidebarContainer.closed .sidebarLogoContainer .sidebarLogo{position:absolute;top:4vh;bottom:0;left:0;right:0;width:80%;height:10vh;margin-left:auto;margin-right:auto;cursor:pointer;opacity:1;transition:unset;background:url("+h+");background-size:90%;background-repeat:no-repeat;background-position:center;z-index:4}.sidebarContainer.closed .expandSidebar em{width:0 !important}.sidebarContainer.closed .sidebarList{overflow-y:auto}}@media screen and (max-width: 600px){.sidebarContainer{top:10px;position:absolute;transition:.6s;animation-delay:.2s}.sidebarContainer.open{z-index:61;width:calc(100vw - 20px);background-color:#fff}.sidebarContainer.open .sidebarLogoContainer .sidebarLogo{width:30%}.sidebarContainer.open .expandSidebar{position:absolute;color:#141443;font-size:18px;cursor:pointer;transition:.2s}.sidebarContainer.open .expandSidebar:hover{font-size:20px}.sidebarContainer.open .sidebarList{overflow-y:auto}.sidebarContainer.closed{z-index:61;width:0vw;transition-delay:unset}.sidebarContainer.closed .sidebarLogoContainer .sidebarLogoWrapper{position:absolute;top:0;bottom:0;left:0;right:0}.sidebarContainer.closed .sidebarLogoContainer .sidebarLogo{position:absolute;top:4vh;bottom:0;left:0;right:0;width:80%;height:10vh;margin-left:auto;margin-right:auto;cursor:pointer;opacity:1;transition:unset;background:url("+h+");background-size:90%;background-repeat:no-repeat;background-position:center;z-index:4}.sidebarContainer.closed .expandSidebar em{width:0 !important}}@media screen and (max-width: 400px){.sidebarLogoContainer .sidebarLogo{width:40% !important}}.page-container{position:fixed;top:0;left:0;right:0;bottom:0;overflow:hidden;width:100%;height:100%;background-position:center;background-size:cover;background-repeat:no-repeat;background-color:#fff;-webkit-filter:drop-shadow(0 3px 2px rgba(0, 0, 0, 0.25));display:flex;flex-direction:row}.page-container .side-img{width:auto}@media screen and (max-width: 768px){.page-container .side-img{display:none}}.page-container .form-container{display:flex;width:100%;flex-direction:column;justify-content:space-between}@media screen and (max-width: 768px){.page-container .form-container{justify-content:unset;align-items:center}}.page-container .copyright{margin-left:7%}@media screen and (max-width: 768px){.page-container .copyright{font-size:10px;text-align:center;margin-left:0px}}.page-container .copyright span{display:block;margin-bottom:2%}.page-container .logo{background:url("+h+");background-size:contain;background-repeat:no-repeat;background-position:center;width:20%;height:150px;margin-left:6%;margin-right:auto;margin-bottom:20px;margin-top:2%}@media screen and (max-width: 768px){.page-container .logo{height:35px !important;width:187px;margin-left:auto;margin-right:auto;margin-top:5%;margin-bottom:0px}}.page-container .forgot-password{display:block;margin-top:10%;text-decoration:underline;font-size:14;color:#000}.page-container .form{display:flex;flex-direction:column;position:sticky;color:#fff;padding:30px 20px 0px 20px;margin-left:20%}@media screen and (max-width: 768px){.page-container .form{margin-left:0px;justify-content:center}}.page-container .form .clickable{cursor:pointer}.page-container .form .title{font-size:1.5em;font-weight:bold;text-transform:uppercase;color:#000;display:block;margin-bottom:1.5%}.page-container .form form{margin-top:20px;width:320px;height:200px}@media screen and (max-width: 768px){.page-container .form form{width:310px}}.page-container .form form .inputWrapper{width:100%;position:relative}.page-container .form form .inputWrapper .iconWrapper{margin-top:4px;margin-left:1px;width:50px;height:41px;position:absolute;background:gray}.page-container .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 .form form .inputWrapper input:focus{border:1px solid #141443;background:#fff}.page-container .form form .inputWrapper em{position:absolute;top:35%;left:17px;color:#434343}.page-container .form form .inputWrapper:focus-within{opacity:1;transition:.2s}.page-container .form form .inputWrapper:focus-within input{border:1px solid #141443 !important}.page-container .form form .inputWrapper:focus-within .iconWrapper{background:#141443 !important}.page-container .form form .inputWrapper:focus-within .iconWrapper em{color:#fff}.page-container .form form .inputWrapper:hover{opacity:1;transition:ease-in-out .5s}.page-container .form form .inputWrapper:hover input{border:1px solid #141443}.page-container .form form .inputWrapper:hover .iconWrapper{background:#141443}.page-container .form form .inputWrapper:hover .iconWrapper em{color:#fff}.page-container .form form .inputWrapper.filled{opacity:1;transition:ease-in-out .5s}.page-container .form form .inputWrapper.filled input{border:1px solid #141443}.page-container .form form .inputWrapper.filled .iconWrapper{background:#141443}.page-container .form form .inputWrapper.filled .iconWrapper em{color:#fff}.page-container .form form button{position:relative;width:100%;padding:10px;height:40px;margin-top:20px;color:#fff;background-color:#141443;font-weight:bold;text-transform:capitalize}.page-container .form form button:hover{background-color:#20206a}.page-container .form form button.cancel{color:#fff;background-color:#151515}.page-container .form form button.cancel:hover{background-color:#2f2f2f}.header-container{width:calc(100% - 10px);display:inline-block;height:60px;position:relative;padding:0px 15px;z-index:60;background:#fff;box-shadow:2px 3px 8px #dedcde;margin-bottom:3px}.header-container .header{background:#fff;width:100%;height:100%;display:flex;justify-content:flex-end;align-items:center}.header-container .header .component-title{font-size:1.1em;text-transform:uppercase;color:#131313}.header-container .header .logoutButton{transition:.2s;text-transform:capitalize;cursor:pointer;padding:8px 20px;font-size:.8em;background:#333;color:#fff}.header-container .header .logoutButton:hover{background:#777}.header-container .header .header_subscribe{padding:5px 10px;color:#fff;margin-right:20px;margin-left:10px;background-color:#141443;box-shadow:1px 1px 2px rgba(0,0,0,.15);transition:.4s;display:flex;align-items:center;justify-content:center;height:40px}@media screen and (min-width: 600px){.header-container .header .header_subscribe{min-width:112px}}.header-container .header .header_subscribe em{margin:5px}.header-container .header .header_subscribe:hover{background-color:#3e438d}.header-container .header .header_subscribe:active{box-shadow:inset 0 2px 4px rgba(0,0,0,.15),0 1px 2px rgba(0,0,0,.05)}.header-container .header .header_subscribe.--pending{background-color:#f39c12 !important}.header-container .header .header_subscribe.--cancelled{background-color:#dd4b39 !important}.header-container .header .Header_select_business{width:280px;margin-right:20px}.chartsContainer{position:relative;background:#fff;padding:10px 30px;box-shadow:2px 2px 10px #777;text-transform:uppercase}.chartsContainer .chartContainer{position:relative;padding-bottom:30px}.chartsContainer .chartContainer .chartHeader{background:#151515;color:#fff;position:relative;top:0;left:0;right:0;width:100%;padding:30px;margin-bottom:20px;display:flex;justify-content:space-around;align-items:center}.chartsContainer .chartContainer .chart{background:transparent;width:100% !important}.parkLogoDropzone{position:relative;width:100%;height:100%;object-fit:contain;min-width:150px;max-width:200px;margin:5px;background-color:#ddd;padding:5px}.parkLogoDropzone .remove{transition:.2s;position:absolute;top:10px;right:10px;width:35px;height:35px;background:#fff;color:#151515;border:1px solid #151515;display:flex;justify-content:center;align-items:center}.parkLogoDropzone .remove:hover{color:#fff;background:#151515}.parkLogoDropzone img{object-fit:contain;width:100%;height:100%;max-height:150px}.logoPreview{position:relative;background-size:contain;background-repeat:no-repeat;height:100%;width:350px;min-height:100px;min-width:200px}.logoPreview .partnerLogo{position:absolute;top:17px;left:25px;width:88px;height:67px;object-fit:contain}.route-wrapper{position:relative;width:100%;min-height:100%;padding-bottom:inherit;overflow:hidden;padding-bottom:50px}.tableBack a{font-size:1.2em !important}.expandableButton{margin-bottom:10px;display:flex;align-items:center;position:relative;background:#fff;box-shadow:0 1px 3px #333;height:80px;min-width:100%;overflow:hidden}.expandableButton .expandableButtonImage{vertical-align:top;height:60px;min-height:60px;width:60px;min-width:60px;margin-left:20px;display:inline-block;background-color:#151515;background-repeat:no-repeat;background-size:cover;background-position:center}.expandableButton .expandableButtonTitle{padding:0 20px;display:block;width:calc(70% + 100px)}.expandableButton .expandableButtonTitle span{display:block;line-height:1em}.expandableButton .expandableButtonTitle span:first-child{font-size:1.2em;font-weight:bold}.expandableButton .expandableButtonEdit{min-width:40px;transition:.2s;user-select:none;cursor:pointer;vertical-align:top;height:100%;width:10%;display:inline-flex;justify-content:center;align-items:center;color:#fff;background:#fff}.expandableButton .expandableButtonEdit:hover{opacity:.8}.expandableButton .expandableButtonActive{min-width:40px;transition:.2s;user-select:none;cursor:pointer;vertical-align:top;height:100%;width:10%;display:inline-flex;justify-content:center;align-items:center;color:#fff;background:#141443}.expandableButton .expandableButtonActive:hover{opacity:.8}.ReservationDatePicker{position:relative;display:block;padding:20px;height:30px;width:100%;border:1px solid #434343;color:#434343;margin:8px 5px}.ReservationDatePicker:disabled{border:1px solid #ccc;color:#ccc}.countryPickerItem{transition:.1s;font-size:1.2em;padding:5px 10px;cursor:pointer}.countryPickerItem.active{background:#151515;color:#fff}.payment{margin-top:20px;margin-bottom:20px;width:100%;height:50px}.float-right{position:absolute;top:0;right:0;padding:inherit;margin:inherit}.toggle-wrapper{display:flex;flex-direction:row}.toggle-wrapper>span{margin-right:8px}.input-toggle-wrapper{display:flex;flex-direction:row;margin-left:10px;margin-right:10px;margin-top:8px;padding:3px 0}.input-toggle-wrapper>span{margin-right:8px}.toggle-wrapper-button{min-width:150px;display:flex;align-items:center;justify-content:center}.table-custom-header{background:transparent !important;padding:15px 15px !important;align-items:center;font-weight:bold;font-size:18px;color:#141443;display:none}.color-picker{margin-top:0px}.color-picker .sketch-picker{width:inherit !important}.bold-text{font-size:17px;font-weight:bold}input[type=file]{opacity:0;width:100%;height:100%}.disabled{opacity:.5;cursor:not-allowed !important}.disabled *{pointer-events:none}.subscription-disabled{cursor:not-allowed !important;background-color:#aaa !important;color:#535353 !important}.subscription-disabled *{pointer-events:none !important}div.dialog-wrapper{display:none}.product_default_detail .product_buttons{display:inline-flex;width:100%;justify-content:space-between}.product_default_detail .product_buttons .product_button{background-color:#151515;color:#fff;width:30%;height:70px;text-align:center;display:flex;justify-content:center;align-items:center;transition:.2s;cursor:pointer;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none;-o-user-select:none}.product_default_detail .product_buttons .product_button:hover{background-color:#484848}.product_default_detail .product_buttons .product_button:active{background-color:#626262;transform:scale(0.9)}.readjust_list{width:calc(100% - 6px) !important}.is-extensible{display:inline-block;margin-left:auto;font-size:1.5em}.is-extensible-op{opacity:.4 !important}.mappleTip{background-color:#110c3a !important}.new-user-dropdown{display:flex;justify-content:flex-end;align-items:center;height:45px;padding:10px 0px 10px 8px;cursor:pointer}.new-user-dropdown:hover{background-color:#f0f0f0}.new-user-dropdown img{border-radius:50%;height:35px;width:35px;margin-right:5px;object-fit:cover;background-color:#ebebeb;border:1px solid #f1f1f1}.new-user-dropdown span{display:inline-block;max-width:150px;font-size:1.1em;margin-right:20px;padding-left:5px;color:#131313;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.new-user-dropdown-active{background-color:#f0f0f0}.header-quickOptions{display:flex;justify-content:flex-start;align-items:center;padding:10px;height:45px;cursor:pointer;margin-right:10px}.header-quickOptions:hover{background-color:#f0f0f0}.header-quickOptions em{font-size:1.5em;margin-right:10px;color:#141443}.header-quickOptions span{display:inline-block;max-width:150px;font-size:1.1em;margin-right:20px;padding-left:5px;color:#131313;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;font-weight:bold}.header-quickOptions-active{background-color:#f0f0f0}.header-quickOptions-maintenance{color:#fff !important;background-color:#000 !important}.header-quickOptions-maintenance em,.header-quickOptions-maintenance span{color:#fff !important}.BBDropdownHeaderList{animation:dropdownOpen .2s ease-in-out normal both;position:absolute;overflow:hidden auto;height:auto;max-height:150px;margin-top:11px;min-width:200px;width:auto;box-shadow:0px 2px 16px 8px #b7b5b524;right:0;background:#fff;z-index:51}.BBDropdownHeaderList em{display:inline-block;transition:.1s;font-size:16;color:#141443;left:5;margin:0 10px 0 5px}.BBDropdownHeaderList .BBDropdownHeaderListItem{display:flex;align-items:center;padding:5px;cursor:pointer;transition:.1s;height:30px;width:100%}.BBDropdownHeaderList .BBDropdownHeaderListItem:hover{background-color:#141443;color:#fff}.BBDropdownHeaderList .BBDropdownHeaderListItem:hover>em{color:#fff}.BBQuickOptionsList{animation:dropdownOpen .2s ease-in-out normal both;position:absolute;overflow:hidden auto;height:auto;max-height:150px;margin-top:11px;min-width:180px;width:auto;box-shadow:0px 2px 16px 8px #b7b5b524;left:0px;background:#fff;z-index:51}.BBQuickOptionsList em{display:inline-block;transition:.2s;font-size:16px;color:#3e438d;margin:0 10px 0}.BBQuickOptionsList .BBQuickOptionsListItem{display:flex;align-items:center;cursor:pointer;transition:.1s;height:40px;width:100%}.BBQuickOptionsList .BBQuickOptionsListItem:hover{background-color:#141443;color:#fff}.BBQuickOptionsList .BBQuickOptionsListItem:hover>em{color:#8287c8}.BBQuickOptionsList .BBQuickOptionsListItem:hover .inMaintenance{color:#fff !important}.separator{height:0px;border:.5px dashed rgba(120,64,255,.25)}.title-toggle{display:inline-flex !important;justify-content:space-between;width:100%;align-items:center}.title-icon{display:inline-block;font-size:18px;color:#141443}.phone-block{width:100%;height:40px;margin:0 25px 10px 0;background-color:#fff;border:1px solid #d3d3d3}.phone-block:focus-within{background-color:#fff !important;border:1px solid #141443 !important;color:#000 !important;transition:.2s}.input-phone{background-color:#fff !important;border:#d3d3d3 !important;height:100% !important;width:100% !important;font-size:.8em !important}.input-phone:focus{background-color:#fff !important;color:#000 !important}.phone-disabled{background-color:#f1f1f1 !important;color:#aaa !important}.flag-dropdown{border:transparent !important;background-color:transparent !important;top:1px !important;bottom:1px !important}.flag-dropdown .selected-flag{z-index:0 !important;overflow:hidden}.react-tel-input{height:100% !important}.form-control{box-shadow:unset !important}.country-list{z-index:20 !important}.view-address{display:flex;flex-direction:column;width:60%;min-height:500px;border:1px solid #d3d3d3;padding:20px 10px 20px 20px}@media screen and (max-width: 425px){.view-address{width:100%;margin-top:15px}}.inputClass{border:1px solid #d3d3d3;height:40px;width:100%;padding:0 10px;font-size:.9em}.inputClass:hover:not(:disabled){border:1px solid #141443}.inputClass:focus{border:1px solid #141443}.inputClass:disabled{cursor:not-allowed;background-color:#ededed;color:#aaa}.semiRadius{border-top-right-radius:0 !important;border-bottom-right-radius:0 !important;flex:1;text-align:right}.sectionHeaderStyle{display:flex;flex-direction:row;justify-content:flex-end;align-items:center;height:35px;width:100%}.mappleTip{display:none !important}.version{text-align:center;display:flex;justify-content:center;align-items:center;background:transparent;color:#fff;font-size:12px;box-shadow:1px 1px 10px #0005;position:absolute;bottom:0;right:0;left:0;width:100%}.version>div{height:100%;padding:10px 25px;white-space:normal}.actionBar{white-space:nowrap;height:60px;width:100%;position:absolute;top:0;right:0;left:0;display:flex;margin-bottom:50px;justify-content:space-between;align-items:center;padding:0 20px;box-shadow:2px 3px 8px #dedcde;background-color:#fff;transition:.2s;z-index:40}.actionBar .BBbreadcrumb{display:flex;flex-direction:column;justify-content:center;max-width:35%}@media screen and (min-width: 768px)and (max-width: 1023px){.actionBar .BBbreadcrumb{max-width:80%}}@media screen and (min-width: 1024px)and (max-width: 1200px){.actionBar .BBbreadcrumb{max-width:20%}}@media screen and (min-width: 1440px){.actionBar .BBbreadcrumb{max-width:50%}}.actionBar .BBbreadcrumb>div>span,.actionBar .BBbreadcrumb>div>em{cursor:pointer}.actionBar .actions{display:flex;align-items:center;justify-content:center}.breadcrumb-actions{display:flex;justify-content:flex-end !important;width:100% !important}.breadcrumb-button{height:40px;min-width:100px;background-color:#63a01d;color:#fff;padding:0 15px;transition:.2s;cursor:pointer}.breadcrumb-button span{margin-right:10px}.breadcrumb-button:hover{background-color:#71b81f}.breadcrumb-button:disabled{background-color:#d1d1d1;cursor:not-allowed}.breadcrumb-cancel-button{height:40px;background-color:red;color:#fff;padding:0 15px;transition:.2s;cursor:pointer}.breadcrumb-cancel-button:hover{background-color:#da0c0c}.breadcrumb-cancel-button:disabled{background-color:#d1d1d1;cursor:not-allowed}.breadcrumb-refund-button{height:40px;background-color:#141443;color:#fff;padding:0 15px;transition:.2s;cursor:pointer}.breadcrumb-refund-button:hover{background-color:#3e438d}.breadcrumb-refund-button:disabled{background-color:#d1d1d1;cursor:not-allowed}.breadcrumb-button-save{display:flex;width:100%;justify-content:space-between;align-items:center}.breadcrumb-title{font-weight:bold;font-size:16px;text-overflow:ellipsis;display:block;overflow:hidden}.breadcrumb-locations{text-overflow:ellipsis;overflow:hidden}.breadcrumb-subtitle{font-weight:bold;font-size:14px}.breadcrumb-active-block{padding:0 10px;border-right:1px solid #dedcde}.breadcrumb-active-block .breadcrumb-active{display:flex;align-items:center}.breadcrumb-active-block .breadcrumb-active .breadcrumb-active-label{font-weight:bold;margin-right:5px}.breadcrumb-smaller-active-block{padding:0 20px;border-right:1px solid #dedcde}.breadcrumb-smaller-active-block .breadcrumb-smaller-active{display:flex;flex-direction:column;align-items:center}.breadcrumb-smaller-active-block .breadcrumb-smaller-active .breadcrumb-smaller-active-label{font-size:.7em;font-weight:bold}@media screen and (min-width: 1368px){.breadcrumb-smaller-active-block .breadcrumb-smaller-active .breadcrumb-smaller-active-label{font-size:.9em}}@media screen and (max-width: 1024px){.breadcrumb-smaller-active-block{padding:0 10px}}.mobile-menu-overlay{position:fixed;width:100vw;height:100vh;background-color:transparent;top:0;left:0;z-index:49}.mobile-breadcrumb-icon-block{height:40px;width:40px;display:flex;align-items:center;justify-content:center;cursor:pointer;position:relative}.mobile-breadcrumb-icon-block .mobile-breadcrumb-options-submit{background-color:#63a01d;color:#fff;font-size:12px;text-align:center;display:flex;justify-content:center;height:40px;margin-right:10px;width:40px}.mobile-breadcrumb-icon-block .mobile-breadcrumb-options-submit:hover{color:#fff}.mobile-breadcrumb-icon-block .mobile-breadcrumb-options-submit.breadcrumb-button-disabled{color:#fff !important;cursor:not-allowed !important}.mobile-breadcrumb-icon-block em{font-size:2em;margin:auto}.mobile-breadcrumb-icon-block.opened{background-color:#f0f0f0 !important}@keyframes mobileMenu{0%{max-height:0;background-color:#fff;overflow:hidden}100%{max-height:calc(100vh - 150px);background-color:#fff;overflow:visible}}.mobile-breadcrumb-options-block{position:absolute;min-width:40vw;background-color:#fff;right:-10px;top:60px;z-index:50;box-shadow:0px 0px 5px 3px rgba(0,0,0,.2);animation:mobileMenu .5s ease-in-out normal both}.mobile-breadcrumb-options-block .mobile-breadcrumb-options-item{height:50px;width:100%;border-bottom:1px solid #e6e6e6;padding:10px;display:flex;justify-content:space-between;align-items:center;font-size:.9em}.mobile-breadcrumb-options-block .mobile-breadcrumb-options-item>span{display:inline-block;margin-right:5px}.mobile-breadcrumb-options-block .mobile-breadcrumb-options-submit{height:50px;width:100%;display:flex;justify-content:center;align-items:center;background-color:#63a01d;color:#fff;font-weight:bold;cursor:pointer}.mobile-breadcrumb-options-block .mobile-breadcrumb-options-cancel{height:50px;width:100%;display:flex;justify-content:center;align-items:center;background-color:red;color:#fff;font-weight:bold;cursor:pointer}.mobile-breadcrumb-options-block .mobile-breadcrumb-options-refund{height:50px;width:calc(100% - 20px);margin:10px;display:flex;justify-content:center;align-items:center;background-color:#141443;color:#fff;font-weight:bold;cursor:pointer}.breadcrumb-button-disabled{background-color:#d1d1d1 !important;cursor:not-allowed !important}@media screen and (max-width: 374px){.BBbreadcrumb{min-width:69%}.mobile-breadcrumb-options-block{min-width:90vw;max-height:calc(100vh - 150px);z-index:50;overflow:hidden auto}}@media screen and (max-width: 600px)and (min-width: 375px){.BBbreadcrumb{min-width:75%}.mobile-breadcrumb-options-block{min-width:91vw;max-height:calc(100vh - 150px);z-index:50;overflow:visible}}.delete-image-action{position:absolute;right:10px;top:-15px;display:flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:50%;font-size:12px;background-color:#d1d1d1;color:#333;transition:.2s;cursor:pointer}.delete-image-action:hover{transform:scale(1.2)}.delete-image-action:active{transform:scale(0.9)}.swal-cancel-button-class{background-color:#dd3132;min-width:2500px;display:flex;justify-content:center;align-items:center;color:#fff;text-transform:capitalize}.input-label{display:block;width:100%;font-weight:bold}.reAdjustHalfBlock{width:calc(50% - 5px)}.reAdjustHalfBlock.BlockRight{width:calc(50% - 5px);margin-left:5px}@media screen and (max-width: 1280px){.reAdjustHalfBlock.BlockRight{margin-left:0px}}.reAdjustHalfBlockPromotion{width:calc(50% - 10px)}.reAdjustHalfBlockPromotion.BlockRight{width:calc(50% - 10px);margin-left:10px}@media screen and (max-width: 1280px){.reAdjustHalfBlockPromotion.BlockRight{margin-left:0px}}.reAdjustQuarterBlock{width:calc(25% - 10px) !important}.reAdjustQuarterBlock.BlockRight{margin-left:10px}.reAdjustThreeQuarterBlock{width:calc(75% - 5px) !important;margin-left:5px !important}.reAdjustElements{width:100% !important}.swalLanguage{font-weight:bold}.swalConfirmLanguage{display:block;margin-top:20px}.trial-text{text-decoration:underline;font-size:1em}.trial-end-text{text-decoration:underline;font-size:1em;color:red}.invalid-field{border:1px solid red !important}.invalid-link-input .link-input{border:1px solid red !important}.product{transition:.2s;position:relative;cursor:pointer}.product .gridItemColorSelection{display:block;margin:auto;text-align:left}.product .gridItemColorSelection .gridItemColorBlock{box-shadow:0 0 3px #0008;cursor:pointer;transition:.2s;display:inline-block;width:20px;height:20px;margin:2.5px}.product .gridItemColorSelection .gridItemColorBlock.colorDisabled{opacity:.4;cursor:not-allowed}.product .gridItemColorSelection .gridItemColorBlock.colorDisabled:hover{opacity:.4}.product .gridItemColorSelection .gridItemColorBlock:hover{opacity:1}.product .addToCart{user-select:none;text-transform:uppercase;font-size:10px;transition:.2s;position:absolute;bottom:0;width:100%;height:50px;display:flex;justify-content:center;flex-wrap:wrap;align-items:center;background:#eeea;padding:10px}.product .addToCart .addToCartAttribute{padding:2px 8px;display:inline-block}.product .addToCart .addToCartAttribute.attributeDisabled{color:#666;cursor:not-allowed}.product .addToCart .addToCartAttribute.attributeDisabled:hover{background:transparent}.product .addToCart .addToCartString span:hover{background-color:transparent}.product .addToCart .addingToCartTitle{width:100%;font-weight:bold;text-align:center}.product .addToCart .addingToCartTitle:hover{background-color:transparent}.product .addToCart span{position:relative;transition:.2s}.product .addToCart span:hover{background-color:#aaa5}.product .gridItemPreview{border:1px solid #ddd;position:relative;overflow:hidden;box-shadow:1px 1px 5px #0005;height:85%}.product .gridItemPreview .gridItemOutOfStock{position:absolute;background-color:#0005;top:0;left:0;right:0;bottom:0;width:100%;height:100%;color:#fff;padding:20px;font-size:20px;text-transform:uppercase;display:flex;align-items:center;justify-content:flex-start}.product .gridItemPreview .gridItemOutOfStock span{display:block;width:60%}.product .gridItemPreview .gridItemImage{width:100%;height:100%;object-fit:cover;object-position:center;user-select:none}.product .gridItemWishList{cursor:pointer;transition:.2s;position:absolute;top:15px;right:15px;font-size:24px}.product .gridItemWishList:hover,.product .gridItemWishList.active{color:#141443}.product a{color:unset !important;text-decoration:none !important}.product .gridItemDetails{padding:0 10px;height:15%;width:100%;position:relative}.product .gridItemDetails .gridItemStockText{text-transform:uppercase;font-size:6px;line-height:1em}.product .gridItemDetails .gridItemName{width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:.8em;text-transform:uppercase;display:block;font-weight:bold;font-size:12px;margin-top:10px}.product .gridItemDetails .gridItemPrice{text-transform:uppercase;display:block;font-size:12px}.product .gridItemDetails .gridItemPrice .price{color:#434343;padding-right:10px}.product .gridItemDetails .gridItemPrice .salePrice{color:#e32;text-decoration:line-through}.gridContainer{display:block;position:relative;width:100%}.credit-card-input{position:relative !important;min-width:100%}.dropdownv2-reAdjust-states{width:calc(100% - 10px);opacity:1 !important}@media screen and (max-width: 1280px){.dropdownv2-reAdjust-states{width:unset}}.dropdownv2-reAdjust-states.disabled{cursor:not-allowed}.dropdownv2-reAdjust-states.disabled:first-child{border:1px solid #d3d3d3}.dropdownv2-reAdjust-states.disabled:first-child:first-child{opacity:1}.disabled-toggle *{cursor:not-allowed !important}.dropdownv2-invalid-select{border:1px solid red !important}.selectv2-not-allowed{cursor:not-allowed}.abandonedCartSettings .BBFullBlock>span{font-weight:bold}.abandonedCartSettings .select{display:inline-block}.multiLanguage{height:35px;display:flex;justify-content:flex-end}.square-dropzone{width:320px !important;height:auto;margin:0 auto}.defaultDropzone.shippingMethod-dropzone{margin:0 auto;width:220px !important;height:220px !important}.defaultDropzone.shippingMethod-dropzone .dropzone_placeholder{justify-content:center}.dropzone_placeholder{justify-content:center !important}.bannerDropZone div{height:inherit !important}.elementToFadeInAndOut{-webkit-animation:fadeinout 4s infinite both;animation:fadeinout 4s infinite both}@-webkit-keyframes fadeinout{0%,100%{opacity:0}50%{opacity:1}}@keyframes fadeinout{0%,100%{opacity:0}50%{opacity:1}}.suggestions{font-style:italic;color:#434343;font-size:10px}.link-input::placeholder{color:#d3d3d3}.link-input:focus{border:1px solid #141443;box-shadow:none}.link-input:hover{border:1px solid #141443;box-shadow:none}.row{margin-right:-5px;margin-left:-5px}.row>*{padding-right:5px;padding-left:5px}.table-onView-tooltip{max-width:35vw;min-width:200px;max-height:30vw;height:auto;white-space:normal;word-break:break-word;overflow-y:auto;overflow-x:hidden;pointer-events:auto;background-color:#fff !important;border:1px solid #141443;color:#000 !important;box-shadow:0px 0px 6px 1px gray;padding-left:0px;padding-right:0px}.table-onView-tooltip:hover{visibility:visible !important;opacity:1 !important}.table-onView-tooltip .tooltip-header{font-weight:bold;border-bottom:1px solid gray;display:flex;justify-content:center;font-size:1.3em;margin-bottom:5px}.table-onView-tooltip .tooltip-header span{display:block;margin-bottom:5px}.table-onView-tooltip .tooltip-body{padding-left:15px;padding-right:15px}.not-found-container{height:calc(100vh - 95px) !important;display:flex;justify-content:center;align-items:center}.not-found-container em{font-size:17em;color:#c3c3c3}.not-found-container .text-content h1{font-size:3em;margin:0px;margin-top:30px;margin-bottom:20px}.not-found-container .text-content h2{font-size:2.1em}.not-found-container .text-content span{font-size:2.3em}.not-found-container .text-content span.not-found-back{text-decoration:underline;cursor:pointer}.not-found-container .text-content span.not-found-back:hover{color:#141443}@media only screen and (max-width: 768px){.not-found-container .text-content{margin-bottom:60px;text-align:center}}.dummy-data-container{background:#fff;width:100%;height:100%}.dummy-data-container .dummy-data-header{position:relative;display:flex;align-items:center;justify-content:center;width:100%;height:60px;padding:0 20px;border-bottom:1px solid #d3d3d3;font-weight:bold}.dummy-data-container .dummy-data-title{font-weight:bold;font-size:1em}.dummy-data-container .dummy-data-content{display:flex;flex-direction:column;width:100%;padding:20px}.dummy-data-container .dummy-data-footer{display:flex;bottom:0;justify-content:center}.dummy-data-container .dummy-data-footer .cancel-button{background-color:#d2411c}.dummy-data-container .header-back{position:absolute;top:20px;right:20px;display:flex;height:20px;width:20px;align-items:center;cursor:pointer}.dummy-data-container .header-back em{font-size:.9em}.dummy-data-container .header-back:hover{color:#141443}.sidebar-clearFilters{position:absolute;width:100%;top:57px;right:0;z-index:30;color:#333;display:flex;justify-content:flex-end;align-items:center;min-height:30px;padding:0 15px;font-weight:bold;background-color:#fff;box-shadow:0px 1px 5px #d3d3d3;transition:.2s}.sidebar-clearFilters .clearFilters{display:flex;min-width:100px;align-items:center;cursor:pointer}.sidebar-clearFilters .clearFilters em{font-size:1.5em}.sidebar-clearFilters .clearFilters span{display:inline-block;padding:15px 0}.sidebar-clearFilters .clearFilters.filters-disabled{color:#d3d3d3;cursor:not-allowed}.sidebar-clearFilters .clearFilters:hover:not(.filters-disabled){color:#141443}.sidebar-clearFilters.filterBlock-disabled{height:0;min-height:0;overflow:hidden;transition:.2s}.alink{color:#141443 !important;font-weight:bold;text-decoration:underline !important}.alink:hover{color:#3e438d}#fc_frame.fc-widget-normal{z-index:40 !important}::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-track{background:rgba(200,200,200,.2);border:1px solid #ccc;border:solid 4px transparent}::-webkit-scrollbar-thumb{background:#c4c4c4;border:1px solid #aaa}::-webkit-scrollbar-thumb:hover{background:#fff}@media screen and (min-width: 375px)and (max-width: 767px){.orders-date-picker{width:352px;height:500px;overflow-y:auto;overflow-x:hidden}.orders-date-picker .rdrDateRangePickerWrapper{display:block}.orders-date-picker .rdrDateRangePickerWrapper .rdrDefinedRangesWrapper{border-right:none;width:335px}}@media screen and (max-width: 374px){.orders-date-picker{width:285px;height:400px;overflow-y:auto;overflow-x:hidden}.orders-date-picker .rdrDateRangePickerWrapper{display:block}.orders-date-picker .rdrDateRangePickerWrapper .rdrDefinedRangesWrapper{border-right:none;width:275px}.orders-date-picker .rdrDateRangePickerWrapper .rdrCalendarWrapper{width:275px}.orders-date-picker .rdrDateRangePickerWrapper .rdrCalendarWrapper .rdrMonths .rdrMonth{width:270px}}@media screen and (max-width: 425px){.BBInput{width:100% !important}}.tax-values{margin-top:20px}.tax-values .title{font-weight:bold;text-align:center;margin-bottom:20px;font-size:16px}.tax-values .no-values{text-align:center;width:80%;display:block;color:gray;font-size:16px;margin-top:10px;margin-bottom:10px;padding:5px 0px;border-top:1px solid #d3d3d3;border-bottom:1px solid #d3d3d3;margin-left:auto;margin-right:auto}.tax-values .tax-values-header{display:flex;width:100%;margin-bottom:15px;font-weight:bold}.tax-values .tax-values-header .zones{width:69.5%}.tax-values .tax-pair{display:flex;justify-content:space-between;align-items:center;align-content:center;margin-bottom:15px}.tax-values .tax-pair .zone{align-self:center;width:60%}.tax-values .tax-pair .tax{width:20% !important;margin-left:40px}.tax-values .tax-pair button{color:#fff;background-color:#141443;text-align:center;display:flex;align-items:center;justify-content:center;height:40px;width:40px;text-transform:capitalize}@media screen and (max-width: 768px){.tax-values .tax-pair button{margin-left:15px}}.tax-values .defaults{display:flex;flex-direction:column;justify-content:center;align-items:center}.tax-values .defaults .other-values-container{display:flex;width:100%;justify-content:space-between;margin-bottom:15px;align-items:center}.tax-values .defaults .other-values-container>div{width:60%}.tax-values .defaults .other-values-container .tax{width:20%;margin-right:calc(20% - 74px)}@media screen and (max-width: 425px){.tax-values .defaults .other-values-container .tax{margin-right:15%}}@media screen and (max-width: 768px){.tax-values .defaults .other-values-container .tax{margin-right:11.3%}}.tax-values .tax-values-footer{display:flex;flex-direction:column;justify-content:center;align-items:left}.tax-values .tax-values-footer button{background-color:#141443;color:#fff;text-align:center;width:25%;height:40px;display:flex;align-items:center;justify-content:center;text-transform:capitalize}@media screen and (max-width: 768px){.tax-values .tax-values-footer button{width:140px}}.tax-values .tax-values-footer button em{text-align:center;padding-right:10px;align-self:center}.tax-values .tax-values-footer button.disabled{cursor:not-allowed}.overlay{position:absolute;background:rgba(0,0,0,.75);z-index:38;top:0;left:0;height:100vh;width:100vw}.overlay-elements{z-index:39;position:absolute;top:0;left:0;height:100vh;width:100vw}.overlay-elements h2{color:#fff;font-weight:bold;text-align:left;font-size:35px;margin-top:10%}.overlay-elements em{position:absolute;color:#fff;font-size:30px;right:2%;top:2%}.overlay-elements em:hover{cursor:pointer}.overlay-elements .pulse{display:block;width:22px;height:22px;border-radius:50%;background:#fff;cursor:pointer;box-shadow:0 0 0 rgba(255,255,255,.4);animation:pulse 2s infinite}.overlay-elements .pulse:hover{animation:none}@-webkit-keyframes pulse{0%{-webkit-box-shadow:0 0 0 0 rgba(255,255,255,.4)}70%{-webkit-box-shadow:0 0 0 10px rgba(255,255,255,0)}100%{-webkit-box-shadow:0 0 0 0 rgba(255,255,255,0)}}@keyframes pulse{0%{-moz-box-shadow:0 0 0 0 rgba(255,255,255,.4);box-shadow:0 0 0 0 rgba(255,255,255,.4)}70%{-moz-box-shadow:0 0 0 10px rgba(255,255,255,0);box-shadow:0 0 0 10px rgba(255,255,255,0)}100%{-moz-box-shadow:0 0 0 0 rgba(255,255,255,0);box-shadow:0 0 0 0 rgba(255,255,255,0)}}.overlay-elements .arrow{position:absolute;bottom:25px;right:160px;transform:rotate(-90deg)}@media screen and (max-width: 1024px){.overlay-elements .arrow{bottom:125px;right:160px}}@media screen and (max-width: 425px){.overlay-elements .arrow{bottom:6.5%;right:30%}}@media screen and (max-width: 375px){.overlay-elements .arrow{bottom:120px;right:125px}}.overlay-elements .arrow span{display:block;width:30px;height:30px;border-bottom:5px solid #fff;border-right:5px solid #fff;transform:rotate(45deg);margin:-10px;animation:animate 2s infinite}@media screen and (max-width: 425px){.overlay-elements .arrow span{width:15px;height:15px}}.overlay-elements .arrow span:nth-child(2){animation-delay:-0.2s}.overlay-elements .arrow span:nth-child(3){animation-delay:-0.4s}@keyframes animate{0%{opacity:0;transform:rotate(45deg) translate(-20px, -20px)}50%{opacity:1}100%{opacity:0;transform:rotate(45deg) translate(20px, 20px)}}.overlay-elements .circle{width:85px;height:85px;border-radius:45px;position:fixed;right:7px;bottom:10px;background:#fff}@media screen and (max-width: 768px){.overlay-elements .circle{width:72px;height:72px}}.overlay-elements .sub-container{position:absolute;top:15vh;left:10vw;display:flex;justify-content:center}@media screen and (max-width: 768px){.overlay-elements .sub-container{flex-direction:column;top:3vh;left:0;justify-content:center;align-items:center}}@media screen and (max-width: 375px){.overlay-elements .sub-container{top:.1vh;left:0}}@media screen and (max-width: 320px){.overlay-elements .sub-container{left:0}}.overlay-elements .sub-container img{width:350px;height:600px;margin-right:40px}@media screen and (max-width: 1024px){.overlay-elements .sub-container img{width:300px;height:unset}}@media screen and (max-width: 425px){.overlay-elements .sub-container img{height:unset;width:200px !important;margin-right:0px}}@media screen and (max-width: 768px){.overlay-elements .sub-container img{height:unset;width:320px;margin-right:0px}}.overlay-elements .sub-container .text-container{background:rgba(255,255,255,.95);min-height:150px;padding:15px;margin-top:30px;margin-right:50px;-webkit-filter:drop-shadow(5px 5px 10px rgba(0, 0, 0, 0.3));filter:drop-shadow(5px 5px 10px rgba(0, 0, 0, 0.3))}@media screen and (max-width: 375px){.overlay-elements .sub-container .text-container{min-height:unset}}@media screen and (max-width: 768px){.overlay-elements .sub-container .text-container{margin-left:10px;margin-right:10px}}.overlay-elements .sub-container .skipButton-container .skipButton{margin-top:20px;text-transform:capitalize}@media screen and (min-width: 315px)and (max-width: 325px)and (max-height: 568px){.overlay-elements .sub-container .skipButton-container{justify-content:flex-start !important}.overlay-elements .sub-container .skipButton-container .skipButton{margin-left:10px}}.invisible-circle{background:rgba(255,255,255,0);width:85px;height:85px;border-radius:45px;position:absolute;right:7px;bottom:10px;z-index:61}.breadcrumb-title-container{display:flex;align-items:center}.breadcrumb-title-container .clone-button{display:flex;background:none;justify-content:center;align-self:center;font-size:16px;margin-left:0px;cursor:pointer}.sidebar-toggle-row{width:100%;display:flex;align-items:center;justify-content:space-between;margin-top:10px}.sidebar-toggle-row span{color:#141443;font-weight:bold;font-size:1.1em}.dummy-tag{background:#141443;color:#fff;border-radius:15px;font-weight:bold;font-size:.9em;padding:1px 10px;cursor:default !important;margin-left:15px}.dummy-tag-small{background:#141443;color:#fff;border-radius:15px;font-weight:bold;font-size:.7em;padding:1px 8px}.row-name{text-overflow:ellipsis;display:inline-block;overflow:hidden;white-space:nowrap}.language-dropdown-sidebar{height:35px !important;display:flex !important;width:calc(100% - 5px) !important;justify-content:flex-end !important}.ace_editor *{font-family:unset;font-size:unset}.absolute-range{z-index:100;position:absolute;right:145px;top:140px}.grayed-format input{border:1px solid #d3d3d3;height:40px}.testTip{font-size:20px !important;pointer-events:auto !important}.testTip:hover{visibility:visible !important;opacity:1 !important}.General_title_multi{display:flex !important;width:100%;align-items:center;justify-content:space-between;margin-bottom:20px}.General_title_multi em{margin-right:10px}.General_title_multi .General_title_group{display:flex;align-items:center}.m10r{margin-right:10px}.General_graph_options{display:flex}.General_graph_options div{transition:.5s;display:flex;justify-content:center;align-items:center;min-width:110px;padding:5px 20px;border-collapse:collapse;cursor:pointer;user-select:none;margin-right:10px;font-size:.9em;height:30px;color:#141443;border:1px solid #141443;box-shadow:1px 1px 2px #141443;font-weight:bold}.General_graph_options div:first-of-type{border-top-right-radius:0;border-bottom-right-radius:0;margin-right:-1px}.General_graph_options div:last-of-type{border-top-left-radius:0;border-bottom-left-radius:0}.General_graph_options div:hover{transform:translateY(-2px)}.General_graph_options .selected{background-image:linear-gradient(to left, #3e438d, #141443);background-color:#141443;color:#fff;cursor:default}.General_graph_options .selected:hover{background-color:#141443;color:#fff;transform:translateY(0px)}.staff-status{width:120px;text-align:center;color:#fff;font-size:12px;border-radius:10px}.Individual-Business{border:1px solid #d3d3d3;padding-top:8.5px;padding-bottom:8.5px;padding-left:8px}.polygon-option{border:1px solid #141443;height:50px;display:flex;align-items:center;padding:15px;margin-top:10px}.polygon-option:hover{transition:.25s;cursor:pointer;background-color:#74c4c4}.polygon-option span{font-weight:bold}.product_default_list{padding-bottom:5px}.product_default_list .product_category{padding-top:10px;padding-bottom:5px;font-weight:bold;font-size:1.3em;color:#141443}.product_default_list .product_category .product_arrow{transition:.2s;transform:rotate(-90deg)}.product_default_list .product_category .product_arrow.active{transform:rotate(90deg)}.product_default_list .product_sub_category{padding-top:4px;font-weight:bold;font-size:.9em;position:relative;margin:0 10px}.product_default_list .product_sub_sub_category{padding-top:4px;font-size:1em;margin-left:10px}.product_default_list .product_sub_sub_category~.product_sub_category~.product_category{margin-top:15px;border-top-width:1px;border-top-color:rgba(0,0,0,.05);border-top-style:solid}.product_default_list .product_option{width:20px;height:20px;border-radius:20px;border:2px solid #333;background-color:transparent;transition:.2s}.product_default_list .product_option.selected{border:7px solid #141443;background-color:#141443;box-shadow:0px 4px 4px 0px rgba(20,20,67,.4)}.product_default_list .product_category,.product_default_list .product_sub_category,.product_default_list .product_sub_sub_category{width:auto;display:flex;flex-direction:row;align-items:center;justify-content:space-between}.product_default_list .product_category:active .product_option,.product_default_list .product_sub_category:active .product_option,.product_default_list .product_sub_sub_category:active .product_option{transform:scale(0.8)}.product_default_list .product_category:hover .product_option,.product_default_list .product_sub_category:hover .product_option,.product_default_list .product_sub_sub_category:hover .product_option{border:2px solid #3737b9}.Modal{background:#cdcdcd;position:relative;padding:20px 40px;height:100%;width:auto;justify-content:center;align-items:center}.Modal .closeModal{cursor:pointer;transition:.2s;display:block;font-size:1.2em;color:#434343;position:fixed;top:10px;right:10px}.Modal .closeModal:hover{color:#000}.MuiTypography-h2{letter-spacing:0 !important}.jodit-workplace{height:400px !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"}},"1e4434eb56bf7a9cdbd6":function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports.default=e.exports},"1e4534d1d62a11482e97":function(e,t,l){var n,r,a={},o=(n=function(){return window&&document&&document.all&&!window.atob},function(){return"undefined"===typeof r&&(r=n.apply(this,arguments)),r}),i=function(e,t){return t?t.querySelector(e):document.querySelector(e)},s=function(e){var t={};return function(e,l){if("function"===typeof e)return e();if("undefined"===typeof t[e]){var n=i.call(this,e,l);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}}(),c=null,u=0,d=[],f=l("0aac488a388d7f2d0eea");function p(e,t){for(var l=0;l=0&&d.splice(t,1)}function b(e){var t=document.createElement("style");if(void 0===e.attrs.type&&(e.attrs.type="text/css"),void 0===e.attrs.nonce){var n=function(){0;return l.nc}();n&&(e.attrs.nonce=n)}return v(t,e.attrs),m(e,t),t}function v(e,t){Object.keys(t).forEach((function(l){e.setAttribute(l,t[l])}))}function y(e,t){var l,n,r,a;if(t.transform&&e.css){if(!(a="function"===typeof t.transform?t.transform(e.css):t.transform.default(e.css)))return function(){};e.css=a}if(t.singleton){var o=u++;l=c||(c=b(t)),n=S.bind(null,l,o,!1),r=S.bind(null,l,o,!0)}else e.sourceMap&&"function"===typeof URL&&"function"===typeof URL.createObjectURL&&"function"===typeof URL.revokeObjectURL&&"function"===typeof Blob&&"function"===typeof btoa?(l=function(e){var t=document.createElement("link");return void 0===e.attrs.type&&(e.attrs.type="text/css"),e.attrs.rel="stylesheet",v(t,e.attrs),m(e,t),t}(t),n=k.bind(null,l,t),r=function(){g(l),l.href&&URL.revokeObjectURL(l.href)}):(l=b(t),n=C.bind(null,l),r=function(){g(l)});return n(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;n(e=t)}else r()}}e.exports=function(e,t){if("undefined"!==typeof DEBUG&&DEBUG&&"object"!==typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(t=t||{}).attrs="object"===typeof t.attrs?t.attrs:{},t.singleton||"boolean"===typeof t.singleton||(t.singleton=o()),t.insertInto||(t.insertInto="head"),t.insertAt||(t.insertAt="bottom");var l=h(e,t);return p(l,t),function(e){for(var n=[],r=0;r(t=parseInt(t.getAttribute("tabindex")))?1:e1&&void 0!==arguments[1]?arguments[1]:"flex";e.style.opacity="",e.style.display=t},ie=function(e){e.style.opacity="",e.style.display="none"},se=function(e,t,l){t?oe(e,l):ie(e)},ce=function(e){return!(!e||!(e.offsetWidth||e.offsetHeight||e.getClientRects().length))},ue=function(e){return!!(e.scrollHeight>e.clientHeight)},de=function(e){var t=window.getComputedStyle(e),l=parseFloat(t.getPropertyValue("animation-duration")||"0"),n=parseFloat(t.getPropertyValue("transition-duration")||"0");return l>0||n>0},fe=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],l=V();ce(l)&&(t&&(l.style.transition="none",l.style.width="100%"),setTimeout((function(){l.style.transition="width ".concat(e/1e3,"s linear"),l.style.width="0%"}),10))},pe=function(){return"undefined"===typeof window||"undefined"===typeof document},he='\n
\n
\n
    \n
    \n
    \n
    \n
    \n
    \n \n

    \n \n
    \n
    \n
    \n \n \n
    \n \n \n
    \n \n
    \n \n \n
    \n
    \n
    \n \n \n
    \n
    \n
    \n
    \n
    \n
    \n').replace(/(^|\n)\s*/g,""),me=function(e){sl.isVisible()&&Q!==e.target.value&&sl.resetValidationMessage(),Q=e.target.value},ge=function(e){var t,l=!!(t=E())&&(t.parentNode.removeChild(t),ne([document.documentElement,document.body],[k["no-backdrop"],k["toast-shown"],k["has-column"]]),!0);if(pe())h("SweetAlert2 requires document to initialize");else{var n=document.createElement("div");n.className=k.container,l&&le(n,k["no-transition"]),K(n,he);var r,a,o,i,s,c,u,d,f,p="string"===typeof(r=e.target)?document.querySelector(r):r;p.appendChild(n),function(e){var t=A();t.setAttribute("role",e.toast?"alert":"dialog"),t.setAttribute("aria-live",e.toast?"polite":"assertive"),e.toast||t.setAttribute("aria-modal","true")}(e),function(e){"rtl"===window.getComputedStyle(e).direction&&le(E(),k.rtl)}(p),a=R(),o=re(a,k.input),i=re(a,k.file),s=a.querySelector(".".concat(k.range," input")),c=a.querySelector(".".concat(k.range," output")),u=re(a,k.select),d=a.querySelector(".".concat(k.checkbox," input")),f=re(a,k.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}}},be=function(t,l){t instanceof HTMLElement?l.appendChild(t):"object"===e(t)?ve(t,l):t&&K(l,t)},ve=function(e,t){e.jquery?ye(t,e):K(t,e.toString())},ye=function(e,t){if(e.textContent="",0 in t)for(var l=0;l in t;l++)e.appendChild(t[l].cloneNode(!0));else e.appendChild(t.cloneNode(!0))},we=function(){if(pe())return!1;var e=document.createElement("div"),t={WebkitAnimation:"webkitAnimationEnd",OAnimation:"oAnimationEnd oanimationend",animation:"animationend"};for(var l in t)if(Object.prototype.hasOwnProperty.call(t,l)&&"undefined"!==typeof e.style[l])return t[l];return!1}(),xe=function(e,t){var l=F(),n=j(),r=L();t.showConfirmButton||t.showCancelButton||ie(l),X(l,t,"actions"),Se(n,"confirm",t),Se(r,"cancel",t),t.buttonsStyling?function(e,t,l){if(le([e,t],k.styled),l.confirmButtonColor&&(e.style.backgroundColor=l.confirmButtonColor),l.cancelButtonColor&&(t.style.backgroundColor=l.cancelButtonColor),!G()){var n=window.getComputedStyle(e).getPropertyValue("background-color");e.style.borderLeftColor=n,e.style.borderRightColor=n}}(n,r,t):(ne([n,r],k.styled),n.style.backgroundColor=n.style.borderLeftColor=n.style.borderRightColor="",r.style.backgroundColor=r.style.borderLeftColor=r.style.borderRightColor=""),t.reverseButtons&&n.parentNode.insertBefore(r,n)};function Se(e,t,l){var n;se(e,l["show".concat((n=t,n.charAt(0).toUpperCase()+n.slice(1)),"Button")],"inline-block"),K(e,l["".concat(t,"ButtonText")]),e.setAttribute("aria-label",l["".concat(t,"ButtonAriaLabel")]),e.className=k[t],X(e,l,"".concat(t,"Button")),le(e,l["".concat(t,"ButtonClass")])}var Ce=function(e,t){var l=E();if(l){!function(e,t){"string"===typeof t?e.style.background=t:t||le([document.documentElement,document.body],k["no-backdrop"])}(l,t.backdrop),!t.backdrop&&t.allowOutsideClick&&p('"allowOutsideClick" parameter requires `backdrop` parameter to be set to `true`'),function(e,t){t in k?le(e,k[t]):(p('The "position" parameter is not valid, defaulting to "center"'),le(e,k.center))}(l,t.position),function(e,t){if(t&&"string"===typeof t){var l="grow-".concat(t);l in k&&le(e,k[l])}}(l,t.grow),X(l,t,"container");var n=document.body.getAttribute("data-swal2-queue-step");n&&(l.setAttribute("data-queue-step",n),document.body.removeAttribute("data-swal2-queue-step"))}},ke={promise:new WeakMap,innerParams:new WeakMap,domCache:new WeakMap},_e=["input","file","range","select","radio","checkbox","textarea"],Ee=function(e){if(!Pe[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=Me(e.input),l=Pe[e.input](t,e);oe(l),setTimeout((function(){ee(l)}))},Oe=function(e,t){var l=J(R(),e);if(l)for(var n in function(e){for(var t=0;tl?"".concat(t,"px"):null})).observe(e,{attributes:!0,attributeFilter:["style"]})}return e};var De=function(e,t){var l=R().querySelector("#".concat(k.content));t.html?(be(t.html,l),oe(l,"block")):t.text?(l.textContent=t.text,oe(l,"block")):ie(l),function(e,t){var l=R(),n=ke.innerParams.get(e),r=!n||t.input!==n.input;_e.forEach((function(e){var n=k[e],a=re(l,n);Oe(e,t.inputAttributes),a.className=n,r&&ie(a)})),t.input&&(r&&Ee(t),Te(t))}(e,t),X(R(),t,"content")},Re=function(){for(var e=M(),t=0;t\n \n
    \n
    \n '):"error"===t.icon?K(e,'\n \n \n \n \n '):K(e,Ie({question:"?",warning:"!",info:"i"}[t.icon]))},Ie=function(e){return'
    ').concat(e,"
    ")},je=[],Le=function(){return E()&&E().getAttribute("data-queue-step")},Fe=function(e,t){var l=B();if(!t.progressSteps||0===t.progressSteps.length)return ie(l);oe(l),l.textContent="";var n=parseInt(void 0===t.currentProgressStep?Le():t.currentProgressStep);n>=t.progressSteps.length&&p("Invalid currentProgressStep parameter, it should be less than progressSteps.length (currentProgressStep like JS arrays starts from 0)"),t.progressSteps.forEach((function(e,r){var a=function(e){var t=document.createElement("li");return le(t,k["progress-step"]),K(t,e),t}(e);if(l.appendChild(a),r===n&&le(a,k["active-progress-step"]),r!==t.progressSteps.length-1){var o=function(e){var t=document.createElement("li");return le(t,k["progress-step-line"]),e.progressStepsDistance&&(t.style.width=e.progressStepsDistance),t}(t);l.appendChild(o)}}))},ze=function(e,t){var l=z();X(l,t,"header"),Fe(0,t),function(e,t){var l=ke.innerParams.get(e);if(l&&t.icon===l.icon&&P())X(P(),t,"icon");else if(Re(),t.icon)if(-1!==Object.keys(_).indexOf(t.icon)){var n=O(".".concat(k.icon,".").concat(_[t.icon]));oe(n),Be(n,t),Ne(),X(n,t,"icon"),le(n,t.showClass.icon)}else h('Unknown icon! Expected "success", "error", "warning", "info" or "question", got "'.concat(t.icon,'"'))}(e,t),function(e,t){var l=N();if(!t.imageUrl)return ie(l);oe(l,""),l.setAttribute("src",t.imageUrl),l.setAttribute("alt",t.imageAlt),ae(l,"width",t.imageWidth),ae(l,"height",t.imageHeight),l.className=k.image,X(l,t,"image")}(0,t),function(e,t){var l=D();se(l,t.title||t.titleText),t.title&&be(t.title,l),t.titleText&&(l.innerText=t.titleText),X(l,t,"title")}(0,t),function(e,t){var l=H();K(l,t.closeButtonHtml),X(l,t,"closeButton"),se(l,t.showCloseButton),l.setAttribute("aria-label",t.closeButtonAriaLabel)}(0,t)},Ue=function(e,t){e.className="".concat(k.popup," ").concat(ce(e)?t.showClass.popup:""),t.toast?(le([document.documentElement,document.body],k["toast-shown"]),le(e,k.toast)):le(e,k.modal),X(e,t,"popup"),"string"===typeof t.customClass&&le(e,t.customClass),t.icon&&le(e,k["icon-".concat(t.icon)])},Ve=function(e,t){!function(e,t){var l=A();ae(l,"width",t.width),ae(l,"padding",t.padding),t.background&&(l.style.background=t.background),Ue(l,t)}(0,t),Ce(0,t),ze(e,t),De(e,t),xe(0,t),function(e,t){var l=U();se(l,t.footer),t.footer&&be(t.footer,l),X(l,t,"footer")}(0,t),"function"===typeof t.onRender&&t.onRender(A())},He=function(){return j()&&j().click()},We=function(){var e=A();e||sl.fire(),e=A();var t=F(),l=j();oe(t),oe(l,"inline-block"),le([e,t],k.loading),l.disabled=!0,e.setAttribute("data-loading",!0),e.setAttribute("aria-busy",!0),e.focus()},Ze={},$e=function(){return new Promise((function(e){var t=window.scrollX,l=window.scrollY;Ze.restoreFocusTimeout=setTimeout((function(){Ze.previousActiveElement&&Ze.previousActiveElement.focus?(Ze.previousActiveElement.focus(),Ze.previousActiveElement=null):document.body&&document.body.focus(),e()}),100),"undefined"!==typeof t&&"undefined"!==typeof l&&window.scrollTo(t,l)}))},Ge=function(){if(Ze.timeout)return function(){var e=V(),t=parseInt(window.getComputedStyle(e).width);e.style.removeProperty("transition"),e.style.width="100%";var l=parseInt(window.getComputedStyle(e).width),n=parseInt(t/l*100);e.style.removeProperty("transition"),e.style.width="".concat(n,"%")}(),Ze.timeout.stop()},qe=function(){if(Ze.timeout){var e=Ze.timeout.start();return fe(e),e}},Ke={title:"",titleText:"",text:"",html:"",footer:"",icon:void 0,iconHtml:void 0,toast:!1,animation:!0,showClass:{popup:"swal2-show",backdrop:"swal2-backdrop-show",icon:"swal2-icon-show"},hideClass:{popup:"swal2-hide",backdrop:"swal2-backdrop-hide",icon:"swal2-icon-hide"},customClass:void 0,target:"body",backdrop:!0,heightAuto:!0,allowOutsideClick:!0,allowEscapeKey:!0,allowEnterKey:!0,stopKeydownPropagation:!0,keydownListenerCapture:!1,showConfirmButton:!0,showCancelButton:!1,preConfirm:void 0,confirmButtonText:"OK",confirmButtonAriaLabel:"",confirmButtonColor:void 0,cancelButtonText:"Cancel",cancelButtonAriaLabel:"",cancelButtonColor:void 0,buttonsStyling:!0,reverseButtons:!1,focusConfirm:!0,focusCancel:!1,showCloseButton:!1,closeButtonHtml:"×",closeButtonAriaLabel:"Close this dialog",showLoaderOnConfirm:!1,imageUrl:void 0,imageWidth:void 0,imageHeight:void 0,imageAlt:"",timer:void 0,timerProgressBar:!1,width:void 0,padding:void 0,background:void 0,input:void 0,inputPlaceholder:"",inputValue:"",inputOptions:{},inputAutoTrim:!0,inputAttributes:{},inputValidator:void 0,validationMessage:void 0,grow:!1,position:"center",progressSteps:[],currentProgressStep:void 0,progressStepsDistance:void 0,onBeforeOpen:void 0,onOpen:void 0,onRender:void 0,onClose:void 0,onAfterClose:void 0,onDestroy:void 0,scrollbarPadding:!0},Ye=["allowEscapeKey","allowOutsideClick","buttonsStyling","cancelButtonAriaLabel","cancelButtonColor","cancelButtonText","closeButtonAriaLabel","closeButtonHtml","confirmButtonAriaLabel","confirmButtonColor","confirmButtonText","currentProgressStep","customClass","footer","hideClass","html","icon","imageAlt","imageHeight","imageUrl","imageWidth","onAfterClose","onClose","onDestroy","progressSteps","reverseButtons","showCancelButton","showCloseButton","showConfirmButton","text","title","titleText"],Xe={animation:'showClass" and "hideClass'},Je=["allowOutsideClick","allowEnterKey","backdrop","focusConfirm","focusCancel","heightAuto","keydownListenerCapture"],Qe=function(e){return Object.prototype.hasOwnProperty.call(Ke,e)},et=function(e){return Xe[e]},tt=function(e){Qe(e)||p('Unknown parameter "'.concat(e,'"'))},lt=function(e){-1!==Je.indexOf(e)&&p('The parameter "'.concat(e,'" is incompatible with toasts'))},nt=function(e){et(e)&&g(e,et(e))},rt=Object.freeze({isValidParameter:Qe,isUpdatableParameter:function(e){return-1!==Ye.indexOf(e)},isDeprecatedParameter:et,argsToParams:function(t){var l={};return"object"!==e(t[0])||S(t[0])?["title","html","icon"].forEach((function(n,r){var a=t[r];"string"===typeof a||S(a)?l[n]=a:void 0!==a&&h("Unexpected type of ".concat(n,'! Expected "string" or "Element", got ').concat(e(a)))})):r(l,t[0]),l},isVisible:function(){return ce(A())},clickConfirm:He,clickCancel:function(){return L()&&L().click()},getContainer:E,getPopup:A,getTitle:D,getContent:R,getHtmlContainer:function(){return T(k["html-container"])},getImage:N,getIcon:P,getIcons:M,getCloseButton:H,getActions:F,getConfirmButton:j,getCancelButton:L,getHeader:z,getFooter:U,getTimerProgressBar:V,getFocusableElements:W,getValidationMessage:I,isLoading:G,fire:function(){for(var e=this,t=arguments.length,l=new Array(t),n=0;nwindow.innerHeight&&(q.previousBodyPadding=parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right")),document.body.style.paddingRight="".concat(q.previousBodyPadding+function(){var e=document.createElement("div");e.className=k["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)||A().scrollHeight>window.innerHeight-44&&(E().style.paddingBottom="".concat(44,"px"))},st=function(){var e,t=E();t.ontouchstart=function(t){e=ct(t.target)},t.ontouchmove=function(t){e&&(t.preventDefault(),t.stopPropagation())}},ct=function(e){var t=E();return e===t||!(ue(t)||"INPUT"===e.tagName||ue(R())&&R().contains(e))},ut=function(){return!!window.MSInputMethodContext&&!!document.documentMode},dt=function(){var e=E(),t=A();e.style.removeProperty("align-items"),t.offsetTop<0&&(e.style.alignItems="flex-start")},ft={swalPromiseResolve:new WeakMap};function pt(e,t,l,n){l?bt(e,n):($e().then((function(){return bt(e,n)})),Ze.keydownTarget.removeEventListener("keydown",Ze.keydownHandler,{capture:Ze.keydownListenerCapture}),Ze.keydownHandlerAdded=!1),t.parentNode&&!document.body.getAttribute("data-swal2-queue-step")&&t.parentNode.removeChild(t),Z()&&(null!==q.previousBodyPadding&&(document.body.style.paddingRight="".concat(q.previousBodyPadding,"px"),q.previousBodyPadding=null),function(){if(Y(document.body,k.iosfix)){var e=parseInt(document.body.style.top,10);ne(document.body,k.iosfix),document.body.style.top="",document.body.scrollTop=-1*e}}(),"undefined"!==typeof window&&ut()&&window.removeEventListener("resize",dt),f(document.body.children).forEach((function(e){e.hasAttribute("data-previous-aria-hidden")?(e.setAttribute("aria-hidden",e.getAttribute("data-previous-aria-hidden")),e.removeAttribute("data-previous-aria-hidden")):e.removeAttribute("aria-hidden")}))),ne([document.documentElement,document.body],[k.shown,k["height-auto"],k["no-backdrop"],k["toast-shown"],k["toast-column"]])}function ht(e){var t=A();if(t){var l=ke.innerParams.get(this);if(l&&!Y(t,l.hideClass.popup)){var n=ft.swalPromiseResolve.get(this);ne(t,l.showClass.popup),le(t,l.hideClass.popup);var r=E();ne(r,l.showClass.backdrop),le(r,l.hideClass.backdrop),mt(this,t,l),"undefined"!==typeof e?(e.isDismissed="undefined"!==typeof e.dismiss,e.isConfirmed="undefined"===typeof e.dismiss):e={isDismissed:!0,isConfirmed:!1},n(e||{})}}}var mt=function(e,t,l){var n=E(),r=we&&de(t),a=l.onClose,o=l.onAfterClose;null!==a&&"function"===typeof a&&a(t),r?gt(e,t,n,o):pt(e,n,$(),o)},gt=function(e,t,l,n){Ze.swalCloseEventFinishedCallback=pt.bind(null,e,l,$(),n),t.addEventListener(we,(function(e){e.target===t&&(Ze.swalCloseEventFinishedCallback(),delete Ze.swalCloseEventFinishedCallback)}))},bt=function(e,t){setTimeout((function(){"function"===typeof t&&t(),e._destroy()}))};function vt(e,t,l){var n=ke.domCache.get(e);t.forEach((function(e){n[e].disabled=l}))}function yt(e,t){if(!e)return!1;if("radio"===e.type)for(var l=e.parentNode.parentNode.querySelectorAll("input"),n=0;n")),ge(e)}var Ct=function(e){var t=E(),l=A();"function"===typeof e.onBeforeOpen&&e.onBeforeOpen(l);var n=window.getComputedStyle(document.body).overflowY;Tt(t,l,e),Et(t,l),Z()&&(Ot(t,e.scrollbarPadding,n),f(document.body.children).forEach((function(e){e===E()||function(e,t){if("function"===typeof e.contains)return e.contains(t)}(e,E())||(e.hasAttribute("aria-hidden")&&e.setAttribute("data-previous-aria-hidden",e.getAttribute("aria-hidden")),e.setAttribute("aria-hidden","true"))}))),$()||Ze.previousActiveElement||(Ze.previousActiveElement=document.activeElement),"function"===typeof e.onOpen&&setTimeout((function(){return e.onOpen(l)})),ne(t,k["no-transition"])};function kt(e){var t=A();if(e.target===t){var l=E();t.removeEventListener(we,kt),l.style.overflowY="auto"}}var _t,Et=function(e,t){we&&de(t)?(e.style.overflowY="hidden",t.addEventListener(we,kt)):e.style.overflowY="auto"},Ot=function(e,t,l){!function(){if((/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream||"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1)&&!Y(document.body,k.iosfix)){var e=document.body.scrollTop;document.body.style.top="".concat(-1*e,"px"),le(document.body,k.iosfix),st(),it()}}(),"undefined"!==typeof window&&ut()&&(dt(),window.addEventListener("resize",dt)),t&&"hidden"!==l&&ot(),setTimeout((function(){e.scrollTop=0}))},Tt=function(e,t,l){le(e,l.showClass.backdrop),oe(t),le(t,l.showClass.popup),le([document.documentElement,document.body],k.shown),l.heightAuto&&l.backdrop&&!l.toast&&le([document.documentElement,document.body],k["height-auto"])},At=function(e){return e.checked?1:0},Mt=function(e){return e.checked?e.value:null},Pt=function(e){return e.files.length?null!==e.getAttribute("multiple")?e.files:e.files[0]:null},Dt=function(t,l){var n=R(),r=function(e){return Nt[l.input](n,Bt(e),l)};v(l.inputOptions)||w(l.inputOptions)?(We(),y(l.inputOptions).then((function(e){t.hideLoading(),r(e)}))):"object"===e(l.inputOptions)?r(l.inputOptions):h("Unexpected type of inputOptions! Expected object, Map or Promise, got ".concat(e(l.inputOptions)))},Rt=function(e,t){var l=e.getInput();ie(l),y(t.inputValue).then((function(n){l.value="number"===t.input?parseFloat(n)||0:"".concat(n),oe(l),l.focus(),e.hideLoading()})).catch((function(t){h("Error in inputValue promise: ".concat(t)),l.value="",oe(l),l.focus(),e.hideLoading()}))},Nt={select:function(e,t,l){var n=re(e,k.select),r=function(e,t,n){var r=document.createElement("option");r.value=n,K(r,t),l.inputValue.toString()===n.toString()&&(r.selected=!0),e.appendChild(r)};t.forEach((function(e){var t=e[0],l=e[1];if(Array.isArray(l)){var a=document.createElement("optgroup");a.label=t,a.disabled=!1,n.appendChild(a),l.forEach((function(e){return r(a,e[1],e[0])}))}else r(n,l,t)})),n.focus()},radio:function(e,t,l){var n=re(e,k.radio);t.forEach((function(e){var t=e[0],r=e[1],a=document.createElement("input"),o=document.createElement("label");a.type="radio",a.name=k.radio,a.value=t,l.inputValue.toString()===t.toString()&&(a.checked=!0);var i=document.createElement("span");K(i,r),i.className=k.label,o.appendChild(a),o.appendChild(i),n.appendChild(o)}));var r=n.querySelectorAll("input");r.length&&r[0].focus()}},Bt=function t(l){var n=[];return"undefined"!==typeof Map&&l instanceof Map?l.forEach((function(l,r){var a=l;"object"===e(a)&&(a=t(a)),n.push([r,a])})):Object.keys(l).forEach((function(r){var a=l[r];"object"===e(a)&&(a=t(a)),n.push([r,a])})),n},It=function(e,t){var l=function(e,t){var l=e.getInput();if(!l)return null;switch(t.input){case"checkbox":return At(l);case"radio":return Mt(l);case"file":return Pt(l);default:return t.inputAutoTrim?l.value.trim():l.value}}(e,t);t.inputValidator?(e.disableInput(),Promise.resolve().then((function(){return y(t.inputValidator(l,t.validationMessage))})).then((function(n){e.enableButtons(),e.enableInput(),n?e.showValidationMessage(n):Lt(e,t,l)}))):e.getInput().checkValidity()?Lt(e,t,l):(e.enableButtons(),e.showValidationMessage(t.validationMessage))},jt=function(e,t){e.closePopup({value:t})},Lt=function(e,t,l){t.showLoaderOnConfirm&&We(),t.preConfirm?(e.resetValidationMessage(),Promise.resolve().then((function(){return y(t.preConfirm(l,t.validationMessage))})).then((function(t){ce(I())||!1===t?e.hideLoading():jt(e,"undefined"===typeof t?l:t)}))):jt(e,l)},Ft=function(e,t,l){for(var n=W(),r=0;r: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}')},"1f817169a0417ee910d8":function(e,t,l){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.getRegisteredStyles=function(e,t,l){var n="";return l.split(" ").forEach((function(l){void 0!==e[l]?t.push(e[l]):n+=l+" "})),n},t.insertStyles=function(e,t,l){var n=e.key+"-"+t.name;if(!1===l&&void 0===e.registered[n]&&(e.registered[n]=t.styles),void 0===e.inserted[t.name]){var r=t;do{e.insert("."+n,r,e.sheet,!0);r=r.next}while(void 0!==r)}}},"1f9b441223cc60b0f9fa":function(e,t,l){"use strict";t.__esModule=!0,t.default=void 0;var n=l("8af190b70a6bc55c6f1b");var r=function(e,t){var l=(0,n.useRef)(!0);(0,n.useEffect)((function(){if(!l.current)return e();l.current=!1}),t)};t.default=r},"1fc39225521483bc07e9":function(e,t,l){"use strict";var n=l("b15c440f0d3f3cc34316");e.exports=n.call(Function.call,Object.prototype.hasOwnProperty)},2:function(e,t){},"205e65e64394f925fc52":function(e,t,l){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.StreetViewPanorama=void 0;var n=h(l("4b8198349f6c2a3ff493")),r=h(l("8a4a7a62a26b8f064358")),a=h(l("acab2ae8d55fd58113d8")),o=h(l("0bf817924258aa08734c")),i=h(l("de6bd889b0c636aa995b")),s=h(l("aa675f1299ad16c8424c")),c=h(l("6a4f9c383785f9168266")),u=h(l("8af190b70a6bc55c6f1b")),d=h(l("6b6feea709b87dcc25f6")),f=l("fc3d88e1f5a42c3907f5"),p=l("ac653f9a50681d429490");function h(e){return e&&e.__esModule?e:{default:e}}var m=t.StreetViewPanorama=function(e){function t(e,l){(0,a.default)(this,t);var n=(0,i.default)(this,(t.__proto__||(0,r.default)(t)).call(this,e,l));return(0,c.default)(!!n.context[p.MAP],"Did you render as a child of with withGoogleMap() HOC?"),(0,f.construct)(t.propTypes,b,n.props,n.context[p.MAP].getStreetView()),n}return(0,s.default)(t,e),(0,o.default)(t,[{key:"getChildContext",value:function(){return(0,n.default)({},p.MAP,this.context[p.MAP].getStreetView())}},{key:"componentDidMount",value:function(){(0,f.componentDidMount)(this,this.context[p.MAP].getStreetView(),g)}},{key:"componentDidUpdate",value:function(e){(0,f.componentDidUpdate)(this,this.context[p.MAP].getStreetView(),g,b,e)}},{key:"componentWillUnmount",value:function(){(0,f.componentWillUnmount)(this);var e=this.context[p.MAP].getStreetView();e&&e.setVisible(!1)}},{key:"render",value:function(){var e=this.props.children;return u.default.createElement("div",null,e)}},{key:"getLinks",value:function(){return this.context[p.MAP].getLinks()}},{key:"getLocation",value:function(){return this.context[p.MAP].getLocation()}},{key:"getMotionTracking",value:function(){return this.context[p.MAP].getMotionTracking()}},{key:"getPano",value:function(){return this.context[p.MAP].getPano()}},{key:"getPhotographerPov",value:function(){return this.context[p.MAP].getPhotographerPov()}},{key:"getPosition",value:function(){return this.context[p.MAP].getPosition()}},{key:"getPov",value:function(){return this.context[p.MAP].getPov()}},{key:"getStatus",value:function(){return this.context[p.MAP].getStatus()}},{key:"getVisible",value:function(){return this.context[p.MAP].getVisible()}},{key:"getZoom",value:function(){return this.context[p.MAP].getZoom()}}]),t}(u.default.PureComponent);m.propTypes={defaultLinks:d.default.any,defaultMotionTracking:d.default.bool,defaultOptions:d.default.any,defaultPano:d.default.string,defaultPosition:d.default.any,defaultPov:d.default.any,defaultVisible:d.default.bool,defaultZoom:d.default.number,links:d.default.any,motionTracking:d.default.bool,options:d.default.any,pano:d.default.string,position:d.default.any,pov:d.default.any,visible:d.default.bool,zoom:d.default.number,onCloseClick:d.default.func,onPanoChanged:d.default.func,onPositionChanged:d.default.func,onPovChanged:d.default.func,onResize:d.default.func,onStatusChanged:d.default.func,onVisibleChanged:d.default.func,onZoomChanged:d.default.func},m.contextTypes=(0,n.default)({},p.MAP,d.default.object),m.childContextTypes=(0,n.default)({},p.MAP,d.default.object),t.default=m;var g={onCloseClick:"closeclick",onPanoChanged:"pano_changed",onPositionChanged:"position_changed",onPovChanged:"pov_changed",onResize:"resize",onStatusChanged:"status_changed",onVisibleChanged:"visible_changed",onZoomChanged:"zoom_changed"},b={links:function(e,t){e.setLinks(t)},motionTracking:function(e,t){e.setMotionTracking(t)},options:function(e,t){e.setOptions(t)},pano:function(e,t){e.setPano(t)},position:function(e,t){e.setPosition(t)},pov:function(e,t){e.setPov(t)},visible:function(e,t){e.setVisible(t)},zoom:function(e,t){e.setZoom(t)}}},"2099e9eb82decad67416":function(e,t,l){"use strict";var n=l("3c4d49135b7c636621cd"),r=l("c20eeba39b976b257181"),a=l("b9ea574e55f659c4c9ac"),o=l("de14b323604f75d01ef9").parse,i=l("aed3fa28de3a4807e92c").parse;e.exports=function(e,t,l){var r=l?function(e){var t,l=e.length,n=-1,r={};for(;++n1){for(var o=new Array(a),i=0;i1){for(var o=new Array(a),i=0;i1){for(var o=new Array(a),i=0;i1){for(var o=new Array(a),i=0;i1){for(var o=new Array(a),i=0;i1){for(var o=new Array(a),i=0;i1){for(var o=new Array(a),i=0;i1){for(var o=new Array(a),i=0;i1){for(var o=new Array(a),i=0;i1){for(var o=new Array(a),i=0;i1){for(var o=new Array(a),i=0;i1){for(var o=new Array(a),i=0;i1){for(var o=new Array(a),i=0;i1){for(var o=new Array(a),i=0;i1){for(var o=new Array(a),i=0;i1){for(var o=new Array(a),i=0;i=0||(r[l]=e[l]);return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,l)&&(r[l]=e[l])}return r}function mn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gn(e,t){for(var l=0;le.color?e.color:"#ffffff"}; padding: 2px; width: 50px; color: white; text-align: center; `,t.Code=n.default.div` display: inline-block; background-color: ${e=>e.color?e.color:"#ffffff"}; padding: 5px; font-size: 18px; margin-right: 10px; width: 100px; color: white; text-align: center `,t.SummaryValues=n.default.div` display: flex; flex-direction: column; div { span { &:nth-child(odd) { color: grey; margin-right: 40px; width: 150px; display: inline-block; font-size: 14px; margin: 10px 0px; } } } `,t.VerticalFlex=n.default.div` display: flex; flex-direction: column; `},"218c389e3d0b75bca757":function(e,t,l){"use strict";t.__esModule=!0,t.createDispatchHook=a,t.useDispatch=void 0;var n=l("085535a1e09c30d8db5e"),r=l("4760a01b6c67caab9dfd");function a(e){void 0===e&&(e=n.ReactReduxContext);var t=e===n.ReactReduxContext?r.useStore:(0,r.createStoreHook)(e);return function(){return t().dispatch}}var o=a();t.useDispatch=o},"21def8c13693e2976f9a":function(e,t){!function(e){"use strict";t.encode=function(t){var l,n=new Uint8Array(t),r=n.length,a="";for(l=0;l>2],a+=e[(3&n[l])<<4|n[l+1]>>4],a+=e[(15&n[l+1])<<2|n[l+2]>>6],a+=e[63&n[l+2]];return r%3===2?a=a.substring(0,a.length-1)+"=":r%3===1&&(a=a.substring(0,a.length-2)+"=="),a},t.decode=function(t){var l,n,r,a,o,i=.75*t.length,s=t.length,c=0;"="===t[t.length-1]&&(i--,"="===t[t.length-2]&&i--);var u=new ArrayBuffer(i),d=new Uint8Array(u);for(l=0;l>4,d[c++]=(15&r)<<4|a>>2,d[c++]=(3&a)<<6|63&o;return u}}("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/")},"22619546b8c1d35cb39a":function(e,t,l){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=l("df7235aba277f4bc0911"),r=l("8af190b70a6bc55c6f1b");l("b659cc8dcea41d1ddb8f");var a=l("eea127faac582450a7f2"),o=l("1f817169a0417ee910d8"),i=l("a921b016ea7717afa2de"),s=l("8e181c90590645f113bd"),c=l("90d726db9c1d45f7279b");function u(e){return e&&e.__esModule?e:{default:e}}var d=u(n),f=u(c),p=function(e,t){var l=arguments;if(null==t||!a.hasOwnProperty.call(t,"css"))return r.createElement.apply(void 0,l);var n=l.length,o=new Array(n);o[0]=a.Emotion,o[1]=a.createEmotionProps(e,t);for(var i=2;i0?r(n(e),9007199254740991):0}},function(e,t,l){t.__esModule=!0,t.default=function(e,t){if(e&&t){var l=Array.isArray(t)?t:t.split(","),n=e.name||"",r=e.type||"",a=r.replace(/\/.*$/,"");return l.some((function(e){var t=e.trim();return"."===t.charAt(0)?n.toLowerCase().endsWith(t.toLowerCase()):t.endsWith("/*")?a===t.replace(/\/.*$/,""):r===t}))}return!0},l(14),l(34)},function(e,t,l){l(15),e.exports=l(2).Array.some},function(e,t,l){var n=l(7),r=l(25)(3);n(n.P+n.F*!l(33)([].some,!0),"Array",{some:function(e){return r(this,e,arguments[1])}})},function(e,t,l){var n=l(17),r=l(18),a=l(20),o=Object.defineProperty;t.f=l(3)?Object.defineProperty:function(e,t,l){if(n(e),t=a(t,!0),n(l),r)try{return o(e,t,l)}catch(e){}if("get"in l||"set"in l)throw TypeError("Accessors not supported!");return"value"in l&&(e[t]=l.value),e}},function(e,t,l){var n=l(1);e.exports=function(e){if(!n(e))throw TypeError(e+" is not an object!");return e}},function(e,t,l){e.exports=!l(3)&&!l(4)((function(){return 7!=Object.defineProperty(l(19)("div"),"a",{get:function(){return 7}}).a}))},function(e,t,l){var n=l(1),r=l(0).document,a=n(r)&&n(r.createElement);e.exports=function(e){return a?r.createElement(e):{}}},function(e,t,l){var n=l(1);e.exports=function(e,t){if(!n(e))return e;var l,r;if(t&&"function"==typeof(l=e.toString)&&!n(r=l.call(e)))return r;if("function"==typeof(l=e.valueOf)&&!n(r=l.call(e)))return r;if(!t&&"function"==typeof(l=e.toString)&&!n(r=l.call(e)))return r;throw TypeError("Can't convert object to primitive value")}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,l){var n=l(0),r=l(8),a=l(23),o=l(9)("src"),i=Function.toString,s=(""+i).split("toString");l(2).inspectSource=function(e){return i.call(e)},(e.exports=function(e,t,l,i){var c="function"==typeof l;c&&(a(l,"name")||r(l,"name",t)),e[t]!==l&&(c&&(a(l,o)||r(l,o,e[t]?""+e[t]:s.join(String(t)))),e===n?e[t]=l:i?e[t]?e[t]=l:r(e,t,l):(delete e[t],r(e,t,l)))})(Function.prototype,"toString",(function(){return"function"==typeof this&&this[o]||i.call(this)}))},function(e,t){var l={}.hasOwnProperty;e.exports=function(e,t){return l.call(e,t)}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,l){var n=l(10),r=l(26),a=l(27),o=l(12),i=l(29);e.exports=function(e,t){var l=1==e,s=2==e,c=3==e,u=4==e,d=6==e,f=5==e||d,p=t||i;return function(t,i,h){for(var m,g,b=a(t),v=r(b),y=n(i,h,3),w=o(v.length),x=0,S=l?p(t,w):s?p(t,0):void 0;w>x;x++)if((f||x in v)&&(g=y(m=v[x],x,b),e))if(l)S[x]=g;else if(g)switch(e){case 3:return!0;case 5:return m;case 6:return x;case 2:S.push(m)}else if(u)return!1;return d?-1:c||u?u:S}}},function(e,t,l){var n=l(5);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==n(e)?e.split(""):Object(e)}},function(e,t,l){var n=l(11);e.exports=function(e){return Object(n(e))}},function(e,t){var l=Math.ceil,n=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?n:l)(e)}},function(e,t,l){var n=l(30);e.exports=function(e,t){return new(n(e))(t)}},function(e,t,l){var n=l(1),r=l(31),a=l(6)("species");e.exports=function(e){var t;return r(e)&&("function"!=typeof(t=e.constructor)||t!==Array&&!r(t.prototype)||(t=void 0),n(t)&&null===(t=t[a])&&(t=void 0)),void 0===t?Array:t}},function(e,t,l){var n=l(5);e.exports=Array.isArray||function(e){return"Array"==n(e)}},function(e,t,l){var n=l(0),r=n["__core-js_shared__"]||(n["__core-js_shared__"]={});e.exports=function(e){return r[e]||(r[e]={})}},function(e,t,l){var n=l(4);e.exports=function(e,t){return!!e&&n((function(){t?e.call(null,(function(){}),1):e.call(null)}))}},function(e,t,l){l(35),e.exports=l(2).String.endsWith},function(e,t,l){var n=l(7),r=l(12),a=l(36),o="".endsWith;n(n.P+n.F*l(38)("endsWith"),"String",{endsWith:function(e){var t=a(this,e,"endsWith"),l=arguments.length>1?arguments[1]:void 0,n=r(t.length),i=void 0===l?n:Math.min(r(l),n),s=String(e);return o?o.call(t,s,i):t.slice(i-s.length,i)===s}})},function(e,t,l){var n=l(37),r=l(11);e.exports=function(e,t,l){if(n(t))throw TypeError("String#"+l+" doesn't accept regex!");return String(r(e))}},function(e,t,l){var n=l(1),r=l(5),a=l(6)("match");e.exports=function(e){var t;return n(e)&&(void 0!==(t=e[a])?!!t:"RegExp"==r(e))}},function(e,t,l){var n=l(6)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(l){try{return t[n]=!1,!"/./"[e](t)}catch(e){}}return!0}}])}(l={exports:{}}),l.exports),a=(n=r)&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n,o=function(){function e(e,t){for(var l=0;l=0||Object.prototype.hasOwnProperty.call(e,n)&&(l[n]=e[n]);return l},c="undefined"==typeof document||!document||!document.createElement||"multiple"in document.createElement("input");function u(e,t){return"application/x-moz-file"===e.type||a(e,t)}function d(e){return!e.dataTransfer||Array.prototype.every.call(e.dataTransfer.types,(function(e){return"Files"===e||"application/x-moz-file"===e}))}function f(e){e.preventDefault()}var p={borderStyle:"solid",backgroundColor:"#eee"},h={borderStyle:"solid",borderColor:"#6c6",backgroundColor:"#eee"},m={borderStyle:"solid",borderColor:"#c66",backgroundColor:"#eee"},g={width:200,height:200,borderWidth:2,borderColor:"#666",borderStyle:"dashed",borderRadius:5},b={opacity:.5},v=function(t){function l(e,t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(l.__proto__||Object.getPrototypeOf(l)).call(this,e,t));return n.renderChildren=function(e,t,l,r){return"function"==typeof e?e(i({},n.state,{isDragActive:t,isDragAccept:l,isDragReject:r,open:n.open})):e},n.composeHandlers=n.composeHandlers.bind(n),n.onClick=n.onClick.bind(n),n.onDocumentDrop=n.onDocumentDrop.bind(n),n.onDragEnter=n.onDragEnter.bind(n),n.onDragLeave=n.onDragLeave.bind(n),n.onDragOver=n.onDragOver.bind(n),n.onDragStart=n.onDragStart.bind(n),n.onDrop=n.onDrop.bind(n),n.onFileDialogCancel=n.onFileDialogCancel.bind(n),n.onInputElementClick=n.onInputElementClick.bind(n),n.open=n.open.bind(n),n.setRef=n.setRef.bind(n),n.setRefs=n.setRefs.bind(n),n.isFileDialogActive=!1,n.state={draggedFiles:[],acceptedFiles:[],rejectedFiles:[]},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(l,e.Component),o(l,[{key:"componentDidMount",value:function(){var e=this.props.preventDropOnDocument;this.dragTargets=[],e&&(document.addEventListener("dragover",f,!1),document.addEventListener("drop",this.onDocumentDrop,!1)),null!=this.fileInputEl&&this.fileInputEl.addEventListener("click",this.onInputElementClick,!1),window.addEventListener("focus",this.onFileDialogCancel,!1)}},{key:"componentWillUnmount",value:function(){this.props.preventDropOnDocument&&(document.removeEventListener("dragover",f),document.removeEventListener("drop",this.onDocumentDrop)),null!=this.fileInputEl&&this.fileInputEl.removeEventListener("click",this.onInputElementClick,!1),window.removeEventListener("focus",this.onFileDialogCancel,!1)}},{key:"composeHandlers",value:function(e){return this.props.disabled?null:e}},{key:"onDocumentDrop",value:function(e){this.node&&this.node.contains(e.target)||(e.preventDefault(),this.dragTargets=[])}},{key:"onDragStart",value:function(e){e.persist(),this.props.onDragStart&&d(e)&&this.props.onDragStart.call(this,e)}},{key:"onDragEnter",value:function(e){var t=this;e.preventDefault(),-1===this.dragTargets.indexOf(e.target)&&this.dragTargets.push(e.target),e.persist(),d(e)&&(Promise.resolve(this.props.getDataTransferItems(e)).then((function(l){e.isPropagationStopped()||t.setState({draggedFiles:l,isDragActive:!0})})),this.props.onDragEnter&&this.props.onDragEnter.call(this,e))}},{key:"onDragOver",value:function(e){e.preventDefault(),e.persist();try{e.dataTransfer.dropEffect=this.isFileDialogActive?"none":"copy"}catch(e){}return this.props.onDragOver&&d(e)&&this.props.onDragOver.call(this,e),!1}},{key:"onDragLeave",value:function(e){var t=this;e.preventDefault(),e.persist(),this.dragTargets=this.dragTargets.filter((function(l){return l!==e.target&&t.node.contains(l)})),this.dragTargets.length>0||(this.setState({isDragActive:!1,draggedFiles:[]}),this.props.onDragLeave&&d(e)&&this.props.onDragLeave.call(this,e))}},{key:"onDrop",value:function(e){var t=this,l=this.props,n=l.onDrop,r=l.onDropAccepted,a=l.onDropRejected,o=l.multiple,i=l.accept,s=l.getDataTransferItems;e.preventDefault(),e.persist(),this.dragTargets=[],this.isFileDialogActive=!1,this.draggedFiles=null,this.setState({isDragActive:!1,draggedFiles:[]}),d(e)&&Promise.resolve(s(e)).then((function(l){var s=[],c=[];e.isPropagationStopped()||(l.forEach((function(e){u(e,i)&&function(e,t,l){return e.size<=t&&e.size>=l}(e,t.props.maxSize,t.props.minSize)?s.push(e):c.push(e)})),!o&&s.length>1&&c.push.apply(c,function(e){if(Array.isArray(e)){for(var t=0,l=Array(e.length);t0&&a&&a.call(t,c,e),s.length>0&&r&&r.call(t,s,e)})))}))}},{key:"onClick",value:function(e){var t=this.props,l=t.onClick,n=t.disableClick;l&&l.call(this,e),n||e.isDefaultPrevented()||(e.stopPropagation(),function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.navigator.userAgent;return function(e){return-1!==e.indexOf("MSIE")||-1!==e.indexOf("Trident/")}(e)||function(e){return-1!==e.indexOf("Edge/")}(e)}()?setTimeout(this.open,0):this.open())}},{key:"onInputElementClick",value:function(e){e.stopPropagation(),this.props.inputProps&&this.props.inputProps.onClick&&this.props.inputProps.onClick(e)}},{key:"onFileDialogCancel",value:function(){var e=this,t=this.props.onFileDialogCancel;this.isFileDialogActive&&setTimeout((function(){null!=e.fileInputEl&&(e.fileInputEl.files.length||(e.isFileDialogActive=!1,"function"==typeof t&&t()))}),300)}},{key:"setRef",value:function(e){this.node=e}},{key:"setRefs",value:function(e){this.fileInputEl=e}},{key:"open",value:function(){this.isFileDialogActive=!0,this.fileInputEl.value=null,this.fileInputEl.click()}},{key:"render",value:function(){var t=this.props,l=t.accept,n=t.acceptClassName,r=t.activeClassName,a=t.children,o=t.disabled,d=t.disabledClassName,f=t.inputProps,v=t.multiple,y=t.name,w=t.rejectClassName,x=s(t,["accept","acceptClassName","activeClassName","children","disabled","disabledClassName","inputProps","multiple","name","rejectClassName"]),S=x.acceptStyle,C=x.activeStyle,k=x.className,_=void 0===k?"":k,E=x.disabledStyle,O=x.rejectStyle,T=x.style,A=s(x,["acceptStyle","activeStyle","className","disabledStyle","rejectStyle","style"]),M=this.state,P=M.isDragActive,D=M.draggedFiles,R=D.length,N=v||R<=1,B=R>0&&function(e,t){return e.every((function(e){return u(e,t)}))}(D,this.props.accept),I=R>0&&(!B||!N),j=!(_||T||C||S||O||E);P&&r&&(_+=" "+r),B&&n&&(_+=" "+n),I&&w&&(_+=" "+w),o&&d&&(_+=" "+d),j&&(T=g,C=p,S=h,O=m,E=b);var L=i({position:"relative"},T);C&&P&&(L=i({},L,C)),S&&B&&(L=i({},L,S)),O&&I&&(L=i({},L,O)),E&&o&&(L=i({},L,E));var F={accept:l,disabled:o,type:"file",style:i({position:"absolute",top:0,right:0,bottom:0,left:0,opacity:1e-5,pointerEvents:"none"},f.style),multiple:c&&v,ref:this.setRefs,onChange:this.onDrop,autoComplete:"off"};y&&y.length&&(F.name=y);var z=s(A,["acceptedFiles","preventDropOnDocument","disableClick","onDropAccepted","onDropRejected","onFileDialogCancel","maxSize","minSize","getDataTransferItems"]);return e.createElement("div",i({className:_,style:L},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,P,B,I),e.createElement("input",i({},f,F)))}}]),l}();return v.propTypes={accept:t.oneOfType([t.string,t.arrayOf(t.string)]),children:t.oneOfType([t.node,t.func]),disableClick:t.bool,disabled:t.bool,preventDropOnDocument:t.bool,inputProps:t.object,multiple:t.bool,name:t.string,maxSize:t.number,minSize:t.number,className:t.string,activeClassName:t.string,acceptClassName:t.string,rejectClassName:t.string,disabledClassName:t.string,style:t.object,activeStyle:t.object,acceptStyle:t.object,rejectStyle:t.object,disabledStyle:t.object,getDataTransferItems:t.func,onClick:t.func,onDrop:t.func,onDropAccepted:t.func,onDropRejected:t.func,onDragStart:t.func,onDragEnter:t.func,onDragOver:t.func,onDragLeave:t.func,onFileDialogCancel:t.func},v.defaultProps={preventDropOnDocument:!0,disabled:!1,disableClick:!1,inputProps:{},multiple:!0,maxSize:1/0,minSize:0,getDataTransferItems:function(e){var t=[];if(e.dataTransfer){var l=e.dataTransfer;l.files&&l.files.length?t=l.files:l.items&&l.items.length&&(t=l.items)}else e.target&&e.target.files&&(t=e.target.files);return Array.prototype.slice.call(t)}},v}(l("8af190b70a6bc55c6f1b"),l("57792b62cc0c61847a46"))},"23bf7e0cc0db74dfd0b7":function(e,t,l){var n,r=r||function(e){"use strict";if(!("undefined"===typeof e||"undefined"!==typeof navigator&&/MSIE [1-9]\./.test(navigator.userAgent))){var t=e.document,l=function(){return e.URL||e.webkitURL||e},n=t.createElementNS("http://www.w3.org/1999/xhtml","a"),r="download"in n,a=/constructor/i.test(e.HTMLElement)||e.safari,o=/CriOS\/[\d]+/.test(navigator.userAgent),i=function(t){(e.setImmediate||e.setTimeout)((function(){throw t}),0)},s=function(e){setTimeout((function(){"string"===typeof e?l().revokeObjectURL(e):e.remove()}),4e4)},c=function(e){return/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?new Blob([String.fromCharCode(65279),e],{type:e.type}):e},u=function(t,u,d){d||(t=c(t));var f,p=this,h="application/octet-stream"===t.type,m=function(){!function(e,t,l){for(var n=(t=[].concat(t)).length;n--;){var r=e["on"+t[n]];if("function"===typeof r)try{r.call(e,l||e)}catch(e){i(e)}}}(p,"writestart progress write writeend".split(" "))};if(p.readyState=p.INIT,r)return f=l().createObjectURL(t),void setTimeout((function(){var e,t;n.href=f,n.download=u,e=n,t=new MouseEvent("click"),e.dispatchEvent(t),m(),s(f),p.readyState=p.DONE}));!function(){if((o||h&&a)&&e.FileReader){var n=new FileReader;return n.onloadend=function(){var t=o?n.result:n.result.replace(/^data:[^;]*;/,"data:attachment/file;");e.open(t,"_blank")||(e.location.href=t),t=void 0,p.readyState=p.DONE,m()},n.readAsDataURL(t),void(p.readyState=p.INIT)}(f||(f=l().createObjectURL(t)),h)?e.location.href=f:e.open(f,"_blank")||(e.location.href=f);p.readyState=p.DONE,m(),s(f)}()},d=u.prototype;return"undefined"!==typeof navigator&&navigator.msSaveOrOpenBlob?function(e,t,l){return t=t||e.name||"download",l||(e=c(e)),navigator.msSaveOrOpenBlob(e,t)}:(d.abort=function(){},d.readyState=d.INIT=0,d.WRITING=1,d.DONE=2,d.error=d.onwritestart=d.onprogress=d.onwrite=d.onabort=d.onerror=d.onwriteend=null,function(e,t,l){return new u(e,t||e.name||"download",l)})}}("undefined"!==typeof self&&self||"undefined"!==typeof window&&window||this.content);e.exports?e.exports.saveAs=r:null!==l("30d1801ce607fbf6870f")&&null!==l("8d79a051c62e24e12733")&&(void 0===(n=function(){return r}.call(t,l,t,e))||(e.exports=n))},"23e988087ac3619ba441":function(e,t,l){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},"23ed196998e39161b652":function(e,t,l){"use strict";var n=l("8e6d34d5e2b1c9c449c0");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(l("fc58ca43145bbdfa3fc9")),a=n(l("5c9c5767f55df7451160")),o=n(l("4a5a95741f4b2268ee64")),i=n(l("6b824628addee3d2b8d4")),s=(0,r.default)(o.default,a.default);s.supportedLanguages=i.default;var c=s;t.default=c},"254e47fb00b083725bbf":function(e,t,l){(t=e.exports=l("0e326f80368fd0b1333e")(!1)).push([e.i,".SideBarWrapper{position:fixed;top:0;bottom:0;left:0;right:0;z-index:665;background-color:rgba(0,0,0,.3);transition:.5s}.SideBarWrapper.closed{background-color:transparent;pointer-events:none;user-select:none}.SideBarWrapper.closed .SideBar{margin:10px 0}.SideBarWrapper.closed .SideBar.fromLeft{left:-400px}.SideBarWrapper.closed .SideBar.fromLeft.expanded{left:-1400px}.SideBarWrapper.closed .SideBar.fromLeft.extended{left:-40vw}@media screen and (max-width: 1024px){.SideBarWrapper.closed .SideBar.fromLeft.extended{left:-60vw}}@media screen and (max-width: 768px){.SideBarWrapper.closed .SideBar.fromLeft.extended{left:-80vw}}.SideBarWrapper.closed .SideBar.fromRight{right:-400px}.SideBarWrapper.closed .SideBar.fromRight.expanded{right:-1400px}.SideBarWrapper.closed .SideBar.fromRight.extended{right:-40vw}@media screen and (max-width: 1024px){.SideBarWrapper.closed .SideBar.fromRight.extended{right:-60vw}}@media screen and (max-width: 768px){.SideBarWrapper.closed .SideBar.fromRight.extended{right:-80vw}}.SideBarWrapper.open .SideBar{-webkit-box-shadow:-6px 0px 10px 4px rgba(0,0,0,.2);-moz-box-shadow:-6px 0px 10px 4px rgba(0,0,0,.2);box-shadow:-6px 0px 10px 4px rgba(0,0,0,.2);right:0}.SideBarWrapper.open .SideBar.fromLeft{left:0}.SideBarWrapper.open .SideBar.fromRight{right:0}.SideBar{margin:10px 10px;overflow:hidden;display:flex;flex-direction:column;background-color:#fff;height:100%;max-height:calc(100vh - 20px);width:400px;max-width:100%;position:absolute;transition:.5s}.SideBar.expanded{width:1400px;max-width:calc(100vw - 20px)}.SideBar.extended{width:40vw}@media screen and (max-width: 1024px){.SideBar.extended{width:60vw}}@media screen and (max-width: 768px){.SideBar.extended{width:80vw}}@media screen and (max-width: 599px){.SideBarWrapper.open .SideBar{width:calc(100% - 20px)}.SideBarWrapper.close .SideBar{width:calc(100% - 20px)}}.SideBarTitle{display:flex;color:#fff;background:linear-gradient(to bottom, #141443 0%, #3e438d 600%) !important}.SideBarTitle>span{margin-left:auto;margin-right:auto}.SideBarCustomHeader{display:flex;width:100%;justify-content:space-between;align-content:center;color:#fff}.SideBarCustomHeader .SideBarCustomTitle{display:flex;align-items:center;font-size:16px}.SideBarCustomHeader .SideBarAddButton{display:flex;justify-content:center;align-items:center;height:35px;width:35px;border:2px solid #d3d3d3;cursor:pointer}.SideBarCustomHeader .SideBarAddButton>em{color:#fff;font-size:16px;font-weight:bold}.SideBarContentWrapper{display:flex;flex-direction:column;overflow-y:auto;flex:1}.SideBarContentWrapper .SideBarContent{height:100%;padding:10px 15px 30px}.SideBarContentWrapper .SideBarContent>.BBMultiLanguageDropdown{margin:0px 5px}.SideBarFooter{display:inline-flex;padding-top:10px;width:100%;height:60px;justify-content:flex-end;box-shadow:-6px 0px 10px 4px rgba(0,0,0,.2)}.SideBarFooter .BBButton{display:flex;flex:1;margin-top:0 !important;margin-right:10px !important;border:none;height:40px;max-width:180px;box-shadow:4px 5px 17px #636363}.SideBarOptionWrapper{padding-bottom:5px}.SideBarMainOption{width:auto;display:flex;flex-direction:row;align-items:center;justify-content:space-between;padding-top:10px;padding-bottom:5px;font-weight:bold;font-size:1.3em;color:#141443}.SideBarSubOption{width:auto;display:flex;flex-direction:row;align-items:center;justify-content:space-between;position:relative;padding-top:4px;font-size:1.1em;font-weight:bold}.SideBarSubOption.no-bold{font-weight:normal}.SideBarMainOption:active .SideBarOptionBullet,.SideBarSubOption:active .SideBarOptionBullet{transform:scale(0.8)}.SideBarMainOption:hover .SideBarOptionBullet,.SideBarSubOption:hover .SideBarOptionBullet{border:2px solid #3737b9}.SideBarOptionBullet{width:20px;height:20px;border:2px solid #333;background-color:transparent;transition:.2s}.SideBarOptionBullet.selected{border:7px solid #141443;background-color:#141443;box-shadow:0px 4px 4px 0px rgba(119,79,187,.4)}.empty-sidebar{text-align:center;color:#666;margin-top:5px;font-size:16px;display:inherit;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"}},"25ed8a7e5f9ac6173f16":function(e,t,l){var n=l("a4675fb50eac129dc944"),r=l("ee5b68c26f3207524545"),a=l("7de3d3dc857c22a8e56c"),o=l("e1a99efb709381c274a3"),i=l("b6f60c662dfc7fd636ab"),s=l("29796ead6add2b5f83ec")("socket.io-client:socket"),c=l("914fa8fb6a3809239920"),u=l("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=r.prototype.emit;function p(e,t,l){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={},l&&l.query&&(this.query=l.query),this.io.autoConnect&&this.open()}r(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),l={type:(void 0!==this.flags.binary?this.flags.binary:u(t))?n.BINARY_EVENT:n.EVENT,data:t,options:{}};return l.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(),l.id=this.ids++),this.connected?this.packet(l):this.sendBuffer.push(l),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:n.CONNECT,query:e})}else this.packet({type:n.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,l=e.type===n.ERROR&&"/"===e.nsp;if(t||l)switch(e.type){case n.CONNECT:this.onconnect();break;case n.EVENT:case n.BINARY_EVENT:this.onevent(e);break;case n.ACK:case n.BINARY_ACK:this.onack(e);break;case n.DISCONNECT:this.ondisconnect();break;case n.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,l=!1;return function(){if(!l){l=!0;var r=a(arguments);s("sending ack %j",r),t.packet({type:u(r)?n.BINARY_ACK:n.ACK,id:e,data:r})}}},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),n=1;n2?t[2]:void 0;if(r){var a=n,o=String(r);n=o,m("history",{from:a,to:o})}return e.apply(this,t)}}d.onpopstate=function(){for(var t=[],l=0;l1)for(var l=1;l span {font-weight: normal !important;}.ace-github .ace_marker-layer .ace_step {background: rgb(252, 255, 0);}.ace-github .ace_marker-layer .ace_stack {background: rgb(164, 229, 101);}.ace-github .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid rgb(192, 192, 192);}.ace-github .ace_gutter-active-line {background-color : rgba(0, 0, 0, 0.07);}.ace-github .ace_marker-layer .ace_selected-word {background: rgb(250, 250, 255);border: 1px solid rgb(200, 200, 250);}.ace-github .ace_invisible {color: #BFBFBF}.ace-github .ace_print-margin {width: 1px;background: #e8e8e8;}.ace-github .ace_indent-guide {background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==") right repeat-y;}',e("../lib/dom").importCssString(t.cssText,t.cssClass,!1)})),ace.require(["ace/theme/github"],(function(t){e&&(e.exports=t)}))}).call(this,l("f586cf5b9f4b7719b2c1")(e))},"279f1c7ef5f95c5d63e2":function(e,t){e.exports=function(e,t,l){return t in e?Object.defineProperty(e,t,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[t]=l,e},e.exports.__esModule=!0,e.exports.default=e.exports},"27d3d054f68475bd62a9":function(e,t,l){Object.defineProperty(t,"__esModule",{value:!0});var n=l("98bae3dbabd51089d613"),r=l("2699310fc61c2e7274b1");function a(e){for(var t=[],l=1;l=55296&&X<=57343||X>1114111?(S(7,D),w=u(65533)):w in r?(S(6,D),w=r[w]):(k="",v(w)&&S(6,D),w>65535&&(k+=u((w-=65536)>>>10|55296),w=56320|1023&w),w=k+u(w))):T!==p&&S(4,D)),w?(Q(),M=J(),Z=R-1,G+=R-O+1,Y.push(w),(P=J()).offset++,j&&j.call(z,w,{start:M,end:P},e.slice(O-1,R)),M=P):(f=e.slice(O-1,R),K+=f,G+=f.length,Z=R-1)}else 10===y&&(q++,$++,G=0),y===y?(K+=u(y),G++):Q();var X;return Y.join("");function J(){return{line:q,column:G,offset:Z+(V.offset||0)}}function Q(){K&&(Y.push(K),I&&I.call(F,K,{start:M,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 b={};function v(e){return e>=1&&e<=8||11===e||e>=13&&e<=31||e>=127&&e<=159||e>=64976&&e<=65007||65535===(65535&e)||65534===(65535&e)}b[1]="Named character references must be terminated by a semicolon",b[2]="Numeric character references must be terminated by a semicolon",b[3]="Named character references cannot be empty",b[4]="Numeric character references cannot be empty",b[5]="Named character references must be known",b[6]="Numeric character references cannot be disallowed",b[7]="Numeric character references cannot be outside the permissible Unicode range"},"289c96ed03271763a3a9":function(e,t,l){"use strict";var n=l("d691ab6a01eacf6bd123"),r=l("443f930b60798cfedf71"),a=l("5dfc216e0b9559a5e74b"),o=l("44c1fc35bd273cc4f7a9");function i(e){var t=new a(e),l=r(a.prototype.request,t);return n.extend(l,a.prototype,t),n.extend(l,t),l}var s=i(l("764eabf2370962c4cad0"));s.Axios=a,s.create=function(e){return i(o(s.defaults,e))},s.Cancel=l("f3f9cf0ae64305a42cd6"),s.CancelToken=l("efd0adb76568cdad4116"),s.isCancel=l("b8e7bb6f2e080f7f5d1b"),s.all=function(e){return Promise.all(e)},s.spread=l("8bd221e6c52c12f3bc2c"),e.exports=s,e.exports.default=s},"28f5969d138bd4de1cc7":function(e,t,l){var n=l("add63050358bab54e6cb");"string"===typeof n&&(n=[[e.i,n,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};l("1e4534d1d62a11482e97")(n,r);n.locals&&(e.exports=n.locals)},"29796ead6add2b5f83ec":function(e,t,l){(function(n){function r(){var e;try{e=t.storage.debug}catch(e){}return!e&&"undefined"!==typeof n&&"env"in n&&(e=Object({NODE_ENV:"production",API:"prod"}).DEBUG),e}(t=e.exports=l("bee4e8da5ff55d62593c")).log=function(){return"object"===typeof console&&console.log&&Function.prototype.apply.call(console.log,console,arguments)},t.formatArgs=function(e){var l=this.useColors;if(e[0]=(l?"%c":"")+this.namespace+(l?" %c":" ")+e[0]+(l?"%c ":" ")+"+"+t.humanize(this.diff),!l)return;var n="color: "+this.color;e.splice(1,0,n,"color: inherit");var r=0,a=0;e[0].replace(/%[a-zA-Z%]/g,(function(e){"%%"!==e&&(r++,"%c"===e&&(a=r))})),e.splice(a,0,n)},t.save=function(e){try{null==e?t.storage.removeItem("debug"):t.storage.debug=e}catch(e){}},t.load=r,t.useColors=function(){if("undefined"!==typeof window&&window.process&&"renderer"===window.process.type)return!0;if("undefined"!==typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!==typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!==typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!==typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!==typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage="undefined"!=typeof chrome&&"undefined"!=typeof chrome.storage?chrome.storage.local:function(){try{return window.localStorage}catch(e){}}(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.formatters.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}},t.enable(r())}).call(this,l("26d59f808dff3e83c741"))},"29a9536bbf37470dcc3e":function(e,t,l){"use strict";t.__esModule=!0,t.default=function(e,t){return e.classList?!!t&&e.classList.contains(t):-1!==(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")},e.exports=t.default},"29be037a42afef3398ec":function(e,t,l){"use strict";var n=l("7d120192e4c5c3899346");function r(){}function a(){}a.resetWarningCache=r,e.exports=function(){function e(e,t,l,r,a,o){if(o!==n){var i=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw i.name="Invariant Violation",i}}function t(){return e}e.isRequired=e;var l={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:r};return l.PropTypes=l,l}},"29c9401d02b1d3ec0c97":function(e,t,l){"use strict";t.__esModule=!0,t.default=function(e){return e.replace(n,(function(e,t){return t.toUpperCase()}))};var n=/-(.)/g;e.exports=t.default},"2a0a8f860f744dbd0ab1":function(e,t,l){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){function t(t,l,n,r,a,o){var i=r||"<>",s=o||n;if(null==l[n])return t?new Error("Required "+a+" `"+s+"` was not specified in `"+i+"`."):null;for(var c=arguments.length,u=Array(c>6?c-6:0),d=6;d=0&&"[object Function]"===n.call(e.callee)),l}},"2a9d8a938a3642725189":function(e,t,l){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.getTinymce=void 0;var l=function(){return"undefined"!==typeof window?window:e};t.getTinymce=function(){var e=l();return e&&e.tinymce?e.tinymce:null}}).call(this,l("698d75b157f24ae829cc"))},"2aa670af80007db99a9a":function(e,t,l){"use strict";var n=l("bbca78af1c83f8c3bb79"),r=l("96b4ef3b4b2cf53372f1"),a=r(n("String.prototype.indexOf"));e.exports=function(e,t){var l=n(e,!!t);return"function"===typeof l&&a(e,".prototype.")>-1?r(l):l}},"2ac0a4824d1ab3ffa826":function(e,t,l){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=function(e,t){if(!e)return e;var l=t.length;if(l){for(var n=e,r=0;r=0;--r){var a=this.tryEntries[r],o=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var i=l.call(a,"catchLoc"),s=l.call(a,"finallyLoc");if(i&&s){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&l.call(r,"finallyLoc")&&this.prev=0;--t){var l=this.tryEntries[t];if(l.finallyLoc===e)return this.complete(l.completion,l.afterLoc),S(l),u}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var l=this.tryEntries[t];if(l.tryLoc===e){var n=l.completion;if("throw"===n.type){var r=n.arg;S(l)}return r}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,l){return this.delegate={iterator:k(e),resultName:t,nextLoc:l},"next"===this.method&&(this.arg=void 0),u}},e}(e.exports);try{regeneratorRuntime=n}catch(e){"object"===typeof globalThis?globalThis.regeneratorRuntime=n:Function("r","regeneratorRuntime = r")(n)}},"2c62cf50f9b98ad5e2af":function(e,t){function l(){return e.exports=l=Object.assign||function(e){for(var t=1;t1?t-1:0),n=1;ne.length)&&(t=e.length);for(var l=0,n=new Array(t);l.'),k(e.containerRef.current,e.props)})),g(y(e),"pauseResume",(function(){var t=y(e),l=t.reset,n=t.restart,r=t.update,a=e.props.onPauseResume;e.instance.pauseResume(),a({reset:l,start:n,update:r})})),g(y(e),"reset",(function(){var t=y(e),l=t.pauseResume,n=t.restart,r=t.update,a=e.props.onReset;e.instance.reset(),a({pauseResume:l,start:n,update:r})})),g(y(e),"restart",(function(){e.reset(),e.start()})),g(y(e),"start",(function(){var t=y(e),l=t.pauseResume,n=t.reset,r=t.restart,a=t.update,o=e.props,i=o.delay,s=o.onEnd,c=o.onStart,u=function(){return e.instance.start((function(){return s({pauseResume:l,reset:n,start:r,update:a})}))};i>0?e.timeoutId=setTimeout(u,1e3*i):u(),c({pauseResume:l,reset:n,update:a})})),g(y(e),"update",(function(t){var l=y(e),n=l.pauseResume,r=l.reset,a=l.restart,o=e.props.onUpdate;e.instance.update(t),o({pauseResume:n,reset:r,start:a})})),g(y(e),"containerRef",c.default.createRef()),e}return t=a,(l=[{key:"componentDidMount",value:function(){var e=this.props,t=e.children,l=e.delay;this.instance=this.createInstance(),"function"===typeof t&&0!==l||this.start()}},{key:"shouldComponentUpdate",value:function(e){var t=this.props.end;return this.checkProps(e)||t!==e.end}},{key:"componentDidUpdate",value:function(e){var t=this.props,l=t.end,n=t.preserveValue;this.checkProps(e)&&(this.instance.reset(),this.instance=this.createInstance(),this.start()),l!==e.end&&(n||this.instance.reset(),this.instance.update(l))}},{key:"componentWillUnmount",value:function(){this.timeoutId&&clearTimeout(this.timeoutId),this.instance.reset()}},{key:"render",value:function(){var e=this.props,t=e.children,l=e.className,n=e.style,r=this.containerRef,a=this.pauseResume,o=this.reset,i=this.restart,s=this.update;return"function"===typeof t?t({countUpRef:r,pauseResume:a,reset:o,start:i,update:s}):c.default.createElement("span",{className:l,ref:r,style:n})}}])&&m(t.prototype,l),n&&m(t,n),a}(r.Component);g(_,"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(_,"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 E={innerHTML:null};t.default=_,t.useCountUp=function(e){var t=p(p({},_.defaultProps),e),l=t.start,n=t.formattingFn,a=S(r.useState("function"===typeof n?n(l):l),2),o=a[0],i=a[1],s=r.useRef(null),c=r.useRef(null),u=function(){var e=s.current;if(null!==e)return e;var l=function(){var e=k(E,t),l=e.options.formattingFn;return e.options.formattingFn=function(){var e=l.apply(void 0,arguments);i(e)},e}();return s.current=l,l},d=function(){var e=t.onReset;u().reset(),e({pauseResume:h,start:f,update:m})},f=function e(){var l=t.onStart,n=t.onEnd;u().reset(),u().start((function(){n({pauseResume:h,reset:d,start:e,update:m})})),l({pauseResume:h,reset:d,update:m})},h=function(){var e=t.onPauseResume;u().pauseResume(),e({reset:d,start:f,update:m})},m=function(e){var l=t.onUpdate;u().update(e),l({pauseResume:h,reset:d,start:f})};return r.useEffect((function(){var e=t.delay,l=t.onStart,n=t.onEnd;return t.startOnMount&&(c.current=setTimeout((function(){l({pauseResume:h,reset:d,update:m}),u().start((function(){clearTimeout(c.current),n({pauseResume:h,reset:d,start:f,update:m})}))}),1e3*e)),function(){clearTimeout(c.current),d()}}),[]),{countUp:o,start:f,pauseResume:h,reset:d,update:m}}},"30d14b3a3295666f3aba":function(e,t){function l(){return"serviceWorker"in navigator&&("https:"===window.location.protocol||"localhost"===window.location.hostname||0===window.location.hostname.indexOf("127."))}t.install=function(e){if(e||(e={}),l())navigator.serviceWorker.register("/sw.js",{});else;},t.applyUpdate=function(e,t){},t.update=function(){l()&&navigator.serviceWorker.getRegistration().then((function(e){if(e)return e.update()}))}},"30d1801ce607fbf6870f":function(e,t){e.exports=function(){throw new Error("define cannot be used indirect")}},"30f0bf833dfdc1de7d41":function(e,t,l){"use strict";var n=l("8e6d34d5e2b1c9c449c0"),r=l("16ed5e814ccb32d55f28");t.__esModule=!0,t.useUncontrolledProp=t.uncontrollable=t.useUncontrolled=void 0;var a=r(l("b2bd11fefc39da2065ef"));t.useUncontrolled=a.default,t.useUncontrolledProp=a.useUncontrolledProp;var o=n(l("7f8643042624c3b65976"));t.uncontrollable=o.default},"30f4d2f78db5a82e4229":function(e,t,l){"use strict";var n,r=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var l in t)Object.prototype.hasOwnProperty.call(t,l)&&(e[l]=t[l])})(e,t)},function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function l(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(l.prototype=t.prototype,new l)}),a=this&&this.__assign||function(){return(a=Object.assign||function(e){for(var t,l=1,n=arguments.length;l-1}function S(e){return x(e)?window.pageYOffset:e.scrollTop}function C(e,t){x(e)?window.scrollTo(0,t):e.scrollTop=t}function k(e,t,l,n){return l*((e=e/n-1)*e*e+1)+t}function _(e,t){var l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:y,r=S(e),a=t-r,o=10,i=0;function s(){var t=k(i+=o,r,a,l);C(e,t),i=p)return{placement:"bottom",maxHeight:t};if(E>=p&&!o)return a&&_(s,O,160),{placement:"bottom",maxHeight:t};if(!o&&E>=n||o&&x>=n)return a&&_(s,O,160),{placement:"bottom",maxHeight:o?x-v:E-v};if("auto"===r||o){var A=t,M=o?w:k;return M>=n&&(A=Math.min(M-v-i.controlHeight,t)),{placement:"top",maxHeight:A}}if("bottom"===r)return C(s,O),{placement:"bottom",maxHeight:t};break;case"top":if(w>=p)return{placement:"top",maxHeight:t};if(k>=p&&!o)return a&&_(s,T,160),{placement:"top",maxHeight:t};if(!o&&k>=n||o&&w>=n){var P=t;return(!o&&k>=n||o&&w>=n)&&(P=o?w-y:k-y),a&&_(s,T,160),{placement:"top",maxHeight:P}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(r,'".'))}return c}var M=function(e){return"auto"===e?"bottom":e},P=f.createContext({getPortalPlacement:null}),D=function(e){c(l,e);var t=T(l);function l(){var e;i(this,l);for(var n=arguments.length,r=new Array(n),a=0;al.bottom?C(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+r,e.scrollHeight)):n.top-ro?1:Math.round(100*u/o)/100,t.a!==d)return{h:t.h,s:t.s,l:t.l,a:d,source:"rgb"}}else{var f=void 0;if(n!==(f=c<0?0:c>a?1:Math.round(100*c/a)/100))return{h:t.h,s:t.s,l:t.l,a:f,source:"rgb"}}return null}},"33152a0dfb965bbef2b7":function(e,t,l){var n;e.exports=(n=l("8af190b70a6bc55c6f1b"),function(e){function t(n){if(l[n])return l[n].exports;var r=l[n]={i:n,l:!1,exports:{}};return e[n].call(r.exports,r,r.exports,t),r.l=!0,r.exports}var l={};return t.m=e,t.c=l,t.d=function(e,l,n){t.o(e,l)||Object.defineProperty(e,l,{configurable:!1,enumerable:!0,get:n})},t.n=function(e){var l=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(l,"a",l),l},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=27)}([function(e,t,l){var n;!function(t,l){"use strict";"object"===typeof e&&"object"===typeof e.exports?e.exports=t.document?l(t,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return l(e)}:l(t)}("undefined"!==typeof window?window:this,(function(l,r){"use strict";function a(e,t,l){var n,r,a=(l=l||ne).createElement("script");if(a.text=e,t)for(n in be)(r=t[n]||t.getAttribute&&t.getAttribute(n))&&a.setAttribute(n,r);l.head.appendChild(a).parentNode.removeChild(a)}function o(e){return null==e?e+"":"object"===typeof e||"function"===typeof e?ce[ue.call(e)]||"object":typeof e}function i(e){var t=!!e&&"length"in e&&e.length,l=o(e);return!me(e)&&!ge(e)&&("array"===l||0===t||"number"===typeof t&&t>0&&t-1 in e)}function s(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}function c(e,t,l){return me(t)?ve.grep(e,(function(e,n){return!!t.call(e,n,e)!==l})):t.nodeType?ve.grep(e,(function(e){return e===t!==l})):"string"!==typeof t?ve.grep(e,(function(e){return se.call(t,e)>-1!==l})):ve.filter(t,e,l)}function u(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}function d(e){return e}function f(e){throw e}function p(e,t,l,n){var r;try{e&&me(r=e.promise)?r.call(e).done(t).fail(l):e&&me(r=e.then)?r.call(e,t,l):t.apply(void 0,[e].slice(n))}catch(e){l.apply(void 0,[e])}}function h(){ne.removeEventListener("DOMContentLoaded",h),l.removeEventListener("load",h),ve.ready()}function m(e,t){return t.toUpperCase()}function g(e){return e.replace(Re,"ms-").replace(Ne,m)}function b(){this.expando=ve.expando+b.uid++}function v(e,t,l){var n;if(void 0===l&&1===e.nodeType)if(n="data-"+t.replace(Fe,"-$&").toLowerCase(),"string"===typeof(l=e.getAttribute(n))){try{l=function(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:Le.test(e)?JSON.parse(e):e)}(l)}catch(e){}je.set(e,t,l)}else l=void 0;return l}function y(e,t,l,n){var r,a,o=20,i=n?function(){return n.cur()}:function(){return ve.css(e,t,"")},s=i(),c=l&&l[3]||(ve.cssNumber[t]?"":"px"),u=e.nodeType&&(ve.cssNumber[t]||"px"!==c&&+s)&&Ue.exec(ve.css(e,t));if(u&&u[3]!==c){for(s/=2,c=c||u[3],u=+s||1;o--;)ve.style(e,t,u+c),(1-a)*(1-(a=i()/s||.5))<=0&&(o=0),u/=a;u*=2,ve.style(e,t,u+c),l=l||[]}return l&&(u=+u||+s||0,r=l[1]?u+(l[1]+1)*l[2]:+l[2],n&&(n.unit=c,n.start=u,n.end=r)),r}function w(e){var t,l=e.ownerDocument,n=e.nodeName,r=qe[n];return r||(t=l.body.appendChild(l.createElement(n)),r=ve.css(t,"display"),t.parentNode.removeChild(t),"none"===r&&(r="block"),qe[n]=r,r)}function x(e,t){for(var l,n,r=[],a=0,o=e.length;a-1)r&&r.push(a);else if(u=We(a),i=S(f.appendChild(a),"script"),u&&C(i),l)for(d=0;a=i[d++];)Xe.test(a.type||"")&&l.push(a);return f}function _(){return!0}function E(){return!1}function O(e,t){return e===function(){try{return ne.activeElement}catch(e){}}()===("focus"===t)}function T(e,t,l,n,r,a){var o,i;if("object"===typeof t){for(i in"string"!==typeof l&&(n=n||l,l=void 0),t)T(e,i,l,n,t[i],a);return e}if(null==n&&null==r?(r=l,n=l=void 0):null==r&&("string"===typeof l?(r=n,n=void 0):(r=n,n=l,l=void 0)),!1===r)r=E;else if(!r)return e;return 1===a&&(o=r,(r=function(e){return ve().off(e),o.apply(this,arguments)}).guid=o.guid||(o.guid=ve.guid++)),e.each((function(){ve.event.add(this,t,r,n,l)}))}function A(e,t,l){l?(Ie.set(e,t,!1),ve.event.add(e,t,{namespace:!1,handler:function(e){var n,r,a=Ie.get(this,t);if(1&e.isTrigger&&this[t]){if(a)(ve.event.special[t]||{}).delegateType&&e.stopPropagation();else if(a=ae.call(arguments),Ie.set(this,t,a),n=l(this,t),this[t](),a!==(r=Ie.get(this,t))||n?Ie.set(this,t,!1):r=void 0,a!==r)return e.stopImmediatePropagation(),e.preventDefault(),r}else a&&(Ie.set(this,t,ve.event.trigger(ve.extend(a.shift(),ve.Event.prototype),a,this)),e.stopImmediatePropagation())}})):ve.event.add(e,t,_)}function M(e,t){return s(e,"table")&&s(11!==t.nodeType?t:t.firstChild,"tr")&&ve(e).children("tbody")[0]||e}function P(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function D(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function R(e,t){var l,n,r,a,o,i,s,c;if(1===t.nodeType){if(Ie.hasData(e)&&(a=Ie.access(e),o=Ie.set(t,a),c=a.events))for(r in delete o.handle,o.events={},c)for(l=0,n=c[r].length;l1&&"string"===typeof h&&!he.checkClone&&at.test(h))return e.each((function(r){var a=e.eq(r);m&&(t[0]=h.call(this,r,a.html())),B(a,t,l,n)}));if(f&&(o=(r=k(t,e[0].ownerDocument,!1,e,n)).firstChild,1===r.childNodes.length&&(r=o),o||n)){for(s=(i=ve.map(S(r,"script"),P)).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,l){var n=st(e),r=(!he.boxSizingReliable()||l)&&"border-box"===ve.css(e,"boxSizing",!1,n),a=r,o=j(e,t,n),i="offset"+t[0].toUpperCase()+t.slice(1);if(it.test(o)){if(!l)return o;o="auto"}return(!he.boxSizingReliable()&&r||"auto"===o||!parseFloat(o)&&"inline"===ve.css(e,"display",!1,n))&&e.getClientRects().length&&(r="border-box"===ve.css(e,"boxSizing",!1,n),(a=i in e)&&(o=e[i])),(o=parseFloat(o)||0)+U(e,t,l||(r?"border":"content"),a,n,o)+"px"}function H(e,t,l,n,r){return new H.prototype.init(e,t,l,n,r)}function W(){vt&&(!1===ne.hidden&&l.requestAnimationFrame?l.requestAnimationFrame(W):l.setTimeout(W,ve.fx.interval),ve.fx.tick())}function Z(){return l.setTimeout((function(){bt=void 0})),bt=Date.now()}function $(e,t){var l,n=0,r={height:e};for(t=t?1:0;n<4;n+=2-t)r["margin"+(l=Ve[n])]=r["padding"+l]=e;return t&&(r.opacity=r.width=e),r}function G(e,t,l){for(var n,r=(q.tweeners[t]||[]).concat(q.tweeners["*"]),a=0,o=r.length;a=0&&lx.cacheLength&&delete t[e.shift()],t[l+" "]=n}}function n(e){return e[L]=!0,e}function r(e){var t=P.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function a(e,t){for(var l=e.split("|"),n=l.length;n--;)x.attrHandle[l[n]]=t}function o(e,t){var l=t&&e,n=l&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(n)return n;if(l)for(;l=l.nextSibling;)if(l===t)return-1;return e?1:-1}function i(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&ke(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function s(e){return n((function(t){return t=+t,n((function(l,n){for(var r,a=e([],l.length,t),o=a.length;o--;)l[r=a[o]]&&(l[r]=!(n[r]=l[r]))}))}))}function c(e){return e&&"undefined"!==typeof e.getElementsByTagName&&e}function u(){}function d(e){for(var t=0,l=e.length,n="";t1?function(t,l,n){for(var r=e.length;r--;)if(!e[r](t,l,n))return!1;return!0}:e[0]}function h(e,l,n){for(var r=0,a=l.length;r-1&&(n[c]=!(o[c]=d))}}else y=m(y===o?y.splice(g,y.length):y),a?a(null,o,y,s):X.apply(o,y)}))}function b(e){for(var t,l,n,r=e.length,a=x.relative[e[0].type],o=a||x.relative[" "],i=a?1:0,s=f((function(e){return e===t}),o,!0),c=f((function(e){return Q(t,e)>-1}),o,!0),u=[function(e,l,n){var r=!a&&(n||l!==O)||((t=l).nodeType?s(e,l,n):c(e,l,n));return t=null,r}];i1&&p(u),i>1&&d(e.slice(0,i-1).concat({value:" "===e[i-2].type?"*":""})).replace(oe,"$1"),l,i0,a=e.length>0,o=function(n,o,i,s,c){var u,d,f,p=0,h="0",g=n&&[],b=[],v=O,y=n||a&&x.find.TAG("*",c),w=z+=null==v?1:Math.random()||.1,S=y.length;for(c&&(O=o===P||o||c);h!==S&&null!=(u=y[h]);h++){if(a&&u){for(d=0,o||u.ownerDocument===P||(M(u),i=!R);f=e[d++];)if(f(u,o||P,i)){s.push(u);break}c&&(z=w)}r&&((u=!f&&u)&&p--,n&&g.push(u))}if(p+=h,r&&h!==p){for(d=0;f=l[d++];)f(g,b,o,i);if(n){if(p>0)for(;h--;)g[h]||b[h]||(b[h]=K.call(s));b=m(b)}X.apply(s,b),c&&!n&&b.length>0&&p+l.length>1&&t.uniqueSort(s)}return c&&(z=w,O=v),g};return r?n(o):o}var y,w,x,S,C,k,_,E,O,T,A,M,P,D,R,N,B,I,j,L="sizzle"+1*new Date,F=e.document,z=0,U=0,V=l(),H=l(),W=l(),Z=l(),$=function(e,t){return e===t&&(A=!0),0},G={}.hasOwnProperty,q=[],K=q.pop,Y=q.push,X=q.push,J=q.slice,Q=function(e,t){for(var l=0,n=e.length;l+~]|"+te+")"+te+"*"),ce=new RegExp(te+"|>"),ue=new RegExp(re),de=new RegExp("^"+le+"$"),fe={ID:new RegExp("^#("+le+")"),CLASS:new RegExp("^\\.("+le+")"),TAG:new RegExp("^("+le+"|[*])"),ATTR:new RegExp("^"+ne),PSEUDO:new RegExp("^"+re),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+te+"*(even|odd|(([+-]|)(\\d*)n|)"+te+"*(?:([+-]|)"+te+"*(\\d+)|))"+te+"*\\)|)","i"),bool:new RegExp("^(?:"+ee+")$","i"),needsContext:new RegExp("^"+te+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+te+"*((?:-\\d)?\\d*)"+te+"*\\)|)(?=[^-]|$)","i")},pe=/HTML$/i,he=/^(?:input|select|textarea|button)$/i,me=/^h\d$/i,ge=/^[^{]+\{\s*\[native \w/,be=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ve=/[+~]/,ye=new RegExp("\\\\([\\da-f]{1,6}"+te+"?|("+te+")|.)","ig"),we=function(e,t,l){var n="0x"+t-65536;return n!==n||l?t:n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320)},xe=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,Se=function(e,t){return t?"\0"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},Ce=function(){M()},ke=f((function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()}),{dir:"parentNode",next:"legend"});try{X.apply(q=J.call(F.childNodes),F.childNodes),q[F.childNodes.length].nodeType}catch(e){X={apply:q.length?function(e,t){Y.apply(e,J.call(t))}:function(e,t){for(var l=e.length,n=0;e[l++]=t[n++];);e.length=l-1}}}for(y in w=t.support={},C=t.isXML=function(e){var t=e.namespaceURI,l=(e.ownerDocument||e).documentElement;return!pe.test(t||l&&l.nodeName||"HTML")},M=t.setDocument=function(e){var t,l,n=e?e.ownerDocument||e:F;return n!==P&&9===n.nodeType&&n.documentElement?(D=(P=n).documentElement,R=!C(P),F!==P&&(l=P.defaultView)&&l.top!==l&&(l.addEventListener?l.addEventListener("unload",Ce,!1):l.attachEvent&&l.attachEvent("onunload",Ce)),w.attributes=r((function(e){return e.className="i",!e.getAttribute("className")})),w.getElementsByTagName=r((function(e){return e.appendChild(P.createComment("")),!e.getElementsByTagName("*").length})),w.getElementsByClassName=ge.test(P.getElementsByClassName),w.getById=r((function(e){return D.appendChild(e).id=L,!P.getElementsByName||!P.getElementsByName(L).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&&R){var l=t.getElementById(e);return l?[l]:[]}}):(x.filter.ID=function(e){var t=e.replace(ye,we);return function(e){var l="undefined"!==typeof e.getAttributeNode&&e.getAttributeNode("id");return l&&l.value===t}},x.find.ID=function(e,t){if("undefined"!==typeof t.getElementById&&R){var l,n,r,a=t.getElementById(e);if(a){if((l=a.getAttributeNode("id"))&&l.value===e)return[a];for(r=t.getElementsByName(e),n=0;a=r[n++];)if((l=a.getAttributeNode("id"))&&l.value===e)return[a]}return[]}}),x.find.TAG=w.getElementsByTagName?function(e,t){return"undefined"!==typeof t.getElementsByTagName?t.getElementsByTagName(e):w.qsa?t.querySelectorAll(e):void 0}:function(e,t){var l,n=[],r=0,a=t.getElementsByTagName(e);if("*"===e){for(;l=a[r++];)1===l.nodeType&&n.push(l);return n}return a},x.find.CLASS=w.getElementsByClassName&&function(e,t){if("undefined"!==typeof t.getElementsByClassName&&R)return t.getElementsByClassName(e)},B=[],N=[],(w.qsa=ge.test(P.querySelectorAll))&&(r((function(e){D.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&N.push("[*^$]="+te+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||N.push("\\["+te+"*(?:value|"+ee+")"),e.querySelectorAll("[id~="+L+"-]").length||N.push("~="),e.querySelectorAll(":checked").length||N.push(":checked"),e.querySelectorAll("a#"+L+"+*").length||N.push(".#.+[+~]")})),r((function(e){e.innerHTML="";var t=P.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"),D.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&N.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),N.push(",.*:")}))),(w.matchesSelector=ge.test(I=D.matches||D.webkitMatchesSelector||D.mozMatchesSelector||D.oMatchesSelector||D.msMatchesSelector))&&r((function(e){w.disconnectedMatch=I.call(e,"*"),I.call(e,"[s!='']:x"),B.push("!=",re)})),N=N.length&&new RegExp(N.join("|")),B=B.length&&new RegExp(B.join("|")),t=ge.test(D.compareDocumentPosition),j=t||ge.test(D.contains)?function(e,t){var l=9===e.nodeType?e.documentElement:e,n=t&&t.parentNode;return e===n||!(!n||1!==n.nodeType||!(l.contains?l.contains(n):e.compareDocumentPosition&&16&e.compareDocumentPosition(n)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},$=t?function(e,t){if(e===t)return A=!0,0;var l=!e.compareDocumentPosition-!t.compareDocumentPosition;return l||(1&(l=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!w.sortDetached&&t.compareDocumentPosition(e)===l?e===P||e.ownerDocument===F&&j(F,e)?-1:t===P||t.ownerDocument===F&&j(F,t)?1:T?Q(T,e)-Q(T,t):0:4&l?-1:1)}:function(e,t){if(e===t)return A=!0,0;var l,n=0,r=e.parentNode,a=t.parentNode,i=[e],s=[t];if(!r||!a)return e===P?-1:t===P?1:r?-1:a?1:T?Q(T,e)-Q(T,t):0;if(r===a)return o(e,t);for(l=e;l=l.parentNode;)i.unshift(l);for(l=t;l=l.parentNode;)s.unshift(l);for(;i[n]===s[n];)n++;return n?o(i[n],s[n]):i[n]===F?-1:s[n]===F?1:0},P):P},t.matches=function(e,l){return t(e,null,null,l)},t.matchesSelector=function(e,l){if((e.ownerDocument||e)!==P&&M(e),w.matchesSelector&&R&&!Z[l+" "]&&(!B||!B.test(l))&&(!N||!N.test(l)))try{var n=I.call(e,l);if(n||w.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){Z(l,!0)}return t(l,P,null,[e]).length>0},t.contains=function(e,t){return(e.ownerDocument||e)!==P&&M(e),j(e,t)},t.attr=function(e,t){(e.ownerDocument||e)!==P&&M(e);var l=x.attrHandle[t.toLowerCase()],n=l&&G.call(x.attrHandle,t.toLowerCase())?l(e,t,!R):void 0;return void 0!==n?n:w.attributes||!R?e.getAttribute(t):(n=e.getAttributeNode(t))&&n.specified?n.value:null},t.escape=function(e){return(e+"").replace(xe,Se)},t.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},t.uniqueSort=function(e){var t,l=[],n=0,r=0;if(A=!w.detectDuplicates,T=!w.sortStable&&e.slice(0),e.sort($),A){for(;t=e[r++];)t===e[r]&&(n=l.push(r));for(;n--;)e.splice(l[n],1)}return T=null,e},S=t.getText=function(e){var t,l="",n=0,r=e.nodeType;if(r){if(1===r||9===r||11===r){if("string"===typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)l+=S(e)}else if(3===r||4===r)return e.nodeValue}else for(;t=e[n++];)l+=S(t);return l},(x=t.selectors={cacheLength:50,createPseudo:n,match:fe,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(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,l=!e[6]&&e[2];return fe.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":l&&ue.test(l)&&(t=k(l,!0))&&(t=l.indexOf(")",l.length-t)-l.length)&&(e[0]=e[0].slice(0,t),e[2]=l.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(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,l,n){return function(r){var a=t.attr(r,e);return null==a?"!="===l:!l||(a+="","="===l?a===n:"!="===l?a!==n:"^="===l?n&&0===a.indexOf(n):"*="===l?n&&a.indexOf(n)>-1:"$="===l?n&&a.slice(-n.length)===n:"~="===l?(" "+a.replace(ae," ")+" ").indexOf(n)>-1:"|="===l&&(a===n||a.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,l,n,r){var a="nth"!==e.slice(0,3),o="last"!==e.slice(-4),i="of-type"===t;return 1===n&&0===r?function(e){return!!e.parentNode}:function(t,l,s){var c,u,d,f,p,h,m=a!==o?"nextSibling":"previousSibling",g=t.parentNode,b=i&&t.nodeName.toLowerCase(),v=!s&&!i,y=!1;if(g){if(a){for(;m;){for(f=t;f=f[m];)if(i?f.nodeName.toLowerCase()===b:1===f.nodeType)return!1;h=m="only"===e&&!h&&"nextSibling"}return!0}if(h=[o?g.firstChild:g.lastChild],o&&v){for(y=(p=(c=(u=(d=(f=g)[L]||(f[L]={}))[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(v&&(y=p=(c=(u=(d=(f=t)[L]||(f[L]={}))[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()!==b:1!==f.nodeType)||!++y||(v&&((u=(d=f[L]||(f[L]={}))[f.uniqueID]||(d[f.uniqueID]={}))[e]=[z,y]),f!==t)););return(y-=r)===n||y%n===0&&y/n>=0}}},PSEUDO:function(e,l){var r,a=x.pseudos[e]||x.setFilters[e.toLowerCase()]||t.error("unsupported pseudo: "+e);return a[L]?a(l):a.length>1?(r=[e,e,"",l],x.setFilters.hasOwnProperty(e.toLowerCase())?n((function(e,t){for(var n,r=a(e,l),o=r.length;o--;)e[n=Q(e,r[o])]=!(t[n]=r[o])})):function(e){return a(e,0,r)}):a}},pseudos:{not:n((function(e){var t=[],l=[],r=_(e.replace(oe,"$1"));return r[L]?n((function(e,t,l,n){for(var a,o=r(e,null,n,[]),i=e.length;i--;)(a=o[i])&&(e[i]=!(t[i]=a))})):function(e,n,a){return t[0]=e,r(t,null,a,l),t[0]=null,!l.pop()}})),has:n((function(e){return function(l){return t(e,l).length>0}})),contains:n((function(e){return e=e.replace(ye,we),function(t){return(t.textContent||S(t)).indexOf(e)>-1}})),lang:n((function(e){return de.test(e||"")||t.error("unsupported lang: "+e),e=e.replace(ye,we).toLowerCase(),function(t){var l;do{if(l=R?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(l=l.toLowerCase())===e||0===l.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}})),target:function(t){var l=e.location&&e.location.hash;return l&&l.slice(1)===t.id},root:function(e){return e===D},focus:function(e){return e===P.activeElement&&(!P.hasFocus||P.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:i(!1),disabled:i(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!x.pseudos.empty(e)},header:function(e){return me.test(e.nodeName)},input:function(e){return he.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:s((function(){return[0]})),last:s((function(e,t){return[t-1]})),eq:s((function(e,t,l){return[l<0?l+t:l]})),even:s((function(e,t){for(var l=0;lt?t:l;--n>=0;)e.push(n);return e})),gt:s((function(e,t,l){for(var n=l<0?l+t:l;++n2&&"ID"===(o=a[0]).type&&9===t.nodeType&&R&&x.relative[a[1].type]){if(!(t=(x.find.ID(o.matches[0].replace(ye,we),t)||[])[0]))return l;u&&(t=t.parentNode),e=e.slice(a.shift().value.length)}for(r=fe.needsContext.test(e)?0:a.length;r--&&(o=a[r],!x.relative[i=o.type]);)if((s=x.find[i])&&(n=s(o.matches[0].replace(ye,we),ve.test(a[0].type)&&c(t.parentNode)||t))){if(a.splice(r,1),!(e=n.length&&d(a)))return X.apply(l,n),l;break}}return(u||_(e,f))(n,t,!R,l,!t||ve.test(e)&&c(t.parentNode)||t),l},w.sortStable=L.split("").sort($).join("")===L,w.detectDuplicates=!!A,M(),w.sortDetached=r((function(e){return 1&e.compareDocumentPosition(P.createElement("fieldset"))})),r((function(e){return e.innerHTML="","#"===e.firstChild.getAttribute("href")}))||a("type|href|height|width",(function(e,t,l){if(!l)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)})),w.attributes&&r((function(e){return e.innerHTML="",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")}))||a("value",(function(e,t,l){if(!l&&"input"===e.nodeName.toLowerCase())return e.defaultValue})),r((function(e){return null==e.getAttribute("disabled")}))||a(ee,(function(e,t,l){var n;if(!l)return!0===e[t]?t.toLowerCase():(n=e.getAttributeNode(t))&&n.specified?n.value:null})),t}(l);ve.find=we,ve.expr=we.selectors,ve.expr[":"]=ve.expr.pseudos,ve.uniqueSort=ve.unique=we.uniqueSort,ve.text=we.getText,ve.isXMLDoc=we.isXML,ve.contains=we.contains,ve.escapeSelector=we.escape;var xe=function(e,t,l){for(var n=[],r=void 0!==l;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(r&&ve(e).is(l))break;n.push(e)}return n},Se=function(e,t){for(var l=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&l.push(e);return l},Ce=ve.expr.match.needsContext,ke=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;ve.filter=function(e,t,l){var n=t[0];return l&&(e=":not("+e+")"),1===t.length&&1===n.nodeType?ve.find.matchesSelector(n,e)?[n]:[]:ve.find.matches(e,ve.grep(t,(function(e){return 1===e.nodeType})))},ve.fn.extend({find:function(e){var t,l,n=this.length,r=this;if("string"!==typeof e)return this.pushStack(ve(e).filter((function(){for(t=0;t1?ve.uniqueSort(l):l},filter:function(e){return this.pushStack(c(this,e||[],!1))},not:function(e){return this.pushStack(c(this,e||[],!0))},is:function(e){return!!c(this,"string"===typeof e&&Ce.test(e)?ve(e):e||[],!1).length}});var _e,Ee=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(ve.fn.init=function(e,t,l){var n,r;if(!e)return this;if(l=l||_e,"string"===typeof e){if(!(n="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:Ee.exec(e))||!n[1]&&t)return!t||t.jquery?(t||l).find(e):this.constructor(t).find(e);if(n[1]){if(t=t instanceof ve?t[0]:t,ve.merge(this,ve.parseHTML(n[1],t&&t.nodeType?t.ownerDocument||t:ne,!0)),ke.test(n[1])&&ve.isPlainObject(t))for(n in t)me(this[n])?this[n](t[n]):this.attr(n,t[n]);return this}return(r=ne.getElementById(n[2]))&&(this[0]=r,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):me(e)?void 0!==l.ready?l.ready(e):e(ve):ve.makeArray(e,this)}).prototype=ve.fn,_e=ve(ne);var Oe=/^(?:parents|prev(?:Until|All))/,Te={children:!0,contents:!0,next:!0,prev:!0};ve.fn.extend({has:function(e){var t=ve(e,this),l=t.length;return this.filter((function(){for(var e=0;e-1:1===l.nodeType&&ve.find.matchesSelector(l,e))){a.push(l);break}return this.pushStack(a.length>1?ve.uniqueSort(a):a)},index:function(e){return e?"string"===typeof e?se.call(ve(e),this[0]):se.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(ve.uniqueSort(ve.merge(this.get(),ve(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),ve.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return xe(e,"parentNode")},parentsUntil:function(e,t,l){return xe(e,"parentNode",l)},next:function(e){return u(e,"nextSibling")},prev:function(e){return u(e,"previousSibling")},nextAll:function(e){return xe(e,"nextSibling")},prevAll:function(e){return xe(e,"previousSibling")},nextUntil:function(e,t,l){return xe(e,"nextSibling",l)},prevUntil:function(e,t,l){return xe(e,"previousSibling",l)},siblings:function(e){return Se((e.parentNode||{}).firstChild,e)},children:function(e){return Se(e.firstChild)},contents:function(e){return"undefined"!==typeof e.contentDocument?e.contentDocument:(s(e,"template")&&(e=e.content||e),ve.merge([],e.childNodes))}},(function(e,t){ve.fn[e]=function(l,n){var r=ve.map(this,t,l);return"Until"!==e.slice(-5)&&(n=l),n&&"string"===typeof n&&(r=ve.filter(n,r)),this.length>1&&(Te[e]||ve.uniqueSort(r),Oe.test(e)&&r.reverse()),this.pushStack(r)}}));var Ae=/[^\x20\t\r\n\f]+/g;ve.Callbacks=function(e){e="string"===typeof e?function(e){var t={};return ve.each(e.match(Ae)||[],(function(e,l){t[l]=!0})),t}(e):ve.extend({},e);var t,l,n,r,a=[],i=[],s=-1,c=function(){for(r=r||e.once,n=t=!0;i.length;s=-1)for(l=i.shift();++s-1;)a.splice(l,1),l<=s&&s--})),this},has:function(e){return e?ve.inArray(e,a)>-1:a.length>0},empty:function(){return a&&(a=[]),this},disable:function(){return r=i=[],a=l="",this},disabled:function(){return!a},lock:function(){return r=i=[],l||t||(a=l=""),this},locked:function(){return!!r},fireWith:function(e,l){return r||(l=[e,(l=l||[]).slice?l.slice():l],i.push(l),t||c()),this},fire:function(){return u.fireWith(this,arguments),this},fired:function(){return!!n}};return u},ve.extend({Deferred:function(e){var t=[["notify","progress",ve.Callbacks("memory"),ve.Callbacks("memory"),2],["resolve","done",ve.Callbacks("once memory"),ve.Callbacks("once memory"),0,"resolved"],["reject","fail",ve.Callbacks("once memory"),ve.Callbacks("once memory"),1,"rejected"]],n="pending",r={state:function(){return n},always:function(){return a.done(arguments).fail(arguments),this},catch:function(e){return r.then(null,e)},pipe:function(){var e=arguments;return ve.Deferred((function(l){ve.each(t,(function(t,n){var r=me(e[n[4]])&&e[n[4]];a[n[1]]((function(){var e=r&&r.apply(this,arguments);e&&me(e.promise)?e.promise().progress(l.notify).done(l.resolve).fail(l.reject):l[n[0]+"With"](this,r?[e]:arguments)}))})),e=null})).promise()},then:function(e,n,r){function a(e,t,n,r){return function(){var i=this,s=arguments,c=function(){var l,c;if(!(e=o&&(n!==f&&(i=void 0,s=[l]),t.rejectWith(i,s))}};e?u():(ve.Deferred.getStackHook&&(u.stackTrace=ve.Deferred.getStackHook()),l.setTimeout(u))}}var o=0;return ve.Deferred((function(l){t[0][3].add(a(0,l,me(r)?r:d,l.notifyWith)),t[1][3].add(a(0,l,me(e)?e:d)),t[2][3].add(a(0,l,me(n)?n:f))})).promise()},promise:function(e){return null!=e?ve.extend(e,r):r}},a={};return ve.each(t,(function(e,l){var o=l[2],i=l[5];r[l[1]]=o.add,i&&o.add((function(){n=i}),t[3-e][2].disable,t[3-e][3].disable,t[0][2].lock,t[0][3].lock),o.add(l[3].fire),a[l[0]]=function(){return a[l[0]+"With"](this===a?void 0:this,arguments),this},a[l[0]+"With"]=o.fireWith})),r.promise(a),e&&e.call(a,a),a},when:function(e){var t=arguments.length,l=t,n=Array(l),r=ae.call(arguments),a=ve.Deferred(),o=function(e){return function(l){n[e]=this,r[e]=arguments.length>1?ae.call(arguments):l,--t||a.resolveWith(n,r)}};if(t<=1&&(p(e,a.done(o(l)).resolve,a.reject,!t),"pending"===a.state()||me(r[l]&&r[l].then)))return a.then();for(;l--;)p(r[l],o(l),a.reject);return a.promise()}});var Me=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;ve.Deferred.exceptionHook=function(e,t){l.console&&l.console.warn&&e&&Me.test(e.name)&&l.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},ve.readyException=function(e){l.setTimeout((function(){throw e}))};var Pe=ve.Deferred();ve.fn.ready=function(e){return Pe.then(e).catch((function(e){ve.readyException(e)})),this},ve.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--ve.readyWait:ve.isReady)||(ve.isReady=!0,!0!==e&&--ve.readyWait>0||Pe.resolveWith(ne,[ve]))}}),ve.ready.then=Pe.then,"complete"===ne.readyState||"loading"!==ne.readyState&&!ne.documentElement.doScroll?l.setTimeout(ve.ready):(ne.addEventListener("DOMContentLoaded",h),l.addEventListener("load",h));var De=function(e,t,l,n,r,a,i){var s=0,c=e.length,u=null==l;if("object"===o(l))for(s in r=!0,l)De(e,t,s,l[s],!0,a,i);else if(void 0!==n&&(r=!0,me(n)||(i=!0),u&&(i?(t.call(e,n),t=null):(u=t,t=function(e,t,l){return u.call(ve(e),l)})),t))for(;s1,null,!0)},removeData:function(e){return this.each((function(){je.remove(this,e)}))}}),ve.extend({queue:function(e,t,l){var n;if(e)return t=(t||"fx")+"queue",n=Ie.get(e,t),l&&(!n||Array.isArray(l)?n=Ie.access(e,t,ve.makeArray(l)):n.push(l)),n||[]},dequeue:function(e,t){t=t||"fx";var l=ve.queue(e,t),n=l.length,r=l.shift(),a=ve._queueHooks(e,t);"inprogress"===r&&(r=l.shift(),n--),r&&("fx"===t&&l.unshift("inprogress"),delete a.stop,r.call(e,(function(){ve.dequeue(e,t)}),a)),!n&&a&&a.empty.fire()},_queueHooks:function(e,t){var l=t+"queueHooks";return Ie.get(e,l)||Ie.access(e,l,{empty:ve.Callbacks("once memory").add((function(){Ie.remove(e,[t+"queue",l])}))})}}),ve.fn.extend({queue:function(e,t){var l=2;return"string"!==typeof e&&(t=e,e="fx",l--),arguments.length\x20\t\r\n\f]*)/i,Xe=/^$|^module$|\/(?:java|ecma)script/i,Je={option:[1,""],thead:[1,"","
    "],col:[2,"","
    "],tr:[2,"","
    "],td:[3,"","
    "],_default:[0,"",""]};Je.optgroup=Je.option,Je.tbody=Je.tfoot=Je.colgroup=Je.caption=Je.thead,Je.th=Je.td;var Qe=/<|&#?\w+;/;!function(){var e=ne.createDocumentFragment().appendChild(ne.createElement("div")),t=ne.createElement("input");t.setAttribute("type","radio"),t.setAttribute("checked","checked"),t.setAttribute("name","t"),e.appendChild(t),he.checkClone=e.cloneNode(!0).cloneNode(!0).lastChild.checked,e.innerHTML="",he.noCloneChecked=!!e.cloneNode(!0).lastChild.defaultValue}();var et=/^key/,tt=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,lt=/^([^.]*)(?:\.(.+)|)/;ve.event={global:{},add:function(e,t,l,n,r){var a,o,i,s,c,u,d,f,p,h,m,g=Ie.get(e);if(g)for(l.handler&&(l=(a=l).handler,r=a.selector),r&&ve.find.matchesSelector(He,r),l.guid||(l.guid=ve.guid++),(s=g.events)||(s=g.events={}),(o=g.handle)||(o=g.handle=function(t){return"undefined"!==typeof ve&&ve.event.triggered!==t.type?ve.event.dispatch.apply(e,arguments):void 0}),c=(t=(t||"").match(Ae)||[""]).length;c--;)p=m=(i=lt.exec(t[c])||[])[1],h=(i[2]||"").split(".").sort(),p&&(d=ve.event.special[p]||{},p=(r?d.delegateType:d.bindType)||p,d=ve.event.special[p]||{},u=ve.extend({type:p,origType:m,data:n,handler:l,guid:l.guid,selector:r,needsContext:r&&ve.expr.match.needsContext.test(r),namespace:h.join(".")},a),(f=s[p])||((f=s[p]=[]).delegateCount=0,d.setup&&!1!==d.setup.call(e,n,h,o)||e.addEventListener&&e.addEventListener(p,o)),d.add&&(d.add.call(e,u),u.handler.guid||(u.handler.guid=l.guid)),r?f.splice(f.delegateCount++,0,u):f.push(u),ve.event.global[p]=!0)},remove:function(e,t,l,n,r){var a,o,i,s,c,u,d,f,p,h,m,g=Ie.hasData(e)&&Ie.get(e);if(g&&(s=g.events)){for(c=(t=(t||"").match(Ae)||[""]).length;c--;)if(p=m=(i=lt.exec(t[c])||[])[1],h=(i[2]||"").split(".").sort(),p){for(d=ve.event.special[p]||{},f=s[p=(n?d.delegateType:d.bindType)||p]||[],i=i[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),o=a=f.length;a--;)u=f[a],!r&&m!==u.origType||l&&l.guid!==u.guid||i&&!i.test(u.namespace)||n&&n!==u.selector&&("**"!==n||!u.selector)||(f.splice(a,1),u.selector&&f.delegateCount--,d.remove&&d.remove.call(e,u));o&&!f.length&&(d.teardown&&!1!==d.teardown.call(e,h,g.handle)||ve.removeEvent(e,p,g.handle),delete s[p])}else for(p in s)ve.event.remove(e,p+t[c],l,n,!0);ve.isEmptyObject(s)&&Ie.remove(e,"handle events")}},dispatch:function(e){var t,l,n,r,a,o,i=ve.event.fix(e),s=new Array(arguments.length),c=(Ie.get(this,"events")||{})[i.type]||[],u=ve.event.special[i.type]||{};for(s[0]=i,t=1;t=1))for(;c!==this;c=c.parentNode||this)if(1===c.nodeType&&("click"!==e.type||!0!==c.disabled)){for(a=[],o={},l=0;l-1:ve.find(r,this,null,[c]).length),o[r]&&a.push(n);a.length&&i.push({elem:c,handlers:a})}return c=this,s\x20\t\r\n\f]*)[^>]*)\/>/gi,rt=/\s*$/g;ve.extend({htmlPrefilter:function(e){return e.replace(nt,"<$1>")},clone:function(e,t,l){var n,r,a,o,i=e.cloneNode(!0),s=We(e);if(!he.noCloneChecked&&(1===e.nodeType||11===e.nodeType)&&!ve.isXMLDoc(e))for(o=S(i),n=0,r=(a=S(e)).length;n0&&C(o,!s&&S(e,"script")),i},cleanData:function(e){for(var t,l,n,r=ve.event.special,a=0;void 0!==(l=e[a]);a++)if(Be(l)){if(t=l[Ie.expando]){if(t.events)for(n in t.events)r[n]?ve.event.remove(l,n):ve.removeEvent(l,n,t.handle);l[Ie.expando]=void 0}l[je.expando]&&(l[je.expando]=void 0)}}}),ve.fn.extend({detach:function(e){return I(this,e,!0)},remove:function(e){return I(this,e)},text:function(e){return De(this,(function(e){return void 0===e?ve.text(this):this.empty().each((function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)}))}),null,e,arguments.length)},append:function(){return B(this,arguments,(function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||M(this,e).appendChild(e)}))},prepend:function(){return B(this,arguments,(function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=M(this,e);t.insertBefore(e,t.firstChild)}}))},before:function(){return B(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this)}))},after:function(){return B(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)}))},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(ve.cleanData(S(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map((function(){return ve.clone(this,e,t)}))},html:function(e){return De(this,(function(e){var t=this[0]||{},l=0,n=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"===typeof e&&!rt.test(e)&&!Je[(Ye.exec(e)||["",""])[1].toLowerCase()]){e=ve.htmlPrefilter(e);try{for(;l1)}}),ve.Tween=H,H.prototype={constructor:H,init:function(e,t,l,n,r,a){this.elem=e,this.prop=l,this.easing=r||ve.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=n,this.unit=a||(ve.cssNumber[l]?"":"px")},cur:function(){var e=H.propHooks[this.prop];return e&&e.get?e.get(this):H.propHooks._default.get(this)},run:function(e){var t,l=H.propHooks[this.prop];return this.options.duration?this.pos=t=ve.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),l&&l.set?l.set(this):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=ve.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){ve.fx.step[e.prop]?ve.fx.step[e.prop](e):1!==e.elem.nodeType||!ve.cssHooks[e.prop]&&null==e.elem.style[F(e.prop)]?e.elem[e.prop]=e.now:ve.style(e.elem,e.prop,e.now+e.unit)}}},H.propHooks.scrollTop=H.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},ve.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},ve.fx=H.prototype.init,ve.fx.step={};var bt,vt,yt=/^(?:toggle|show|hide)$/,wt=/queueHooks$/;ve.Animation=ve.extend(q,{tweeners:{"*":[function(e,t){var l=this.createTween(e,t);return y(l.elem,e,Ue.exec(t),l),l}]},tweener:function(e,t){me(e)?(t=e,e=["*"]):e=e.match(Ae);for(var l,n=0,r=e.length;n1)},removeAttr:function(e){return this.each((function(){ve.removeAttr(this,e)}))}}),ve.extend({attr:function(e,t,l){var n,r,a=e.nodeType;if(3!==a&&8!==a&&2!==a)return"undefined"===typeof e.getAttribute?ve.prop(e,t,l):(1===a&&ve.isXMLDoc(e)||(r=ve.attrHooks[t.toLowerCase()]||(ve.expr.match.bool.test(t)?xt:void 0)),void 0!==l?null===l?void ve.removeAttr(e,t):r&&"set"in r&&void 0!==(n=r.set(e,l,t))?n:(e.setAttribute(t,l+""),l):r&&"get"in r&&null!==(n=r.get(e,t))?n:null==(n=ve.find.attr(e,t))?void 0:n)},attrHooks:{type:{set:function(e,t){if(!he.radioValue&&"radio"===t&&s(e,"input")){var l=e.value;return e.setAttribute("type",t),l&&(e.value=l),t}}}},removeAttr:function(e,t){var l,n=0,r=t&&t.match(Ae);if(r&&1===e.nodeType)for(;l=r[n++];)e.removeAttribute(l)}}),xt={set:function(e,t,l){return!1===t?ve.removeAttr(e,l):e.setAttribute(l,l),l}},ve.each(ve.expr.match.bool.source.match(/\w+/g),(function(e,t){var l=St[t]||ve.find.attr;St[t]=function(e,t,n){var r,a,o=t.toLowerCase();return n||(a=St[o],St[o]=r,r=null!=l(e,t,n)?o:null,St[o]=a),r}}));var Ct=/^(?:input|select|textarea|button)$/i,kt=/^(?:a|area)$/i;ve.fn.extend({prop:function(e,t){return De(this,ve.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each((function(){delete this[ve.propFix[e]||e]}))}}),ve.extend({prop:function(e,t,l){var n,r,a=e.nodeType;if(3!==a&&8!==a&&2!==a)return 1===a&&ve.isXMLDoc(e)||(t=ve.propFix[t]||t,r=ve.propHooks[t]),void 0!==l?r&&"set"in r&&void 0!==(n=r.set(e,l,t))?n:e[t]=l:r&&"get"in r&&null!==(n=r.get(e,t))?n:e[t]},propHooks:{tabIndex:{get:function(e){var t=ve.find.attr(e,"tabindex");return t?parseInt(t,10):Ct.test(e.nodeName)||kt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),he.optSelected||(ve.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),ve.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){ve.propFix[this.toLowerCase()]=this})),ve.fn.extend({addClass:function(e){var t,l,n,r,a,o,i,s=0;if(me(e))return this.each((function(t){ve(this).addClass(e.call(this,t,Y(this)))}));if((t=X(e)).length)for(;l=this[s++];)if(r=Y(l),n=1===l.nodeType&&" "+K(r)+" "){for(o=0;a=t[o++];)n.indexOf(" "+a+" ")<0&&(n+=a+" ");r!==(i=K(n))&&l.setAttribute("class",i)}return this},removeClass:function(e){var t,l,n,r,a,o,i,s=0;if(me(e))return this.each((function(t){ve(this).removeClass(e.call(this,t,Y(this)))}));if(!arguments.length)return this.attr("class","");if((t=X(e)).length)for(;l=this[s++];)if(r=Y(l),n=1===l.nodeType&&" "+K(r)+" "){for(o=0;a=t[o++];)for(;n.indexOf(" "+a+" ")>-1;)n=n.replace(" "+a+" "," ");r!==(i=K(n))&&l.setAttribute("class",i)}return this},toggleClass:function(e,t){var l=typeof e,n="string"===l||Array.isArray(e);return"boolean"===typeof t&&n?t?this.addClass(e):this.removeClass(e):me(e)?this.each((function(l){ve(this).toggleClass(e.call(this,l,Y(this),t),t)})):this.each((function(){var t,r,a,o;if(n)for(r=0,a=ve(this),o=X(e);t=o[r++];)a.hasClass(t)?a.removeClass(t):a.addClass(t);else void 0!==e&&"boolean"!==l||((t=Y(this))&&Ie.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||!1===e?"":Ie.get(this,"__className__")||""))}))},hasClass:function(e){var t,l,n=0;for(t=" "+e+" ";l=this[n++];)if(1===l.nodeType&&(" "+K(Y(l))+" ").indexOf(t)>-1)return!0;return!1}});var _t=/\r/g;ve.fn.extend({val:function(e){var t,l,n,r=this[0];return arguments.length?(n=me(e),this.each((function(l){var r;1===this.nodeType&&(null==(r=n?e.call(this,l,ve(this).val()):e)?r="":"number"===typeof r?r+="":Array.isArray(r)&&(r=ve.map(r,(function(e){return null==e?"":e+""}))),(t=ve.valHooks[this.type]||ve.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,r,"value")||(this.value=r))}))):r?(t=ve.valHooks[r.type]||ve.valHooks[r.nodeName.toLowerCase()])&&"get"in t&&void 0!==(l=t.get(r,"value"))?l:"string"===typeof(l=r.value)?l.replace(_t,""):null==l?"":l:void 0}}),ve.extend({valHooks:{option:{get:function(e){var t=ve.find.attr(e,"value");return null!=t?t:K(ve.text(e))}},select:{get:function(e){var t,l,n,r=e.options,a=e.selectedIndex,o="select-one"===e.type,i=o?null:[],c=o?a+1:r.length;for(n=a<0?c:o?a:0;n-1)&&(l=!0);return l||(e.selectedIndex=-1),a}}}}),ve.each(["radio","checkbox"],(function(){ve.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=ve.inArray(ve(e).val(),t)>-1}},he.checkOn||(ve.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})})),he.focusin="onfocusin"in l;var Et=/^(?:focusinfocus|focusoutblur)$/,Ot=function(e){e.stopPropagation()};ve.extend(ve.event,{trigger:function(e,t,n,r){var a,o,i,s,c,u,d,f,p=[n||ne],h=de.call(e,"type")?e.type:e,m=de.call(e,"namespace")?e.namespace.split("."):[];if(o=f=i=n=n||ne,3!==n.nodeType&&8!==n.nodeType&&!Et.test(h+ve.event.triggered)&&(h.indexOf(".")>-1&&(m=h.split("."),h=m.shift(),m.sort()),c=h.indexOf(":")<0&&"on"+h,(e=e[ve.expando]?e:new ve.Event(h,"object"===typeof e&&e)).isTrigger=r?2:3,e.namespace=m.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+m.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=null==t?[e]:ve.makeArray(t,[e]),d=ve.event.special[h]||{},r||!d.trigger||!1!==d.trigger.apply(n,t))){if(!r&&!d.noBubble&&!ge(n)){for(s=d.delegateType||h,Et.test(s+h)||(o=o.parentNode);o;o=o.parentNode)p.push(o),i=o;i===(n.ownerDocument||ne)&&p.push(i.defaultView||i.parentWindow||l)}for(a=0;(o=p[a++])&&!e.isPropagationStopped();)f=o,e.type=a>1?s:d.bindType||h,(u=(Ie.get(o,"events")||{})[e.type]&&Ie.get(o,"handle"))&&u.apply(o,t),(u=c&&o[c])&&u.apply&&Be(o)&&(e.result=u.apply(o,t),!1===e.result&&e.preventDefault());return e.type=h,r||e.isDefaultPrevented()||d._default&&!1!==d._default.apply(p.pop(),t)||!Be(n)||c&&me(n[h])&&!ge(n)&&((i=n[c])&&(n[c]=null),ve.event.triggered=h,e.isPropagationStopped()&&f.addEventListener(h,Ot),n[h](),e.isPropagationStopped()&&f.removeEventListener(h,Ot),ve.event.triggered=void 0,i&&(n[c]=i)),e.result}},simulate:function(e,t,l){var n=ve.extend(new ve.Event,l,{type:e,isSimulated:!0});ve.event.trigger(n,null,t)}}),ve.fn.extend({trigger:function(e,t){return this.each((function(){ve.event.trigger(e,t,this)}))},triggerHandler:function(e,t){var l=this[0];if(l)return ve.event.trigger(e,t,l,!0)}}),he.focusin||ve.each({focus:"focusin",blur:"focusout"},(function(e,t){var l=function(e){ve.event.simulate(t,e.target,ve.event.fix(e))};ve.event.special[t]={setup:function(){var n=this.ownerDocument||this,r=Ie.access(n,t);r||n.addEventListener(e,l,!0),Ie.access(n,t,(r||0)+1)},teardown:function(){var n=this.ownerDocument||this,r=Ie.access(n,t)-1;r?Ie.access(n,t,r):(n.removeEventListener(e,l,!0),Ie.remove(n,t))}}}));var Tt=l.location,At=Date.now(),Mt=/\?/;ve.parseXML=function(e){var t;if(!e||"string"!==typeof e)return null;try{t=(new l.DOMParser).parseFromString(e,"text/xml")}catch(e){t=void 0}return t&&!t.getElementsByTagName("parsererror").length||ve.error("Invalid XML: "+e),t};var Pt=/\[\]$/,Dt=/\r?\n/g,Rt=/^(?:submit|button|image|reset|file)$/i,Nt=/^(?:input|select|textarea|keygen)/i;ve.param=function(e,t){var l,n=[],r=function(e,t){var l=me(t)?t():t;n[n.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==l?"":l)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!ve.isPlainObject(e))ve.each(e,(function(){r(this.name,this.value)}));else for(l in e)J(l,e[l],t,r);return n.join("&")},ve.fn.extend({serialize:function(){return ve.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var e=ve.prop(this,"elements");return e?ve.makeArray(e):this})).filter((function(){var e=this.type;return this.name&&!ve(this).is(":disabled")&&Nt.test(this.nodeName)&&!Rt.test(e)&&(this.checked||!Ke.test(e))})).map((function(e,t){var l=ve(this).val();return null==l?null:Array.isArray(l)?ve.map(l,(function(e){return{name:t.name,value:e.replace(Dt,"\r\n")}})):{name:t.name,value:l.replace(Dt,"\r\n")}})).get()}});var Bt=/%20/g,It=/#.*$/,jt=/([?&])_=[^&]*/,Lt=/^(.*?):[ \t]*([^\r\n]*)$/gm,Ft=/^(?:GET|HEAD)$/,zt=/^\/\//,Ut={},Vt={},Ht="*/".concat("*"),Wt=ne.createElement("a");Wt.href=Tt.href,ve.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Tt.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Tt.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":ve.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?te(te(e,ve.ajaxSettings),t):te(ve.ajaxSettings,e)},ajaxPrefilter:Q(Ut),ajaxTransport:Q(Vt),ajax:function(e,t){function n(e,t,n,i){var c,f,p,w,x,S=t;u||(u=!0,s&&l.clearTimeout(s),r=void 0,o=i||"",C.readyState=e>0?4:0,c=e>=200&&e<300||304===e,n&&(w=function(e,t,l){for(var n,r,a,o,i=e.contents,s=e.dataTypes;"*"===s[0];)s.shift(),void 0===n&&(n=e.mimeType||t.getResponseHeader("Content-Type"));if(n)for(r in i)if(i[r]&&i[r].test(n)){s.unshift(r);break}if(s[0]in l)a=s[0];else{for(r in l){if(!s[0]||e.converters[r+" "+s[0]]){a=r;break}o||(o=r)}a=a||o}if(a)return a!==s[0]&&s.unshift(a),l[a]}(h,C,n)),w=function(e,t,l,n){var r,a,o,i,s,c={},u=e.dataTypes.slice();if(u[1])for(o in e.converters)c[o.toLowerCase()]=e.converters[o];for(a=u.shift();a;)if(e.responseFields[a]&&(l[e.responseFields[a]]=t),!s&&n&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),s=a,a=u.shift())if("*"===a)a=s;else if("*"!==s&&s!==a){if(!(o=c[s+" "+a]||c["* "+a]))for(r in c)if((i=r.split(" "))[1]===a&&(o=c[s+" "+i[0]]||c["* "+i[0]])){!0===o?o=c[r]:!0!==c[r]&&(a=i[0],u.unshift(i[1]));break}if(!0!==o)if(o&&e.throws)t=o(t);else try{t=o(t)}catch(e){return{state:"parsererror",error:o?e:"No conversion from "+s+" to "+a}}}return{state:"success",data:t}}(h,w,C,c),c?(h.ifModified&&((x=C.getResponseHeader("Last-Modified"))&&(ve.lastModified[a]=x),(x=C.getResponseHeader("etag"))&&(ve.etag[a]=x)),204===e||"HEAD"===h.type?S="nocontent":304===e?S="notmodified":(S=w.state,f=w.data,c=!(p=w.error))):(p=S,!e&&S||(S="error",e<0&&(e=0))),C.status=e,C.statusText=(t||S)+"",c?b.resolveWith(m,[f,S,C]):b.rejectWith(m,[C,S,p]),C.statusCode(y),y=void 0,d&&g.trigger(c?"ajaxSuccess":"ajaxError",[C,h,c?f:p]),v.fireWith(m,[C,S]),d&&(g.trigger("ajaxComplete",[C,h]),--ve.active||ve.event.trigger("ajaxStop")))}"object"===typeof e&&(t=e,e=void 0),t=t||{};var r,a,o,i,s,c,u,d,f,p,h=ve.ajaxSetup({},t),m=h.context||h,g=h.context&&(m.nodeType||m.jquery)?ve(m):ve.event,b=ve.Deferred(),v=ve.Callbacks("once memory"),y=h.statusCode||{},w={},x={},S="canceled",C={readyState:0,getResponseHeader:function(e){var t;if(u){if(!i)for(i={};t=Lt.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)C.always(e[C.status]);else for(t in e)y[t]=[y[t],e[t]];return this},abort:function(e){var t=e||S;return r&&r.abort(t),n(0,t),this}};if(b.promise(C),h.url=((e||h.url||Tt.href)+"").replace(zt,Tt.protocol+"//"),h.type=t.method||t.type||h.method||h.type,h.dataTypes=(h.dataType||"*").toLowerCase().match(Ae)||[""],null==h.crossDomain){c=ne.createElement("a");try{c.href=h.url,c.href=c.href,h.crossDomain=Wt.protocol+"//"+Wt.host!==c.protocol+"//"+c.host}catch(e){h.crossDomain=!0}}if(h.data&&h.processData&&"string"!==typeof h.data&&(h.data=ve.param(h.data,h.traditional)),ee(Ut,h,t,C),u)return C;for(f in(d=ve.event&&h.global)&&0===ve.active++&&ve.event.trigger("ajaxStart"),h.type=h.type.toUpperCase(),h.hasContent=!Ft.test(h.type),a=h.url.replace(It,""),h.hasContent?h.data&&h.processData&&0===(h.contentType||"").indexOf("application/x-www-form-urlencoded")&&(h.data=h.data.replace(Bt,"+")):(p=h.url.slice(a.length),h.data&&(h.processData||"string"===typeof h.data)&&(a+=(Mt.test(a)?"&":"?")+h.data,delete h.data),!1===h.cache&&(a=a.replace(jt,"$1"),p=(Mt.test(a)?"&":"?")+"_="+At+++p),h.url=a+p),h.ifModified&&(ve.lastModified[a]&&C.setRequestHeader("If-Modified-Since",ve.lastModified[a]),ve.etag[a]&&C.setRequestHeader("If-None-Match",ve.etag[a])),(h.data&&h.hasContent&&!1!==h.contentType||t.contentType)&&C.setRequestHeader("Content-Type",h.contentType),C.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)C.setRequestHeader(f,h.headers[f]);if(h.beforeSend&&(!1===h.beforeSend.call(m,C,h)||u))return C.abort();if(S="abort",v.add(h.complete),C.done(h.success),C.fail(h.error),r=ee(Vt,h,t,C)){if(C.readyState=1,d&&g.trigger("ajaxSend",[C,h]),u)return C;h.async&&h.timeout>0&&(s=l.setTimeout((function(){C.abort("timeout")}),h.timeout));try{u=!1,r.send(w,n)}catch(e){if(u)throw e;n(-1,e)}}else n(-1,"No Transport");return C},getJSON:function(e,t,l){return ve.get(e,t,l,"json")},getScript:function(e,t){return ve.get(e,void 0,t,"script")}}),ve.each(["get","post"],(function(e,t){ve[t]=function(e,l,n,r){return me(l)&&(r=r||n,n=l,l=void 0),ve.ajax(ve.extend({url:e,type:t,dataType:r,data:l,success:n},ve.isPlainObject(e)&&e))}})),ve._evalUrl=function(e,t){return ve.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){ve.globalEval(e,t)}})},ve.fn.extend({wrapAll:function(e){var t;return this[0]&&(me(e)&&(e=e.call(this[0])),t=ve(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map((function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e})).append(this)),this},wrapInner:function(e){return me(e)?this.each((function(t){ve(this).wrapInner(e.call(this,t))})):this.each((function(){var t=ve(this),l=t.contents();l.length?l.wrapAll(e):t.append(e)}))},wrap:function(e){var t=me(e);return this.each((function(l){ve(this).wrapAll(t?e.call(this,l):e)}))},unwrap:function(e){return this.parent(e).not("body").each((function(){ve(this).replaceWith(this.childNodes)})),this}}),ve.expr.pseudos.hidden=function(e){return!ve.expr.pseudos.visible(e)},ve.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},ve.ajaxSettings.xhr=function(){try{return new l.XMLHttpRequest}catch(e){}};var Zt={0:200,1223:204},$t=ve.ajaxSettings.xhr();he.cors=!!$t&&"withCredentials"in $t,he.ajax=$t=!!$t,ve.ajaxTransport((function(e){var t,n;if(he.cors||$t&&!e.crossDomain)return{send:function(r,a){var o,i=e.xhr();if(i.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(o in e.xhrFields)i[o]=e.xhrFields[o];for(o in e.mimeType&&i.overrideMimeType&&i.overrideMimeType(e.mimeType),e.crossDomain||r["X-Requested-With"]||(r["X-Requested-With"]="XMLHttpRequest"),r)i.setRequestHeader(o,r[o]);t=function(e){return function(){t&&(t=n=i.onload=i.onerror=i.onabort=i.ontimeout=i.onreadystatechange=null,"abort"===e?i.abort():"error"===e?"number"!==typeof i.status?a(0,"error"):a(i.status,i.statusText):a(Zt[i.status]||i.status,i.statusText,"text"!==(i.responseType||"text")||"string"!==typeof i.responseText?{binary:i.response}:{text:i.responseText},i.getAllResponseHeaders()))}},i.onload=t(),n=i.onerror=i.ontimeout=t("error"),void 0!==i.onabort?i.onabort=n:i.onreadystatechange=function(){4===i.readyState&&l.setTimeout((function(){t&&n()}))},t=t("abort");try{i.send(e.hasContent&&e.data||null)}catch(e){if(t)throw e}},abort:function(){t&&t()}}})),ve.ajaxPrefilter((function(e){e.crossDomain&&(e.contents.script=!1)})),ve.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return ve.globalEval(e),e}}}),ve.ajaxPrefilter("script",(function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")})),ve.ajaxTransport("script",(function(e){var t,l;if(e.crossDomain||e.scriptAttrs)return{send:function(n,r){t=ve("